/* Closed Block 2 pilot: seven existing semantic routes in UA, RU and EN. */

.mp-components-pilot {
    --mp-component-ink: #151a1d;
    --mp-component-muted: #505b61;
    --mp-component-line: #cbd1d2;
    --mp-component-paper: #f4f5f2;
    --mp-component-surface: #fff;
    --mp-component-danger: #982d27;
    --mp-component-success: #17643d;
    --mp-component-focus: #ad622d;
    color: var(--mp-component-ink);
    font-size: 16px;
    line-height: 1.6;
}

/* Shared type roles. H1 and Hero-media rules deliberately remain untouched. */
.mp-components-pilot .mp-eyebrow,
.mp-components-pilot .mp-discovery-kicker,
.mp-components-pilot .mp-contact-office-index {
    color: var(--mp-component-muted);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-components-pilot .mp-section-copy > p:last-of-type,
.mp-components-pilot .mp-contact-copy > p,
.mp-components-pilot .mp-catalog-lead,
.mp-components-pilot .mp-catalog-detail-card > p,
.mp-components-pilot .mp-catalog-contact-copy > p:last-child,
.mp-components-pilot .mp-selection-lead,
.mp-components-pilot .mp-selection-section-head > p,
.mp-components-pilot .mp-selection-related > p,
.mp-components-pilot .mp-selection-contact > div > p {
    color: var(--mp-component-muted);
    font-size: clamp(16px, 1.15vw, 18px);
    font-weight: 450;
    line-height: 1.68;
}

.mp-components-pilot .mp-section-heading h2,
.mp-components-pilot .mp-quality-heading h2,
.mp-components-pilot .mp-contact-copy h2,
.mp-components-pilot .mp-catalog-detail-card h2,
.mp-components-pilot .mp-catalog-application-card h2,
.mp-components-pilot .mp-catalog-extra-card h2,
.mp-components-pilot .mp-catalog-contact h2,
.mp-components-pilot .mp-selection-group h2,
.mp-components-pilot .mp-selection-contact h2,
.mp-components-pilot .mp-selection-related h2 {
    color: var(--mp-component-ink);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.mp-components-pilot .mp-slide-copy h3,
.mp-components-pilot .mp-selection-card h3,
.mp-components-pilot .mp-contact-office h3 {
    color: var(--mp-component-ink);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.015em;
}

/* Four action roles: primary, outlined secondary, text and dark-surface inverse. */
.mp-components-pilot .mp-button:not(.mp-header-catalogue),
.mp-components-pilot .mp-btn-primary {
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    background: var(--mp-component-ink);
    border: 1px solid var(--mp-component-ink);
    border-radius: 5px;
    box-shadow: none;
    font-size: 16px;
    font-weight: 720;
    line-height: 1.25;
    text-decoration: none;
    filter: none;
}

.mp-components-pilot .mp-button:not(.mp-header-catalogue):hover,
.mp-components-pilot .mp-button:not(.mp-header-catalogue):focus-visible,
.mp-components-pilot .mp-btn-primary:hover,
.mp-components-pilot .mp-btn-primary:focus-visible {
    color: #fff;
    background: var(--mp-component-ink);
    border-color: var(--mp-component-ink);
    box-shadow: none;
    filter: none;
}

/* The shared header still carries an older blue !important declaration. Keep
 * this one narrow override so the pilot primary action is actually black. */
.mp-components-pilot.mp-design-0799 .mp-header-cta,
.mp-components-pilot.mp-design-0799 .mp-header-cta:hover,
.mp-components-pilot.mp-design-0799 .mp-header-cta:focus-visible {
    color: #fff !important;
    background: var(--mp-component-ink) !important;
    border-color: var(--mp-component-ink) !important;
    border-radius: 5px !important;
    box-shadow: none;
}

/* Hero is a dark photographic surface: use the inverse primary role while
 * retaining the existing slide and label animation controllers. */
.mp-components-pilot.mp-design-0799 .mp-hero .mp-button,
.mp-components-pilot.mp-design-0799 .mp-hero .mp-button:hover,
.mp-components-pilot.mp-design-0799 .mp-hero .mp-button:focus-visible {
    color: var(--mp-component-ink) !important;
    background: #fff !important;
    border-color: #fff !important;
    border-radius: 5px !important;
    box-shadow: none;
    filter: none;
    padding: 12px 22px !important;
    font-weight: 720;
    text-decoration: none !important;
}

.mp-components-pilot.mp-design-0799 .mp-hero .mp-text-link,
.mp-components-pilot.mp-design-0799 .mp-hero .mp-text-link:hover,
.mp-components-pilot.mp-design-0799 .mp-hero .mp-text-link:focus-visible {
    color: #fff;
    background: transparent;
}

.mp-components-pilot .mp-site-header .mp-discovery-trigger.mp-header-catalogue,
.mp-components-pilot .mp-discovery-close,
.mp-components-pilot .mp-map-load {
    min-height: 44px;
    color: var(--mp-component-ink);
    background: transparent;
    border: 1px solid var(--mp-component-ink);
    border-radius: 5px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}

.mp-components-pilot .mp-site-header .mp-discovery-trigger.mp-header-catalogue:hover,
.mp-components-pilot .mp-site-header .mp-discovery-trigger.mp-header-catalogue:focus-visible,
.mp-components-pilot .mp-discovery-close:hover,
.mp-components-pilot .mp-discovery-close:focus-visible,
.mp-components-pilot .mp-map-load:hover,
.mp-components-pilot .mp-map-load:focus-visible {
    color: var(--mp-component-ink);
    background: transparent;
    border-color: var(--mp-component-ink);
    box-shadow: none;
}

.mp-components-pilot .mp-text-link,
.mp-components-pilot .mp-selection-phone,
.mp-components-pilot .mp-selection-detail,
.mp-components-pilot .mp-selection-contact-links a,
.mp-components-pilot.mp-design-0799 .mp-contact-office-links a,
.mp-components-pilot .mp-home-contact-meta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--mp-component-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    font-weight: 680;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.mp-components-pilot .mp-text-link:hover,
.mp-components-pilot .mp-text-link:focus-visible,
.mp-components-pilot .mp-selection-phone:hover,
.mp-components-pilot .mp-selection-phone:focus-visible,
.mp-components-pilot .mp-selection-detail:hover,
.mp-components-pilot .mp-selection-detail:focus-visible {
    color: var(--mp-component-ink);
    background: transparent;
}

.mp-components-pilot .mp-catalog-contact-copy,
.mp-components-pilot .mp-site-footer {
    color: #fff;
}

.mp-components-pilot .mp-contacts .mp-contact-copy h2,
.mp-components-pilot .mp-catalog-contact-copy h2 {
    color: #fff;
}

.mp-components-pilot .mp-catalog-contact-copy .mp-eyebrow,
.mp-components-pilot .mp-catalog-contact-copy > p:last-child,
.mp-components-pilot .mp-contacts .mp-contact-copy .mp-eyebrow,
.mp-components-pilot .mp-contacts .mp-contact-copy > p,
.mp-components-pilot .mp-site-footer-brand p,
.mp-components-pilot .mp-site-footer-bottom {
    color: #c4cccf;
}

.mp-components-pilot .mp-contacts .mp-home-contact-meta a,
.mp-components-pilot .mp-contacts .mp-home-contact-meta a:hover,
.mp-components-pilot .mp-contacts .mp-home-contact-meta a:focus-visible {
    color: #fff !important;
    background: transparent;
}

.mp-components-pilot .mp-site-footer-contact a,
.mp-components-pilot .mp-site-footer-nav a,
.mp-components-pilot .mp-site-footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

/* Header and footer use the same restrained geometry as the component roles. */
.mp-components-pilot .mp-site-header {
    border-bottom-color: var(--mp-component-line);
    box-shadow: none;
}

.mp-components-pilot .mp-site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(21, 26, 29, .08);
}

.mp-components-pilot .mp-site-header .mp-main-nav a {
    color: var(--mp-component-ink);
    font-size: 14px;
    font-weight: 650;
}

.mp-components-pilot .mp-header-cta {
    border-radius: 5px;
}

.mp-components-pilot .mp-site-footer {
    background: #10171b;
}

.mp-components-pilot .mp-site-footer-nav {
    gap: 4px 18px;
}

.mp-components-pilot .mp-site-footer-nav a {
    font-size: 14px;
}

/* Facts are information, so they no longer resemble compact controls. */
.mp-components-pilot .mp-catalog-facts {
    gap: 0;
    border-top: 1px solid var(--mp-component-line);
    border-bottom: 1px solid var(--mp-component-line);
}

.mp-components-pilot .mp-catalog-facts li {
    min-height: 0;
    padding-block: 16px;
    color: var(--mp-component-muted);
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 560;
    line-height: 1.45;
}

.mp-components-pilot .mp-catalog-detail-card,
.mp-components-pilot .mp-catalog-application-card,
.mp-components-pilot .mp-catalog-extra-card {
    border-color: var(--mp-component-line);
    border-radius: 0;
    box-shadow: none;
}

.mp-components-pilot .mp-catalog-detail-card > p,
.mp-components-pilot .mp-catalog-detail-card li,
.mp-components-pilot .mp-catalog-application-card li,
.mp-components-pilot .mp-catalog-extra-card li,
.mp-components-pilot .mp-catalog-order-note {
    font-size: 16px;
    line-height: 1.65;
}

.mp-components-pilot .mp-catalog-extra-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--mp-component-ink);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Selection pages expose the system through existing chooser and model cards. */
.mp-components-pilot .mp-selection-chooser,
.mp-components-pilot .mp-selection-group,
.mp-components-pilot .mp-selection-related,
.mp-components-pilot .mp-selection-contact {
    border-color: var(--mp-component-line);
}

