:root {
    --ps-blue: #2563eb;
    --ps-ink: #0f172a;
    --ps-muted: #64748b;
    --ps-border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: Inter,sans-serif;
    line-height: 1.5;
    background: #f8fafc;
    color: #334155;
}

a,button,input,textarea {
    touch-action: manipulation;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
}

:is(h1,h2,h3):not(:where(.ps-maket *)) {
    color: var(--ps-ink);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

h1:not(:where(.ps-maket *)) {
    font-size: clamp(1.9rem,3.7vw,3rem);
    margin: 0 0 24px;
}

h2:not(:where(.ps-maket *)) {
    font-size: clamp(1.35rem,2.5vw,1.9rem);
    margin: 0 0 22px;
}

h3:not(:where(.ps-maket *)) {
    font-size: 1.15rem;
    margin: 0 0 16px;
}

p:not(:where(.ps-maket *)) {
    margin: 0 0 16px;
}

img {
    max-width: 100%;
}

.ps-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #0f172af5;
    color: #cbd5e1;
    border-bottom: 1px solid #1e293b;
    backdrop-filter: blur(12px);
}

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

.ps-header-inner {
    max-width: 1280px;
    margin: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 32px;
}

.ps-logo {
    flex-shrink: 0;
    display: inline-block;
}

.ps-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    padding: 0;
}

.ps-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    justify-content: center;
}

.ps-nav a {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 550;
}

.ps-nav a:hover {
    background: #1e293b;
    color: white;
}

.ps-nav .current {
    background: var(--ps-blue);
    color: white;
}

.ps-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 24px;
    border-left: 1px solid #1e293b;
    font: 500 14px/20px "JetBrains Mono",monospace;
    white-space: nowrap;
    color: #cbd5e1;
}

.ps-header-phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #3b82f6;
}

.ps-header-phone:hover {
    color: #60a5fa;
}

.ps-menu-toggle {
    display: none;
    color: white;
    font-size: 25px;
    padding: 4px 10px;
}

.ps-main {
    min-height: 60vh;
}

.ps-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
    color: var(--ps-muted);
    margin: 0 0 32px;
}

.ps-breadcrumbs a:hover {
    color: var(--ps-blue);
}

.ps-page-heading {
    max-width: 900px;
    margin: 20px 0 40px;
}

.ps-page-heading>p:last-child,.ps-lead {
    font-size: 17px;
    color: var(--ps-muted);
}

.ps-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--ps-blue);
    font-size: 11px;
    font-weight: 750;
    margin: 0 0 14px;
}

.ps-section {
    margin-top: 56px;
}

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

.ps-section-heading h2 {
    margin-bottom: 0;
}

.ps-panel {
    background: white;
    border: 1px solid var(--ps-border);
    padding: 32px;
    border-radius: 20px;
    min-width: 0;
}

.ps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ps-blue);
    color: white;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    text-align: center;
    transition: background .2s;
    line-height: 1.4;
}

.ps-button:hover {
    background: #1d4ed8;
}

.ps-button.secondary {
    background: #f1f5f9;
    color: #334155;
    border-color: var(--ps-border);
}

.ps-button.secondary:hover {
    background: #e2e8f0;
}

.ps-text-link {
    color: var(--ps-blue);
    font-size: 14px;
    font-weight: 650;
}

.ps-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.ps-chips a {
    padding: 8px 14px;
    border-radius: 24px;
    border: 1px solid var(--ps-border);
    background: white;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

.ps-chips a:hover,.ps-chips a[aria-current] {
    background: var(--ps-ink);
    color: white;
    border-color: var(--ps-ink);
}

.ps-catalog-filters {
    padding: 24px;
    border-radius: 16px;
    background: #eef2f7;
    margin-bottom: 24px;
}

.ps-catalog-filters h2 {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ps-catalog-filters .ps-chips:last-child {
    margin-bottom: 0;
}

.ps-search {
    margin: 0 0 32px;
}

.ps-search label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ps-search>div {
    display: flex;
    gap: 10px;
}

.ps-search input {
    flex: 1;
    min-width: 0;
}

.ps-search input,.ps-form input:not([type=checkbox]),.ps-form textarea {
    padding: 12px 14px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    width: 100%;
}

.ps-products {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 32px;
}

.ps-product-detail {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
    margin: 32px 0 48px;
}

.ps-detail-image {
    padding: 40px;
    border: 1px solid var(--ps-border);
    border-radius: 24px;
    background: white;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-detail-image img {
    width: 100%;
    height: 320px;
    object-fit: contain;
}

.ps-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0 32px;
}

.ps-small-heading {
    font-size: 13px;
    color: var(--ps-muted);
    margin: 0;
}

.ps-table-scroll {
    overflow-x: auto;
}

.ps-spec-table {
    width: 100%;
    font-size: 14px;
}

.ps-spec-table th,.ps-spec-table td {
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ps-border);
    vertical-align: top;
    overflow-wrap: anywhere;
}

.ps-spec-table th {
    width: 48%;
    font-weight: 500;
    color: var(--ps-muted);
}

.ps-spec-table tr:nth-child(odd) {
    background: #f8fafc;
}

.ps-documents {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.ps-documents li {
    margin-bottom: 10px;
}

.ps-documents a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ps-blue);
    padding: 14px 16px;
    background: #eff6ff;
    border-radius: 10px;
    font-size: 14px;
}

.ps-documents span {
    font-size: 11px;
    white-space: nowrap;
    color: #64748b;
}

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

.ps-doc-grid h2 {
    font-size: 22px;
}

.ps-doc-grid time {
    color: var(--ps-muted);
    font-size: 12px;
    display: block;
    margin-bottom: 14px;
}

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

.ps-solution {
    background: white;
    padding: 28px;
    border: 1px solid var(--ps-border);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.ps-solution:hover {
    border-color: #93c5fd;
}

.ps-solution p {
    font-size: 13px;
    color: var(--ps-muted);
    flex: 1;
}

.ps-solution-number {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 28px;
    font-family: monospace;
}

.ps-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
    border-radius: 24px;
    background: var(--ps-ink);
    color: #cbd5e1;
    margin-top: 56px;
}

.ps-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.ps-cta p {
    margin: 0;
}

.ps-cta .ps-button {
    flex-shrink: 0;
}

.ps-richtext p {
    margin: 16px 0;
}

.ps-richtext h2,.ps-richtext h3 {
    margin-top: 28px;
}

.ps-richtext ul {
    list-style: disc;
    padding-left: 24px;
}

.ps-form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.ps-form {
    display: grid;
    gap: 20px;
}