.mp-components-pilot .mp-selection-jumps a {
    min-height: 148px;
    padding: 22px;
    color: var(--mp-component-ink);
    background: var(--mp-component-surface);
    border: 1px solid var(--mp-component-line);
    border-radius: 5px;
    box-shadow: none;
}

.mp-components-pilot .mp-selection-jumps a:hover,
.mp-components-pilot .mp-selection-jumps a:focus-visible {
    color: var(--mp-component-ink);
    background: var(--mp-component-surface);
    border-color: var(--mp-component-ink);
}

.mp-components-pilot .mp-selection-task-description,
.mp-components-pilot .mp-selection-task-group,
.mp-components-pilot .mp-selection-card li,
.mp-components-pilot .mp-selection-note {
    color: var(--mp-component-muted);
    font-size: 15px;
    line-height: 1.55;
}

.mp-components-pilot .mp-selection-card,
.mp-components-pilot .mp-selection-form,
.mp-components-pilot .mp-selection-more,
.mp-components-pilot .mp-selection-related,
.mp-components-pilot .mp-selection-start {
    background: var(--mp-component-surface);
    border: 1px solid var(--mp-component-line);
    border-radius: 5px;
    box-shadow: none;
}

.mp-components-pilot .mp-selection-more summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--mp-component-ink);
    font-size: 16px;
}