.ps-form>label {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.ps-form input,.ps-form textarea {
    margin-top: 6px;
    font-weight: 400;
}

.ps-form .ps-consent {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 12px;
    font-weight: 400;
}

.ps-consent a {
    text-decoration: underline;
}

.ps-selected-product {
    padding: 20px;
    border-radius: 12px;
    background: #eff6ff;
    display: grid;
    gap: 6px;
}

.ps-selected-product .ps-eyebrow {
    margin: 0;
}

.ps-selected-product a {
    color: var(--ps-blue);
    font-size: 12px;
}

.ps-honeypot {
    position: absolute;
    left: -10000px;
}

.ps-error {
    color: #991b1b;
    background: #fef2f2;
    padding: 18px;
    border-radius: 12px;
}

.ps-success {
    border-color: #86efac;
}

.ps-footer {
    margin-top: 64px;
    background: #020617;
    color: #94a3b8;
    padding: 48px 32px 24px;
    font-size: 13px;
}

.ps-footer-grid {
    max-width: 1216px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.ps-footer h2 {
    font-size: 16px;
    color: white;
}

.ps-footer .ps-logo {
    margin-bottom: 18px;
}

.ps-footer nav {
    display: grid;
    gap: 10px;
}

.ps-footer-bottom {
    max-width: 1216px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

.navigation.pagination {
    margin: 32px 0;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.page-numbers {
    padding: 8px 14px;
    border: 1px solid var(--ps-border);
    border-radius: 8px;
}

.page-numbers.current {
    background: var(--ps-blue);
    color: white;
}

.screen-reader-text,.ps-skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.ps-skip:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    background: white;
    color: var(--ps-ink);
    padding: 12px;
}

.ps-page-content .font-mono {
    overflow-wrap: anywhere;
}

@media(max-width:1100px) {
    .ps-header-phone {
        display: none;
    }

    .ps-header-inner {
        padding-inline: 24px;
    }

    .ps-product-detail {
        gap: 28px;
    }

}

@media(max-width:800px) {
    .ps-products,.ps-solutions {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ps-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a;
        padding: 16px;
        box-shadow: 0 15px 20px #0002;
    }

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

    .ps-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .ps-header-inner {
        min-height: 72px;
    }

    .ps-header-phone {
        display: block;
        margin-left: auto;
    }

    .ps-form-layout,.ps-product-detail {
        grid-template-columns: 1fr;
    }

    .ps-detail-image {
        min-height: 280px;
    }

    .ps-detail-image img {
        height: 260px;
    }

    .ps-cta {
        flex-direction: column;
        align-items: start;
    }

    .ps-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ps-footer-grid>div:first-child {
        grid-column: 1/-1;
    }

    .admin-bar .ps-header {
        top: 46px;
    }

}

@media(max-width:540px) {
    .ps-products,.ps-solutions,.ps-doc-grid {
        grid-template-columns: 1fr;
    }

    .ps-panel {
        padding: 22px;
    }

    .ps-search>div {
        flex-wrap: wrap;
    }

    .ps-search input {
        flex-basis: 100%;
    }

    .ps-header-inner {
        padding-inline: 16px;
        gap: 10px;
    }

    .ps-header-phone {
        font-size: 11px;
    }

    .ps-section {
        margin-top: 40px;
    }

    .ps-cta {
        padding: 28px;
    }

    .ps-footer-grid {
        grid-template-columns: 1fr;
    }

    .ps-footer-bottom {
        flex-direction: column;
    }

    .ps-documents a {
        flex-direction: column;
        gap: 4px;
    }

    .ps-spec-table th,.ps-spec-table td {
        padding: 12px;
        font-size: 12px;
    }

    .ps-breadcrumbs {
        font-size: 11px;
    }

    .ps-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .admin-bar .ps-header {
        top: 0;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none!important;
    }

}

.wpcf7 form>p {
    margin: 0 0 20px;
}

.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.wpcf7 .wpcf7-list-item {
    margin-left: 0;
}

.wpcf7 .wpcf7-acceptance label {
    font-size: 12px;
    font-weight: 400;
}

.wpcf7 .wpcf7-acceptance input {
    width: auto;
    margin-right: 8px;
}

.wpcf7 .wpcf7-submit {
    background: var(--ps-blue)!important;
    color: white;
    border: 0!important;
}

.ps-form-privacy {
    font-size: 12px;
}

.ps-nav .ps-menu-items {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-nav .ps-menu-items a {
    display: block;
}

.ps-nav .current-menu-item>a,.ps-nav .current-menu-ancestor>a {
    background: var(--ps-blue);
    color: white;
}

.ps-footer .ps-menu-items {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media(max-width:800px) {
    .ps-nav .ps-menu-items {
        display: grid;
        gap: 8px;
    }

}

/* Catalog breakpoints follow the supplied layout. */
@media(min-width:768px) and (max-width:1023px) {
    .ps-products {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

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

}

/* Mobile navigation matches the original layout, including the contact block. */
.ps-mobile-contacts,.ps-close-icon {
    display: none;
}

.ps-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.ps-menu-toggle[aria-expanded="true"] .ps-menu-icon {
    display: none;
}

.ps-menu-toggle[aria-expanded="true"] .ps-close-icon {
    display: block;
}

@media(max-width:800px) {
    .ps-header-inner {
        min-height: 80px;
        padding: 16px;
        justify-content: space-between;
    }

    .ps-header-phone {
        display: none;
    }

    .ps-menu-toggle {
        padding: 8px;
        color: #94a3b8;
        line-height: 1;
        border-radius: 8px;
    }

    .ps-nav {
        border-top: 1px solid #1e293b;
        padding: 8px 16px 24px;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
    }

    .ps-nav.is-open {
        display: block;
    }

    .ps-nav .ps-menu-items {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 4px;
        width: 100%;
    }

    .ps-nav>a,.ps-nav .ps-menu-items a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        text-align: left;
        border-radius: 8px;
        white-space: normal;
    }

    .ps-nav>a+a {
        margin-top: 4px;
    }

    .ps-mobile-contacts {
        display: grid;
        gap: 12px;
        margin-top: 16px;
        padding: 16px 16px 0;
        border-top: 1px solid #1e293b;
    }

    .ps-nav .ps-mobile-contacts a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        border-radius: 0;
        font: 14px/24px 'JetBrains Mono',monospace;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ps-mobile-contacts svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: #3b82f6;
    }

    .admin-bar .ps-nav {
        max-height: calc(100dvh - 126px);
    }

}

/* Active navigation stays blue in every interaction state. */
.ps-nav a.current,.ps-nav a.current:hover,.ps-nav a.current:focus-visible,
.ps-nav .current-menu-item>a,.ps-nav .current-menu-item>a:hover,.ps-nav .current-menu-item>a:focus-visible,
.ps-nav .current-menu-ancestor>a,.ps-nav .current-menu-ancestor>a:hover,.ps-nav .current-menu-ancestor>a:focus-visible {
    background: var(--ps-blue);
    color: #fff;
}

@media(min-width:801px) {
    .ps-nav a {
        font-size: 14px;
        font-weight: 500;
        padding: 8px 12px;
    }

}

body.ps-dialog-open {
    overflow: hidden;
}

.ps-dialog {
    margin: auto;
    width: min(640px,calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    color: #334155;
    box-shadow: 0 32px 100px #02061755;
    overflow-y: auto;
}

.ps-dialog::backdrop {
    background: #020617b3;
    backdrop-filter: blur(5px);
}

.ps-dialog-close {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ps-dialog-close:hover {
    background: #dbeafe;
    color: #2563eb;
}

.ps-dialog-intro {
    padding-right: 16px;
}

.ps-dialog-intro h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.ps-dialog-intro p {
    font-size: 14px;
    color: #64748b;
}

.ps-dialog-product {
    padding: 16px 20px;
    margin: 20px 0;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    display: grid;
    gap: 6px;
}

.ps-dialog-product span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #2563eb;
}

.ps-dialog-product strong {
    color: #0f172a;
    font-size: 16px;
}

.ps-dialog-form .ps-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.ps-dialog-form label {
    color: #334155;
    font-size: 13px;
}

.ps-dialog-form input:not([type=checkbox]):not([type=submit]),.ps-dialog-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    margin-top: 6px;
    font: 400 14px/1.5 Inter,sans-serif;
}

.ps-dialog-form textarea {
    height: 96px;
    resize: vertical;
}

.ps-dialog-form input:focus,.ps-dialog-form textarea:focus {
    background: white;
    border-color: #3b82f6;
    outline: 2px solid #dbeafe;
}

.ps-dialog-form .wpcf7-submit {
    width: 100%;
    padding: 14px 20px;
    cursor: pointer;
}

.ps-dialog-form .wpcf7-acceptance label {
    color: #64748b;
    line-height: 1.5;
}

.ps-dialog-privacy {
    font-size: 12px;
    color: #64748b;
    text-decoration: underline;
}

.ps-dialog-form .wpcf7-response-output {
    margin: 12px 0;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
}

@media(max-width:540px) {
    .ps-dialog {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .ps-dialog-intro h2 {
        font-size: 24px;
    }

    .ps-dialog-form .ps-form-grid {
        grid-template-columns: 1fr;
    }

    .ps-dialog-form .wpcf7 form p {
        margin-bottom: 14px;
    }

}

.ps-dialog-form .wpcf7 form p {
    margin: 0 0 14px;
}

.ps-dialog-form .ps-form-grid p {
    margin: 0 0 14px;
}

.ps-dialog-form textarea {
    height: 76px;
}

.ps-dialog .wpcf7-spinner {
    position: absolute;
}

.ps-dialog .ps-dialog-intro p {
    margin-bottom: 12px;
}

.ps-dialog-product {
    margin: 16px 0;
}

.ps-dialog {
    padding: 28px 32px;
}

.ps-dialog-form input:not([type=checkbox]):not([type=submit]) {
    padding: 9px 12px;
}

@media(max-width:540px) {
    .ps-dialog {
        padding: 28px 20px;
    }

}

.ps-dialog-form form>p {
    position: relative;
}

.ps-dialog .wpcf7-spinner {
    right: 8px;
    top: 12px;
    margin: 0;
}

.ps-dialog-form .wpcf7-submit {
    padding-inline: 36px;
}

/* Readable form typography and a distinct consent row. */
.ps-dialog-form .wpcf7 label {
    font-size: 16px;
    line-height: 1.5;
}

.ps-dialog-form input:not([type=checkbox]):not([type=submit]),.ps-dialog-form textarea {
    font-size: 16px;
    line-height: 1.5;
}

.ps-dialog-intro p {
    font-size: 16px;
    line-height: 1.5;
}

.ps-dialog-form .wpcf7-acceptance {
    display: block;
    margin: 20px 0 24px;
}

.ps-dialog-form .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}

.ps-dialog-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.ps-dialog-form .wpcf7-acceptance input[type=checkbox] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: #2563eb;
}

.ps-dialog-form .wpcf7-submit {
    font-size: 16px;
    line-height: 1.5;
}

.ps-dialog-privacy {
    font-size: 14px;
    line-height: 1.5;
}

.ps-dialog-form .wpcf7-acceptance {
    margin: 12px 0 0;
}

.ps-dialog-form form>p:has(.wpcf7-acceptance) {
    margin-bottom: 12px;
}

.ps-dialog-form form>p:has(.wpcf7-acceptance)>br {
    display: none;
}

.ps-dialog-form .wpcf7-acceptance {
    margin-bottom: 12px;
}

.ps-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ps-card-actions .ps-button {
    padding: 12px 8px;
    font-size: 14px;
    line-height: 20px;
}

/* Larger catalog filters, without changing chips on product pages. */
.ps-catalog-filters {
    padding: 28px;
}

.ps-catalog-filters h2 {
    font-size: 15px;
    line-height: 1.5;
}

.ps-catalog-filters .ps-chips {
    gap: 10px;
    margin: 18px 0 28px;
}

.ps-catalog-filters .ps-chips:last-child {
    margin-bottom: 0;
}

.ps-catalog-filters .ps-chips a {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 18px;
    border-radius: 26px;
}

.ps-catalog-filters .ps-chips a[aria-current] {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

@media(max-width:540px) {
    .ps-catalog-filters {
        padding: 20px;
    }

    .ps-catalog-filters .ps-chips a {
        font-size: 15px;
        padding: 10px 16px;
    }

}

.ps-image-zoom {
    display: block;
    width: 100%;
    text-align: center;
    cursor: zoom-in;
}

.ps-image-zoom span {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: #2563eb;
}

.ps-image-dialog {
    width: min(1000px,calc(100% - 32px));
    padding: 48px 24px 24px;
}

.ps-detail-image .ps-image-dialog .ps-image-full {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 128px);
    object-fit: contain;
}

.ps-button.ps-document-button {
    background: white;
    border-color: #fecaca;
    color: #dc2626;
}

.ps-button.ps-document-button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.ps-dialog.is-success .ps-dialog-intro,.ps-dialog.is-success .ps-dialog-product,.ps-dialog.is-success .ps-dialog-form {
    display: none;
}

.ps-form-success {
    text-align: center;
    padding: 24px 8px 12px;
}

.ps-form-success[hidden] {
    display: none;
}

.ps-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-size: 36px;
}

.ps-form-success h2 {
    font-size: 28px;
    margin: 0 0 16px;
}

.ps-form-success p {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 auto 28px;
    max-width: 420px;
}

.ps-success-close {
    min-width: 160px;
    font-size: 16px;
}

.ps-solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}

.ps-solution-icon svg {
    width: 28px;
    height: 28px;
}

.ps-solution:hover .ps-solution-icon {
    background: #dbeafe;
}

.ps-chips a:has(.ps-application-icon) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ps-chips .ps-application-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #2563eb;
}

.ps-chips a:hover .ps-application-icon,.ps-chips a[aria-current] .ps-application-icon {
    color: inherit;
}

.ps-solution-icon:empty {
    display: none;
}

/* Contact details, directions and company information. */
.ps-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.ps-contact-details h3,.ps-contact-details h4 {
    color: #fff;
}

.ps-contact-details p {
    color: #cbd5e1;
}

.ps-contact-details p a {
    display: block;
    width: fit-content;
    color: inherit;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ps-contact-details p a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.ps-contact-details svg {
    flex-shrink: 0;
}

.ps-contact-map {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.ps-contact-map iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 350px;
    border: 0;
}

.ps-contact-map>a {
    padding: 14px 20px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
}

.ps-contact-requisites h3 {
    color: #0f172a;
}

.ps-contact-requisites p {
    overflow-wrap: anywhere;
}

@media(max-width:767px) {
    .ps-contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ps-contact-details,.ps-contact-requisites {
        padding: 24px;
    }

    .ps-contact-map {
        min-height: 350px;
    }

    .ps-contact-map iframe {
        min-height: 300px;
    }

}

/* Larger desktop presentation; zoom also scales the original layout's px sizes. */
@media (min-width: 1024px) {
    body {
        zoom: 1.2;
    }

    .ps-main, .ps-header-inner {
        max-width: 1440px;
    }

    .ps-footer-grid, .ps-footer-bottom {
        max-width: 1376px;
    }

    .ps-dialog {
        max-height: calc(83.333dvh - 32px);
    }

    .ps-nav {
        min-width: 0;
    }

    .admin-bar .ps-header {
        top: 26.667px;
    }

    #wpadminbar {
        zoom: 0.833333;
    }

}