/* One form language across home, catalogue, contacts and selection pages. */
.mp-components-pilot .mp-inquiry-form,
.mp-components-pilot .mp-catalog-form {
    align-self: start;
    align-content: start;
    gap: 18px;
    padding: clamp(24px, 3vw, 36px);
    color: var(--mp-component-ink);
    background: var(--mp-component-surface);
    border: 1px solid var(--mp-component-line);
    border-radius: 5px;
    box-shadow: none;
}

.mp-components-pilot .mp-inquiry-form label:not(.mp-consent),
.mp-components-pilot .mp-catalog-form label:not(.mp-consent) {
    gap: 8px;
    color: var(--mp-component-ink);
    font-size: 14px;
    font-weight: 680;
    line-height: 1.45;
    letter-spacing: 0;
}

.mp-components-pilot .mp-inquiry-form input:not([type="checkbox"]),
.mp-components-pilot .mp-inquiry-form textarea,
.mp-components-pilot .mp-catalog-form input:not([type="checkbox"]),
.mp-components-pilot .mp-catalog-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    color: var(--mp-component-ink);
    background: #fff;
    border: 1px solid #8f999d;
    border-radius: 3px;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    font-weight: 450;
    line-height: 1.45;
}

.mp-components-pilot .mp-inquiry-form textarea,
.mp-components-pilot .mp-catalog-form textarea {
    min-height: 132px;
    resize: vertical;
}

.mp-components-pilot .mp-inquiry-form input[readonly],
.mp-components-pilot .mp-catalog-form input[readonly] {
    color: var(--mp-component-muted);
    background: var(--mp-component-paper);
}

.mp-components-pilot .mp-inquiry-form input:focus-visible,
.mp-components-pilot .mp-inquiry-form textarea:focus-visible,
.mp-components-pilot .mp-catalog-form input:focus-visible,
.mp-components-pilot .mp-catalog-form textarea:focus-visible {
    outline: 3px solid rgba(173, 98, 45, .28);
    outline-offset: 1px;
    border-color: var(--mp-component-focus);
    box-shadow: none;
}

.mp-components-pilot .mp-inquiry-form .is-invalid,
.mp-components-pilot .mp-catalog-form .is-invalid,
.mp-components-pilot .mp-inquiry-form [aria-invalid="true"],
.mp-components-pilot .mp-catalog-form [aria-invalid="true"] {
    border-color: var(--mp-component-danger);
    box-shadow: 0 0 0 2px rgba(152, 45, 39, .12);
}

.mp-components-pilot .mp-consent {
    min-height: 44px;
    align-items: flex-start;
    color: var(--mp-component-muted);
    font-size: 14px;
    line-height: 1.5;
}

.mp-components-pilot .mp-consent input {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 1px;
    accent-color: var(--mp-component-ink);
}

.mp-components-pilot .mp-field-guidance,
.mp-components-pilot .mp-field-error,
.mp-components-pilot .mp-form-result {
    font-size: 14px;
    line-height: 1.5;
}