@media (min-width: 1024px) and (max-width: 1399px) {
    .ps-header-phone {
        display: none;
    }

    .ps-header-inner {
        gap: 12px;
        padding-inline: 24px;
    }

    .ps-nav a {
        padding-inline: 8px;
        font-size: 13px;
    }

}

@media (min-width: 1024px) and (max-width: 1228px) {
    .ps-products, .ps-solutions {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ps-product-detail {
        gap: 28px;
    }

}

/* Four footer columns, with application links managed in the catalog. */
.ps-footer-grid {
    grid-template-columns: 0.9fr 0.85fr 1.35fr 1.1fr;
    gap: 32px;
}

.ps-footer-grid>div {
    min-width: 0;
}

.ps-footer nav a {
    overflow-wrap: anywhere;
}

.ps-footer nav a:hover {
    color: #fff;
}

@media(max-width:1100px) {
    .ps-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ps-footer-grid>div:first-child {
        grid-column: auto;
    }

}

@media(max-width:540px) {
    .ps-footer-grid {
        grid-template-columns: minmax(0,1fr);
    }

}

/* Soft blue atmosphere with a quiet dark area behind the consultation button. */
.ps-consultation-cta {
    background: radial-gradient(ellipse at 28% 0%,#10375a 0%,#08233e 42%,#04162a 78%);
    padding: 56px;
    gap: 40px;
    color: #f1f5f9;
    overflow: hidden;
}

.ps-consultation-cta .ps-consultation-copy {
    min-width: 0;
}

.ps-consultation-cta .ps-consultation-kicker {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 650;
    color: #93c5fd;
    margin: 0 0 16px;
}

.ps-consultation-cta h2 {
    font-size: clamp(28px,3vw,40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 20px;
}

.ps-consultation-cta .ps-consultation-copy>p:last-child {
    font-size: 19px;
    line-height: 1.5;
    color: #f1f5f9;
    margin: 0;
}

.ps-consultation-cta .ps-button {
    background: #0755ff;
    padding: 18px 24px;
    font-size: 17px;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ps-consultation-cta .ps-button:hover {
    background: #2563eb;
}

.ps-consultation-cta .ps-button svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

@media(min-width:801px) and (max-width:1200px) {
    .ps-consultation-cta {
        padding: 36px;
        gap: 24px;
    }

    .ps-consultation-cta .ps-button {
        font-size: 15px;
        padding: 16px;
    }

    .ps-consultation-cta .ps-consultation-copy>p:last-child {
        font-size: 17px;
    }

    .ps-consultation-cta .ps-cta-break {
        display: none;
    }

}

@media(max-width:800px) {
    .ps-consultation-cta {
        padding: 32px 24px;
        gap: 26px;
        align-items: stretch;
    }

    .ps-consultation-cta .ps-consultation-kicker {
        font-size: 17px;
    }

    .ps-consultation-cta .ps-consultation-copy>p:last-child {
        font-size: 17px;
    }

    .ps-consultation-cta .ps-button {
        font-size: 16px;
        padding: 16px 12px;
        white-space: normal;
    }

    .ps-consultation-cta .ps-cta-break {
        display: none;
    }

}

/* Latest publications: two equal cards beneath the consultation banner. */
.ps-home-publications .ps-section-heading {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.ps-home-publications .ps-section-heading h2 {
    font-size: clamp(22px,2vw,26px);
    line-height: 1.3;
}

.ps-home-publications .ps-section-heading p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.ps-home-publications .ps-section-heading>.ps-text-link {
    flex-shrink: 0;
    font-size: 14px;
}

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

.ps-publication-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.ps-publication-card time {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 12px/1.5 'JetBrains Mono',monospace;
    color: #94a3b8;
    margin-bottom: 16px;
}

.ps-publication-card time svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

.ps-publication-card h3 {
    font-size: clamp(16px,calc(14px + .25vw),18px);
    line-height: 1.4;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ps-publication-card h3 a:hover {
    color: #2563eb;
}

.ps-publication-card>p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 20px;
}

.ps-publication-card>.ps-text-link {
    margin-top: auto;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-publication-card>.ps-text-link span {
    font-size: 20px;
    line-height: 1;
}

@media(max-width:640px) {
    .ps-publications-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
    }

    .ps-publication-card {
        padding: 24px;
    }

    .ps-publication-card h3 {
        font-size: 16px;
    }

    .ps-home-publications .ps-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

}

/* Responsive typography for industry cards and company facts. */
.ps-solution h3 {
    font-size: clamp(16px,calc(14px + .25vw),18px);
    line-height: 1.35;
    margin-bottom: 12px;
}

.ps-solution p {
    font-size: clamp(13px,calc(12px + .15vw),14px);
    line-height: 1.55;
}

.ps-solution .ps-text-link {
    font-size: clamp(13px,calc(12px + .15vw),14px);
}

.home .ps-main>.ps-maket>section:first-child>div>span.text-2xl {
    font-size: clamp(19px,calc(17px + .3vw),22px);
    line-height: 1.25;
}

.home .ps-main>.ps-maket>section:first-child>div>span.text-sm {
    font-size: clamp(12px,calc(11px + .15vw),13px);
    line-height: 1.4;
}

.home .ps-main>.ps-maket>section:first-child>div>p {
    font-size: 12px;
    line-height: 1.5;
}

/* Compact category links above the homepage products. */
.home .ps-section>.ps-chips {
    gap: 10px;
    margin-bottom: 24px;
}

.home .ps-section>.ps-chips a {
    font-size: clamp(13px,calc(12px + .15vw),14px);
    font-weight: 500;
    line-height: 1.5;
    padding: 9px 16px;
}

@media(max-width:540px) {
    .home .ps-section>.ps-chips {
        gap: 8px;
    }

    .home .ps-section>.ps-chips a {
        padding: 8px 12px;
    }

}

/* Editorial typography for ordinary WordPress pages, separate from imported layouts. */
.ps-text-content {
    max-width: 1050px;
    font-size: clamp(16px,calc(14px + .25vw),18px);
    line-height: 1.75;
    color: #334155;
    overflow-wrap: break-word;
}

.ps-text-content p {
    margin: 0 0 1.15em;
}

.ps-text-content :is(h1,h2,h3,h4,h5,h6) {
    color: #0f172a;
    font-weight: 750;
    line-height: 1.3;
    margin: 1.8em 0 .7em;
    letter-spacing: -.015em;
    overflow-wrap: break-word;
}

.ps-text-content h1 {
    font-size: clamp(28px,3vw,40px);
}

.ps-text-content h2 {
    font-size: clamp(24px,2.2vw,30px);
}

.ps-text-content h3 {
    font-size: clamp(20px,1.8vw,25px);
}

.ps-text-content h4 {
    font-size: clamp(18px,1.5vw,21px);
}

.ps-text-content :is(h5,h6) {
    font-size: 1em;
}

.ps-text-content :is(ul,ol) {
    padding-left: 1.6em;
    margin: 0 0 1.4em;
    list-style-position: outside;
}

.ps-text-content ul {
    list-style-type: disc;
}

.ps-text-content ol {
    list-style-type: decimal;
}

.ps-text-content li {
    padding-left: .25em;
    margin: .45em 0;
}

.ps-text-content li::marker {
    color: #64748b;
}

.ps-text-content li :is(ul,ol) {
    margin: .5em 0;
}

.ps-text-content li>p {
    margin: .4em 0;
}

.ps-text-content a:not(.wp-element-button) {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: .18em;
    overflow-wrap: anywhere;
}

.ps-text-content a:not(.wp-element-button):hover {
    color: #1d4ed8;
}

.ps-text-content strong {
    font-weight: 700;
    color: #1e293b;
}

.ps-text-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.3em;
    border-left: 3px solid #3b82f6;
    background: #eff6ff;
    border-radius: 0 12px 12px 0;
}

.ps-text-content blockquote>:last-child {
    margin-bottom: 0;
}

.ps-text-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2em 0;
}

.ps-text-content figure {
    margin: 1.5em 0;
    max-width: 100%;
}

.ps-text-content figcaption {
    font-size: .85em;
    color: #64748b;
    margin-top: .6em;
}

.ps-text-content .wp-block-table {
    overflow-x: auto;
}

.ps-text-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
}

.ps-text-content :is(th,td) {
    padding: .8em 1em;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.ps-text-content th {
    background: #eef2f7;
    color: #0f172a;
    font-weight: 650;
}

.ps-text-content>:first-child {
    margin-top: 0;
}

.ps-text-content>:last-child {
    margin-bottom: 0;
}

@media(max-width:640px) {
    .ps-text-content {
        line-height: 1.65;
    }

    .ps-text-content :is(h1,h2,h3,h4,h5,h6) {
        margin-top: 1.5em;
    }

    .ps-text-content>:first-child {
        margin-top: 0;
    }

}

/* Two orderly vertical lists for catalog navigation. */
.ps-catalog-filters {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px;
}

.ps-filter-column {
    min-width: 0;
}

.ps-catalog-filters .ps-chips {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 16px 0 0;
}

.ps-catalog-filters .ps-chips a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    text-align: left;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ps-catalog-filters .ps-application-icon {
    flex-shrink: 0;
}

@media(max-width:700px) {
    .ps-catalog-filters {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

}

.ps-catalog-return {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.ps-catalog-return .ps-button {
    padding: 16px 28px;
    font-size: 17px;
    gap: 12px;
    box-shadow: 0 6px 18px #2563eb26;
}

@media(max-width:540px) {
    .ps-catalog-return .ps-button {
        width: 100%;
        font-size: 16px;
    }

}

.ps-message-hint {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

.ps-field-error {
    display: block;
    margin-top: 6px;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.ps-field-error[hidden] {
    display: none;
}

.ps-cookie-notice {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 540px;
    padding: 20px 24px;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 8px 32px #02061733;
}

.ps-cookie-notice[hidden] {
    display: none;
}

.ps-cookie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.ps-cookie-notice a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ps-cookie-notice .ps-button {
    flex-shrink: 0;
    padding: 12px 18px;
}

@media(max-width:600px) {
    .ps-cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        gap: 14px;
        max-width: none;
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-cookie-notice .ps-button {
        align-self: flex-end;
    }

}

/* More compact spacing for facts and industry cards. */
.ps-solution {
    padding: 24px;
}

.ps-solution-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.ps-solution-icon svg {
    width: 24px;
    height: 24px;
}

.home .ps-main>.ps-maket>section:first-child>div {
    padding: 20px;
}

/* Compact editorial scale on the import substitution page. */
.ps-import-page {
    font-size: 14px;
    line-height: 1.6;
}

.ps-import-page .ps-page-heading {
    margin-bottom: 28px;
}

.ps-import-page .ps-page-heading>p:last-child {
    font-size: 14px;
    line-height: 1.6;
}

.ps-import-page .ps-text-content {
    font-size: 14px;
    line-height: 1.6;
}

.ps-import-page .ps-text-content h2,.ps-import-page .ps-panel>h2,.ps-import-page .ps-section-heading h2 {
    font-size: clamp(18px,1.6vw,22px);
    line-height: 1.35;
}

.ps-import-page .ps-text-content h2 {
    margin: 28px 0 12px;
}

.ps-import-page .ps-text-content p {
    margin-bottom: 14px;
}

.ps-import-page .ps-text-content ul {
    margin-bottom: 18px;
}

.ps-import-page .ps-panel {
    padding: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.ps-import-page .ps-panel>h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ps-import-page .ps-section {
    margin-top: 32px;
}

/* Hide the floating reCAPTCHA badge. */
.grecaptcha-badge {
    visibility: hidden !important;
}