.mp-components-pilot .mp-field-error,
.mp-components-pilot .mp-form-result.is-error {
    color: var(--mp-component-danger);
}

.mp-components-pilot .mp-inquiry-form[data-mp-inquiry-complete="true"] .mp-form-result:not(.is-error) {
    color: var(--mp-component-success);
}

.mp-components-pilot .mp-inquiry-form[aria-busy="true"] .mp-button,
.mp-components-pilot .mp-catalog-form[aria-busy="true"] .mp-button,
.mp-components-pilot .mp-inquiry-form .mp-button:disabled,
.mp-components-pilot .mp-catalog-form .mp-button:disabled {
    color: #fff;
    background: var(--mp-component-ink);
    border-color: var(--mp-component-ink);
    box-shadow: none;
    cursor: wait;
    filter: none;
    opacity: .68;
}

/* A single visible keyboard focus treatment for all action roles. */
.mp-components-pilot :where(a, button, summary, input, textarea):focus-visible {
    outline: 3px solid var(--mp-component-focus);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .mp-components-pilot .mp-button:not(.mp-header-catalogue),
    .mp-components-pilot .mp-btn-primary {
        min-height: 48px;
        padding-inline: 18px;
    }

    .mp-components-pilot .mp-catalog-actions,
    .mp-components-pilot .mp-selection-actions {
        gap: 12px;
    }

    .mp-components-pilot .mp-catalog-actions .mp-button,
    .mp-components-pilot .mp-selection-actions .mp-button,
    .mp-components-pilot .mp-inquiry-form > .mp-button,
    .mp-components-pilot .mp-catalog-form > .mp-button {
        width: 100%;
        justify-content: center;
    }

    .mp-components-pilot .mp-selection-jumps a {
        min-height: 0;
        padding: 18px;
    }

    .mp-components-pilot .mp-inquiry-form,
    .mp-components-pilot .mp-catalog-form,
    .mp-components-pilot .mp-selection-form {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-components-pilot .mp-button,
    .mp-components-pilot .mp-btn,
    .mp-components-pilot .mp-text-link,
    .mp-components-pilot .mp-selection-detail {
        transition: none;
    }
}

/* Keep the complete selection guidance readable in narrow tablet columns. */
.mp-components-pilot .mp-selection-contact .mp-inquiry-form textarea {
    min-height: 196px;
}

.mp-components-pilot.mp-design-0799 .mp-contact-office-links a[href^='mailto:'] {
    font-size: 14px;
}

/* Historical documents have their own heading and a readable portrait frame. */
.mp-components-pilot .mp-history-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px;
    margin: 0 0 28px;
}
.mp-components-pilot .mp-history-heading h3 {
    margin: 0;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.mp-components-pilot .mp-history-heading p {
    margin: 0;
    max-width: 38em;
    font-size: 16px;
    line-height: 1.5;
}
.mp-components-pilot .mp-achievements {
    align-items: start;
    gap: clamp(20px, 2.5vw, 40px);
}
.mp-components-pilot .mp-achievement-image {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    border: 1px solid var(--mp-component-line);
    border-radius: 0;
    background: #fff;
}
.mp-components-pilot .mp-achievement-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 10px;
    object-fit: contain;
    transform: none;
}
.mp-components-pilot .mp-achievement-image:focus-visible {
    outline: 3px solid #116b9a;
    outline-offset: 5px;
}
.mp-components-pilot .mp-achievement > div > span {
    color: var(--mp-component-ink);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.mp-components-pilot .mp-achievement h4 {
    margin: 8px 0;
    color: var(--mp-component-ink);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.mp-components-pilot .mp-achievement .mp-achievement-open-label {
    display: block;
    margin: 0;
    padding: 4px 10px 14px;
    color: var(--mp-component-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.mp-components-pilot .mp-achievement-open-label span {
    color: inherit;
    font-size: inherit;
}
.mp-components-pilot .mp-lightbox img {
    border-radius: 0;
}
/* Match the optical weight of compact seals to the wider wordmarks. */
.mp-components-pilot .mp-partner img {
    max-width: min(170px, 100%);
    max-height: 76px;
    opacity: 1;
}
.mp-components-pilot .mp-partner:nth-child(3) img,
.mp-components-pilot .mp-partner:nth-child(5) img,
.mp-components-pilot .mp-partner:nth-child(7) img {
    max-width: min(130px, 100%);
    max-height: 88px;
}
@media (max-width: 1024px) {
    .mp-components-pilot .mp-achievements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .mp-components-pilot .mp-history-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .mp-components-pilot .mp-achievement h4 {
        font-size: 16px;
    }
}
