/* ========================================================== */
/* SMARTREPAIR — KONTAKTAI                                    */
/* Smoked Titanium + Steel Blue — 2026-10-12                  */
/* ========================================================== */

@font-face {
    font-family: 'Contact Adobe Clean Regular';
    src: url('../fonts/AdobeClean-Regular.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --contact-deep: #252b30;
    --contact-main: #2c3237;
    --contact-alt: #30373d;
    --contact-panel: #343b41;
    --contact-elevated: #394147;
    --contact-footer: #24292e;

    --contact-text: #efeee9;
    --contact-text-secondary: #cdd0cc;
    --contact-text-body: #c3c7c5;
    --contact-text-muted: #9ea4a3;

    --contact-accent: #7b96ad;
    --contact-accent-strong: #617f97;
    --contact-accent-soft: #a1b6c5;
    --contact-accent-bright: #c7d6df;

    --contact-line: rgba(222, 227, 230, .115);
    --contact-line-soft: rgba(222, 227, 230, .072);
}

html,
body {
    max-width: 100%;
}

body.contact-page {
    overflow-x: hidden;
    background: var(--contact-main);
    color: var(--contact-text-secondary);
}

main {
    display: block;
}


/* ========================================================== */
/* HEADER — FINISHED SITE PARITY                              */
/* ========================================================== */

.contact-page .site-header {
    background: rgba(37, 43, 48, .982);
    border-bottom-color: rgba(222, 227, 230, .075);
    box-shadow: none;
}

.contact-page .brand-smart { color: #a4b9c8; }
.contact-page .brand-repair { color: var(--contact-text); }

.contact-page .site-nav__link {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .050em;
    color: rgba(205, 208, 204, .78);
}

.contact-page .site-nav__link:hover,
.contact-page .site-nav__link.current {
    color: var(--contact-text);
}

.contact-page .site-nav__link::before,
.contact-page .site-nav__link::after,
.contact-page .site-nav__active-dot {
    background: var(--contact-accent);
}

.contact-page .site-nav__link:focus-visible {
    color: #f0f0ec;
}

.contact-page .menu-button span {
    background: rgba(239, 238, 233, .83);
}

@media (max-width: 1279px) {
    .contact-page [data-mobile-overlay] .header-container {
        background: rgba(37, 43, 48, .992);
    }

    .contact-page [data-mobile-overlay] .menu-button:hover,
    .contact-page [data-mobile-overlay] .menu-button.open {
        background: rgba(123, 150, 173, .105);
        box-shadow: inset 0 0 0 1px rgba(161, 182, 197, .22);
    }

    .contact-page [data-mobile-overlay] .menu-button.open span {
        background: var(--contact-accent-soft);
    }

    .contact-page [data-mobile-overlay] .menu-button:focus-visible {
        outline-color: var(--contact-accent-soft);
    }

    .contact-page [data-mobile-overlay] .mobile-menu-backdrop {
        background: rgba(21, 25, 29, .68);
        backdrop-filter: blur(6px);
    }

    .contact-page [data-mobile-overlay] .mobile-menu {
        background: linear-gradient(155deg, #394147, #2b3237 72%);
        border-color: rgba(222, 227, 230, .105);
        box-shadow: 0 22px 62px rgba(9, 12, 15, .33);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a {
        font-family: 'Barlow Semi Condensed', Arial, sans-serif;
        font-weight: 400;
        letter-spacing: .050em;
        color: var(--contact-text-secondary);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a:hover {
        color: var(--contact-text);
        background: rgba(161, 182, 197, .062);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a.current {
        color: #c6d5df;
        background: linear-gradient(90deg, rgba(123, 150, 173, .17), rgba(123, 150, 173, .04));
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a.current::before {
        background: var(--contact-accent);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a:focus-visible {
        outline-color: rgba(161, 182, 197, .72);
        color: #d5dfe5;
        background: rgba(123, 150, 173, .09);
    }
}


/* ========================================================== */
/* HERO                                                       */
/* ========================================================== */

.contact-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #2f363b 0%, #2c3237 49%, #292f34 100%);
    border-bottom: 1px solid rgba(222, 227, 230, .070);
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.48'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    mix-blend-mode: soft-light;
    opacity: .014;
}

.contact-hero__container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
    min-height: clamp(430px, 32vw, 530px);
    margin: 0 auto;
    padding: clamp(64px, 5.2vw, 88px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .74fr);
    align-items: center;
    gap: clamp(64px, 7vw, 132px);
}

.contact-hero__copy {
    min-width: 0;
    max-width: 910px;
}

.contact-hero__eyebrow,
.contact-hub__eyebrow,
.contact-directory__kicker,
.contact-form-panel__kicker {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .105em;
    text-transform: uppercase;
    color: var(--contact-accent-soft);
}

.contact-hero__eyebrow { font-size: clamp(12px, .72vw, 13px); }

.contact-hero__eyebrow::before,
.contact-hub__eyebrow::before,
.contact-directory__kicker::before,
.contact-form-panel__kicker::before {
    content: none !important;
    display: none !important;
}

.contact-hero__title {
    max-width: 840px;
    margin: 24px 0 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: clamp(40px, 3.35vw, 58px);
    line-height: 1.16;
    letter-spacing: -.025em;
    text-wrap: balance;
    color: var(--contact-text);
}

.contact-hero__lead {
    max-width: 720px;
    margin: 26px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: clamp(16px, .95vw, 18px);
    font-weight: 400;
    line-height: 1.72;
    color: var(--contact-text-body);
    text-wrap: pretty;
}

.contact-hero__meta {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .11em;
    color: var(--contact-text-muted);
}

.contact-hero__meta-line {
    display: block;
    width: 36px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--contact-accent);
}

.contact-hero__visual {
    justify-self: end;
    width: min(100%, 650px);
    min-width: 0;
}

.contact-route {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 7px 7px rgba(0, 0, 0, .16));
}

.contact-route path,
.contact-route rect,
.contact-route circle {
    vector-effect: non-scaling-stroke;
}

/* Removed detached registration corners; only the functional routing diagram remains. */
.contact-route__channel rect {
    fill: #343b41;
    stroke: rgba(222, 227, 230, .14);
    stroke-width: 1;
}

.contact-route__channel-mark {
    fill: none;
    stroke: rgba(161, 182, 197, .72);
    stroke-width: 1.3;
    stroke-linecap: round;
}

.contact-route__mail,
.contact-route__phone,
.contact-route__direct,
.contact-route__direct-lines,
.contact-route__channel-line {
    fill: none;
    stroke: rgba(214, 220, 221, .38);
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-route__channel-line {
    stroke: rgba(169, 177, 180, .32);
}

.contact-route__direct-lines {
    stroke: rgba(161, 182, 197, .56);
}

.contact-route__rails path {
    fill: none;
    stroke: rgba(158, 168, 173, .26);
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-route__rails .contact-route__rail-active {
    stroke: rgba(123, 150, 173, .78);
    stroke-width: 1.3;
}

.contact-route__hub-ring {
    fill: #2a3035;
    stroke: rgba(161, 182, 197, .76);
    stroke-width: 1.2;
}

.contact-route__hub-core {
    fill: var(--contact-accent-soft);
}

.contact-route__hub-link {
    fill: none;
    stroke: rgba(123, 150, 173, .70);
    stroke-width: 1.25;
    stroke-linecap: round;
}

.contact-route__terminal-body {
    fill: #394147;
    stroke: rgba(222, 227, 230, .20);
    stroke-width: 1.1;
}

.contact-route__terminal-spine {
    fill: none;
    stroke: rgba(123, 150, 173, .82);
    stroke-width: 1.35;
    stroke-linecap: round;
}

.contact-route__terminal-topline {
    fill: none;
    stroke: rgba(196, 204, 207, .30);
    stroke-width: 1.1;
    stroke-linecap: round;
}

.contact-route__status-ring,
.contact-route__status-inner,
.contact-route__status-node path {
    fill: none;
    stroke: rgba(180, 190, 194, .28);
    stroke-width: 1;
}

.contact-route__status-ring {
    stroke: rgba(161, 182, 197, .62);
    stroke-width: 1.15;
}

.contact-route__status-core {
    fill: var(--contact-accent-soft);
}

.contact-route__terminal-lines path {
    fill: none;
    stroke: rgba(177, 185, 188, .34);
    stroke-width: 1.1;
    stroke-linecap: round;
}

.contact-route__terminal-lines .contact-route__terminal-line--strong {
    stroke: rgba(221, 225, 224, .48);
}

.contact-route__indicators rect {
    fill: #2d3439;
    stroke: rgba(170, 178, 181, .42);
    stroke-width: 1;
}

.contact-route__indicators rect:first-child {
    stroke: rgba(161, 182, 197, .64);
}

.contact-route__indicator-active {
    fill: none;
    stroke: var(--contact-accent-soft);
    stroke-width: 1.2;
    stroke-linecap: round;
}

.contact-route__base > path:first-child {
    fill: none;
    stroke: rgba(222, 227, 230, .10);
    stroke-width: 3;
    stroke-linecap: round;
}

.contact-route__base-accent {
    fill: none;
    stroke: rgba(123, 150, 173, .78);
    stroke-width: 3.1;
    stroke-linecap: round;
}


/* ========================================================== */
/* HERO LOAD MOTION                                           */
/* ========================================================== */

.js .contact-hero__eyebrow,
.js .contact-hero__title,
.js .contact-hero__lead,
.js .contact-hero__meta,
.js .contact-hero__visual {
    opacity: 0;
    will-change: opacity, transform, filter;
}

.js.is-loaded .contact-hero__eyebrow {
    animation: contactHeroTextIn 720ms cubic-bezier(.22, 1, .36, 1) 100ms both;
}

.js.is-loaded .contact-hero__title {
    animation: contactHeroTextIn 880ms cubic-bezier(.22, 1, .36, 1) 180ms both;
}

.js.is-loaded .contact-hero__lead {
    animation: contactHeroTextIn 880ms cubic-bezier(.22, 1, .36, 1) 300ms both;
}

.js.is-loaded .contact-hero__meta {
    animation: contactHeroTextIn 820ms cubic-bezier(.22, 1, .36, 1) 390ms both;
}

.js.is-loaded .contact-hero__visual {
    animation: contactHeroVisualIn 1050ms cubic-bezier(.22, 1, .36, 1) 250ms both;
}

@keyframes contactHeroTextIn {
    from {
        opacity: 0;
        transform: translate3d(0, 17px, 0);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes contactHeroVisualIn {
    from {
        opacity: 0;
        transform: translate3d(18px, 8px, 0) scale(.985);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}


/* ========================================================== */
/* CONTACT HUB                                                */
/* ========================================================== */

.contact-hub {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #30373d 0%, #2c3237 100%);
    border-bottom: 1px solid rgba(222, 227, 230, .070);
}

.contact-hub__container {
    width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
    margin: 0 auto;
    padding: clamp(92px, 7vw, 126px) 0 clamp(104px, 8vw, 146px);
}

.contact-hub__intro {
    max-width: 920px;
    margin-bottom: clamp(42px, 4vw, 62px);
}

.contact-hub__eyebrow,
.contact-directory__kicker,
.contact-form-panel__kicker {
    font-size: 11px;
}

.contact-hub__title {
    max-width: 840px;
    margin: 18px 0 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: clamp(34px, 2.55vw, 48px);
    line-height: 1.16;
    letter-spacing: -.025em;
    text-wrap: balance;
    color: var(--contact-text);
}

.contact-hub__lead {
    max-width: 760px;
    margin: 22px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: clamp(15px, .92vw, 17px);
    line-height: 1.72;
    color: var(--contact-text-body);
}

.contact-hub__surface {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    overflow: hidden;
    border: 1px solid rgba(222, 227, 230, .095);
    border-radius: 4px;
    background: #32393f;
    box-shadow:
        0 14px 30px -18px rgba(0, 0, 0, .52),
        0 3px 8px rgba(0, 0, 0, .16);
}


/* ========================================================== */
/* CONTACT DIRECTORY                                         */
/* ========================================================== */

.contact-directory {
    min-width: 0;
    padding: clamp(36px, 3.2vw, 54px);
    display: flex;
    flex-direction: column;
    background: #30373d;
}

.contact-directory__heading {
    padding-bottom: 27px;
}

.contact-directory__heading p {
    max-width: 540px;
    margin: 15px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.62;
    color: var(--contact-text-body);
}

.contact-directory__list {
    border-top: 1px solid var(--contact-line-soft);
}

.contact-directory__row {
    position: relative;
    isolation: isolate;
    min-height: 98px;
    padding: 20px 4px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 25px;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--contact-line-soft);
    overflow: hidden;
    transition: background-color 240ms ease;
}

.contact-directory__row::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--contact-accent);
    transform: scaleY(0);
    transform-origin: center;
    opacity: .86;
    transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.contact-directory__row:not(.contact-directory__row--static):hover,
.contact-directory__row:not(.contact-directory__row--static):focus-visible {
    background: rgba(161, 182, 197, .045);
}

.contact-directory__row:not(.contact-directory__row--static):hover::before,
.contact-directory__row:not(.contact-directory__row--static):focus-visible::before {
    transform: scaleY(.56);
}

.contact-directory__row:focus-visible {
    outline: 1px solid rgba(161, 182, 197, .62);
    outline-offset: -1px;
}

.contact-directory__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(161, 182, 197, .30);
    border-radius: 50%;
    background: rgba(123, 150, 173, .05);
}

.contact-directory__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--contact-accent-soft);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-directory__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-directory__label {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .12em;
    color: var(--contact-accent-soft);
}

.contact-directory__content strong {
    overflow-wrap: anywhere;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: clamp(15px, .91vw, 17px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--contact-text);
}

.contact-directory__content > span:last-child {
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--contact-text-muted);
}

.contact-directory__arrow {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--contact-accent-soft);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 280ms cubic-bezier(.22, 1, .36, 1), stroke 220ms ease;
}

.contact-directory__row:not(.contact-directory__row--static):hover .contact-directory__arrow,
.contact-directory__row:not(.contact-directory__row--static):focus-visible .contact-directory__arrow {
    transform: translateX(3px);
    stroke: var(--contact-accent-bright);
}

.contact-directory__notice {
    margin-top: auto;
    padding-top: 31px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.contact-directory__notice-line {
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--contact-accent);
}

.contact-directory__notice p {
    max-width: 470px;
    margin: 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--contact-text-muted);
}

.contact-directory__notice strong {
    font-weight: 400;
    color: var(--contact-text-secondary);
}


/* ========================================================== */
/* FORM PANEL                                                 */
/* ========================================================== */

.contact-form-panel {
    min-width: 0;
    padding: clamp(40px, 3.65vw, 62px) clamp(36px, 4vw, 70px) clamp(44px, 4vw, 68px);
    border-left: 1px solid rgba(222, 227, 230, .085);
    background: #343b41;
}

.contact-form-panel__heading {
    max-width: 650px;
    margin-bottom: 34px;
}

.contact-form-panel__heading h3 {
    margin: 16px 0 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: clamp(29px, 2vw, 38px);
    line-height: 1.18;
    letter-spacing: -.025em;
    color: var(--contact-text);
}

.contact-form-panel__heading p {
    max-width: 600px;
    margin: 17px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--contact-text-body);
}

.contact-form__message {
    margin: 0 0 25px;
    padding: 13px 15px;
    border: 1px solid rgba(222, 227, 230, .11);
    border-radius: 3px;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.contact-form__message[hidden] {
    display: none;
}

.contact-form__message--error {
    border-color: rgba(211, 105, 98, .68);
    background: rgba(132, 48, 43, .24);
    color: #f0c5c1;
    box-shadow:
        inset 3px 0 0 rgba(222, 108, 100, .82),
        0 3px 8px rgba(0, 0, 0, .16);
}

.contact-form__trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

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

.contact-field {
    min-width: 0;
}

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

.contact-field label,
.contact-field__file-label {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .095em;
    text-transform: uppercase;
    color: var(--contact-text);
}

.contact-field label > span[aria-hidden="true"] {
    color: var(--contact-accent-soft);
}

.contact-field__optional {
    margin-left: 8px;
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--contact-text-muted);
}

.contact-field input:not([type="file"]),
.contact-field textarea {
    width: 100%;
    margin-top: 11px;
    border: 1px solid rgba(222, 227, 230, .115);
    border-radius: 3px;
    background: #2b3237;
    padding: 13px 14px;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--contact-text);
    caret-color: var(--contact-accent-soft);
    transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.contact-field input:not([type="file"]) {
    height: 48px;
}

.contact-field textarea {
    height: 124px;
    min-height: 124px;
    resize: vertical;
}

.contact-field input:not([type="file"]):hover,
.contact-field textarea:hover {
    border-color: rgba(161, 182, 197, .28);
    background: #2d3439;
}

.contact-field input:not([type="file"]):focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(161, 182, 197, .60);
    background: #2d3439;
    box-shadow: 0 0 0 1px rgba(123, 150, 173, .18);
}

.contact-field.is-invalid input:not([type="file"]),
.contact-field.is-invalid textarea {
    border-color: rgba(201, 119, 112, .68);
}

.contact-field__error {
    display: none;
    margin-top: 7px;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #e2aaa5;
}

.contact-field.is-invalid .contact-field__error {
    display: block;
}


/* ========================================================== */
/* FILE PICKER                                                */
/* ========================================================== */

.contact-field__file-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contact-field__file-limit {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--contact-text-muted);
}

.contact-file-control {
    position: relative;
    width: 100%;
    min-height: 48px;
    margin-top: 9px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    border: 1px solid rgba(222, 227, 230, .115);
    border-radius: 3px;
    background: #2b3237;
    transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.contact-file-control:hover {
    border-color: rgba(161, 182, 197, .32);
    background: #2d3439;
}

.contact-file-control__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-file-control__button {
    min-height: 46px;
    padding: 0 15px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid rgba(161, 182, 197, .18);
    background: rgba(97, 127, 151, .08);
    color: var(--contact-text-secondary) !important;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.contact-file-control__button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--contact-accent-soft);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.contact-file-control__button:hover {
    background: rgba(97, 127, 151, .14);
    color: var(--contact-text) !important;
}

.contact-file-control__button:hover svg {
    transform: translateX(2px);
}

.contact-file-control__input:focus-visible + .contact-file-control__button {
    outline: 1px solid rgba(161, 182, 197, .72);
    outline-offset: -3px;
    background: rgba(97, 127, 151, .12);
}

.contact-file-control__name {
    min-width: 0;
    padding: 0 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: var(--contact-text-muted);
}

.contact-field.is-invalid .contact-file-control {
    border-color: rgba(201, 119, 112, .68);
}

.contact-field__file-note {
    display: block;
    margin-top: 8px;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: var(--contact-text-muted);
}


/* ========================================================== */
/* FORM ACTION                                                */
/* ========================================================== */

.contact-form__footer {
    margin-top: 33px;
    padding-top: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(222, 227, 230, .085);
}

.contact-form__action {
    flex: 0 0 auto;
    width: min(100%, 310px);
    display: flex;
    align-items: center;
}

.contact-form__submit {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(123, 150, 173, .38);
    border-radius: 3px;
    background: rgba(97, 127, 151, .12);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, .22),
        0 1px 2px rgba(0, 0, 0, .28);
    color: #e5e7e4;
    cursor: pointer;
    transform: none;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    transition:
        border-color 260ms ease,
        background-color 260ms ease,
        transform 280ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 280ms ease,
        opacity 220ms ease;
}

.contact-form__submit-label {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .095em;
    color: inherit;
}

.contact-form__submit svg {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 100%;
    padding: 17px;
    fill: none;
    stroke: var(--contact-accent-soft);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    border-left: 1px solid rgba(161, 182, 197, .18);
    background: rgba(97, 127, 151, .08);
    transition:
        transform 300ms cubic-bezier(.22, 1, .36, 1),
        background-color 260ms ease,
        stroke 260ms ease;
}

.contact-form__submit::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -60%;
    left: -58%;
    width: 34%;
    height: 220%;
    pointer-events: none;
    background: linear-gradient(
        108deg,
        transparent 0%,
        rgba(239, 238, 233, .016) 23%,
        rgba(239, 238, 233, .10) 36%,
        rgba(239, 238, 233, .25) 47%,
        rgba(239, 238, 233, .34) 50%,
        rgba(239, 238, 233, .25) 53%,
        rgba(239, 238, 233, .10) 64%,
        rgba(239, 238, 233, .016) 77%,
        transparent 100%
    );
    transform: skewX(-14deg);
    transition: left 520ms cubic-bezier(.22, 1, .36, 1);
}

.contact-form__submit::after {
    content: none !important;
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .contact-form__submit:hover:not(:disabled),
    .contact-form__submit:focus-visible:not(:disabled) {
        transform: translateY(-1px);
        border-color: rgba(161, 182, 197, .52);
        background: rgba(97, 127, 151, .16);
        box-shadow: 0 7px 14px -5px rgba(0, 0, 0, .48);
        color: var(--contact-text);
    }

    .contact-form__submit:hover:not(:disabled)::before,
    .contact-form__submit:focus-visible:not(:disabled)::before {
        left: 128%;
    }

    .contact-form__submit:hover:not(:disabled) svg,
    .contact-form__submit:focus-visible:not(:disabled) svg {
        transform: translateX(2px);
        background: rgba(97, 127, 151, .14);
        stroke: var(--contact-accent-bright);
    }
}

.contact-form__submit:focus-visible {
    outline: 1px solid rgba(161, 182, 197, .78);
    outline-offset: 3px;
}

.contact-form__submit:disabled {
    cursor: wait;
    opacity: .58;
}

.contact-form__sent {
    width: 100%;
    min-height: 54px;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(92, 177, 124, .58);
    border-radius: 3px;
    background: rgba(55, 121, 79, .22);
    box-shadow:
        inset 3px 0 0 rgba(94, 190, 130, .82),
        0 3px 8px rgba(0, 0, 0, .18),
        0 1px 2px rgba(0, 0, 0, .22);
    color: #edf5ef;
}

.contact-form__sent[hidden] {
    display: none;
}

.contact-form__sent > svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #7fd39d;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-form__sent > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-form__sent strong {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: .095em;
    color: #f0f7f2;
}

.contact-form__sent small {
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.25;
    color: #b8d9c3;
}

.contact-form__privacy {
    flex: 1 1 420px;
    max-width: 500px;
    margin: 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.62;
    color: var(--contact-text-muted);
}

.contact-form__privacy strong {
    font-weight: 400;
    color: var(--contact-text-secondary);
}

.contact-form__privacy a {
    color: var(--contact-accent-soft);
    text-decoration: none;
}

.contact-form__privacy a:hover,
.contact-form__privacy a:focus-visible {
    color: var(--contact-accent-bright);
    text-decoration: none;
}


/* ========================================================== */
/* RESPONSIVE                                                 */
/* ========================================================== */

@media (max-width: 1180px) {
    .contact-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr);
        gap: clamp(38px, 5vw, 70px);
    }

    .contact-hero__visual {
        width: min(100%, 530px);
    }
}

@media (max-width: 1199px) {
    .contact-hub__surface {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding-left: clamp(48px, 7.5vw, 92px);
        padding-right: clamp(48px, 7.5vw, 92px);
        border-left: 0;
        border-top: 1px solid rgba(222, 227, 230, .085);
    }

    .contact-form,
    .contact-form__message {
        max-width: 1000px;
    }

    .contact-directory__notice {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .contact-hero__container {
        min-height: auto;
        padding: 62px 0 68px;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-hero__copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .contact-hero__eyebrow,
    .contact-hero__meta {
        justify-content: center;
        text-align: center;
    }

    .contact-hero__title,
    .contact-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-hero__visual {
        display: grid;
        place-items: center;
        justify-self: center;
        width: min(82vw, 430px);
        margin: 22px auto 0;
    }
}

@media (max-width: 767px) {
    .contact-hero__container {
        width: min(calc(100% - 40px), 680px);
        padding: 54px 0 60px;
    }

    .contact-hero__title {
        margin-top: 18px;
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.13;
    }

    .contact-hero__lead {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.64;
    }

    .contact-hero__meta {
        margin-top: 26px;
        gap: 10px;
        font-size: 9px;
        letter-spacing: .095em;
    }

    .contact-hero__meta-line {
        width: 30px;
    }

    .contact-hero__visual {
        display: grid !important;
        width: min(88vw, 390px) !important;
        margin-top: 20px !important;
    }

    .contact-hub__container {
        width: min(calc(100% - 40px), 680px);
        padding: 72px 0 84px;
    }

    .contact-hub__intro {
        margin-bottom: 34px;
    }

    .contact-hub__title {
        margin-top: 16px;
        font-size: clamp(30px, 8.6vw, 38px);
        line-height: 1.14;
    }

    .contact-hub__lead {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.62;
    }

    .contact-hub__surface {
        border-radius: 3px;
    }

    .contact-directory,
    .contact-form-panel {
        padding: 29px 22px 32px;
    }

    .contact-directory__heading {
        padding-bottom: 21px;
    }

    .contact-directory__heading p,
    .contact-form-panel__heading p {
        font-size: 14px;
    }

    .contact-directory__row {
        min-height: 91px;
        padding: 17px 1px;
        grid-template-columns: 34px minmax(0, 1fr) 20px;
        gap: 12px;
    }

    .contact-directory__icon {
        width: 31px;
        height: 31px;
    }

    .contact-directory__icon svg {
        width: 15px;
        height: 15px;
    }

    .contact-directory__content strong {
        font-size: 15px;
    }

    .contact-directory__content > span:last-child {
        font-size: 12px;
    }

    .contact-directory__notice {
        padding-top: 25px;
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 11px;
    }

    .contact-directory__notice-line {
        width: 26px;
    }

    .contact-form-panel__heading {
        margin-bottom: 29px;
    }

    .contact-form-panel__heading h3 {
        font-size: 29px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-field--wide {
        grid-column: auto;
    }

    .contact-file-control {
        grid-template-columns: 1fr;
    }

    .contact-file-control__button {
        min-height: 46px;
        border-right: 0;
        border-bottom: 1px solid rgba(161, 182, 197, .18);
        justify-content: space-between;
    }

    .contact-file-control__name {
        min-height: 43px;
        display: flex;
        align-items: center;
    }

    .contact-field input:not([type="file"]),
    .contact-field textarea {
        font-size: 16px;
    }

    .contact-form__footer {
        margin-top: 29px;
        padding-top: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 19px;
    }

    .contact-form__action {
        width: min(100%, 310px);
    }

    .contact-form__privacy {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-hero__visual {
        width: min(92vw, 340px) !important;
        margin-top: 18px !important;
    }
}

@media (max-width: 420px) {
    .contact-hero__container,
    .contact-hub__container {
        width: min(calc(100% - 32px), 680px);
    }

    .contact-hero__container {
        padding: 48px 0 54px;
    }

    .contact-directory,
    .contact-form-panel {
        padding-left: 17px;
        padding-right: 17px;
    }

    .contact-directory__row {
        grid-template-columns: 31px minmax(0, 1fr) 18px;
        gap: 10px;
    }

    .contact-directory__arrow {
        width: 18px;
        height: 18px;
    }

    .contact-field__file-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .contact-form__action {
        width: 100%;
    }

    .contact-form__submit {
        min-height: 52px;
        grid-template-columns: minmax(0, 1fr) 50px;
    }

    .contact-form__submit-label {
        padding: 0 16px;
        font-size: 10.5px;
        letter-spacing: .085em;
    }

    .contact-form__submit svg {
        width: 50px;
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .contact-form__submit-label {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 10px;
        letter-spacing: .07em;
    }
}

@media (min-width: 2560px) {
    .contact-hero__container,
    .contact-hub__container {
        width: min(calc(100% - 180px), 2100px);
    }

    .contact-hero__container {
        min-height: 600px;
        padding: 96px 0;
        grid-template-columns: minmax(0, 1.04fr) minmax(560px, .8fr);
        gap: 150px;
    }

    .contact-hero__title {
        max-width: 1040px;
        font-size: 67px;
    }

    .contact-hero__lead {
        max-width: 860px;
        font-size: 20px;
    }

    .contact-hero__visual {
        width: min(100%, 760px);
    }

    .contact-hub__container {
        padding-top: 148px;
        padding-bottom: 166px;
    }

    .contact-hub__intro {
        max-width: 1100px;
        margin-bottom: 72px;
    }

    .contact-hub__title {
        max-width: 980px;
        font-size: 57px;
    }

    .contact-hub__lead {
        max-width: 880px;
        font-size: 19px;
    }

    .contact-directory {
        padding: 62px;
    }

    .contact-form-panel {
        padding: 68px 82px 74px;
    }

    .contact-directory__row {
        min-height: 108px;
    }

    .contact-form-panel__heading h3 {
        font-size: 43px;
    }
}


/* ========================================================== */
/* INTERACTION / MOTION AUDIT                                 */
/* ========================================================== */

@media (hover: none), (pointer: coarse) {
    .contact-form__submit::before {
        display: none;
    }

    .contact-form__submit:hover,
    .contact-directory__row:hover,
    .contact-file-control__button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .contact-hero__eyebrow,
    .js .contact-hero__title,
    .js .contact-hero__lead,
    .js .contact-hero__meta,
    .js .contact-hero__visual,
    .js.is-loaded .contact-hero__eyebrow,
    .js.is-loaded .contact-hero__title,
    .js.is-loaded .contact-hero__lead,
    .js.is-loaded .contact-hero__meta,
    .js.is-loaded .contact-hero__visual {
        opacity: 1;
        animation: none;
        transform: none;
        filter: none;
    }

    .contact-directory__row,
    .contact-directory__row::before,
    .contact-directory__arrow,
    .contact-form__submit,
    .contact-form__submit::before,
    .contact-form__submit svg,
    .contact-file-control__button,
    .contact-file-control__button svg {
        transition: none !important;
        transform: none !important;
    }
}

/* ========================================================== */
/* MOBILE SECTION PARITY — FINISHED INTERNAL PAGES            */
/* Policy / Deposit / FAQ spacing + titanium card treatment   */
/* ========================================================== */

@media (max-width: 767px) {
    .contact-hub__container {
        width: calc(100% - 40px);
        padding-top: 76px;
        padding-bottom: 88px;
    }

    .contact-hub__intro {
        margin-bottom: 32px;
    }

    .contact-hub__title {
        margin-top: 16px;
        font-size: clamp(30px, 8.6vw, 38px);
        line-height: 1.14;
    }

    .contact-hub__lead {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.62;
    }

    /*
     * On mobile this is no longer one desktop split panel.
     * It becomes two separate material cards, matching the other
     * finished internal pages.
     */
    .contact-hub__surface {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .contact-directory,
    .contact-form-panel {
        padding: 30px 24px 34px;
        border: 1px solid rgba(222, 227, 230, .095);
        border-radius: 3px;
        box-shadow:
            0 5px 12px rgba(5, 8, 10, .17),
            0 2px 4px rgba(5, 8, 10, .14);
    }

    .contact-directory {
        background: #32393f;
    }

    .contact-form-panel {
        border-left: 1px solid rgba(222, 227, 230, .095);
        border-top: 1px solid rgba(222, 227, 230, .095);
        background: #343b41;
    }

    .contact-directory__heading {
        padding-bottom: 22px;
    }

    .contact-form-panel__heading {
        margin-bottom: 28px;
    }

    .contact-directory__row {
        min-height: 86px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .contact-directory__notice {
        padding-top: 27px;
    }

    .contact-form__grid {
        gap: 21px;
    }

    .contact-form__footer {
        margin-top: 28px;
        padding-top: 24px;
    }
}

@media (max-width: 520px) {
    .contact-hero__container,
    .contact-hub__container {
        width: calc(100% - 28px);
    }

    .contact-hero__container {
        gap: 22px;
        padding: 46px 0 50px;
    }

    .contact-hero__title {
        margin-top: 20px;
        font-size: 29px;
        line-height: 1.22;
    }

    .contact-hero__lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.62;
    }

    .contact-hero__meta {
        margin-top: 22px;
        line-height: 1.4;
    }

    .contact-hero__visual {
        width: min(94%, 340px) !important;
        margin-top: 18px !important;
    }

    .contact-hub__container {
        padding-top: 66px;
        padding-bottom: 80px;
    }

    .contact-hub__intro {
        margin-bottom: 28px;
    }

    .contact-hub__title {
        font-size: 29px;
        line-height: 1.18;
    }

    .contact-hub__surface {
        gap: 16px;
    }

    .contact-directory,
    .contact-form-panel {
        padding: 28px 20px 32px;
    }

    .contact-directory__row {
        min-height: 82px;
        grid-template-columns: 32px minmax(0, 1fr) 19px;
        gap: 11px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .contact-directory__icon {
        width: 30px;
        height: 30px;
    }

    .contact-directory__content strong {
        font-size: 14.5px;
    }

    .contact-directory__content > span:last-child {
        font-size: 12px;
    }

    .contact-form-panel__heading h3 {
        font-size: 27px;
    }

    .contact-form__action {
        width: 100%;
    }

    .contact-form__submit {
        min-height: 52px;
        grid-template-columns: minmax(0, 1fr) 50px;
    }

    .contact-form__submit-label {
        padding: 0 16px;
        font-size: 10.5px;
        letter-spacing: .085em;
    }

    .contact-form__submit svg {
        width: 50px;
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .contact-hero__container,
    .contact-hub__container {
        width: calc(100% - 24px);
    }

    .contact-hero__title {
        font-size: 27px;
    }

    .contact-directory,
    .contact-form-panel {
        padding-left: 17px;
        padding-right: 17px;
    }

    .contact-directory__row {
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 9px;
    }

    .contact-form__submit-label {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 10px;
        letter-spacing: .07em;
    }
}

/* ========================================================================
   KONTAKTAI V3 — FROZEN UŽSTATAS DESIGN PARITY (2026-10-27)
   Source: user's approved deposit(6).html / deposit(7).css.
   No new hero panels, badges, accent headline words or CTA buttons.
   Original contact SVG, directory and server-backed enquiry form intact.
   ======================================================================== */
/* HEADER                                                     */
/* ========================================================== */

.contact-page .site-header {
    background: rgba(37, 43, 48, .982);
    border-bottom-color: rgba(222, 227, 230, .075);
    box-shadow: none;
}

.contact-page .brand-smart { color: #a4b9c8; }
.contact-page .brand-repair { color: var(--contact-text); }

.contact-page .site-nav__link {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .050em;
    color: rgba(205, 208, 204, .78);
}

.contact-page .site-nav__link:hover,
.contact-page .site-nav__link.current {
    color: var(--contact-text);
}

.contact-page .site-nav__link::before,
.contact-page .site-nav__link::after,
.contact-page .site-nav__active-dot {
    background: var(--contact-accent);
}

.contact-page .menu-button span {
    background: rgba(239, 238, 233, .83);
}

@media (max-width: 1279px) {
    .contact-page [data-mobile-overlay] .header-container {
        background: rgba(37, 43, 48, .992);
    }

    .contact-page [data-mobile-overlay] .mobile-menu-backdrop {
        background: rgba(21, 25, 29, .72);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .contact-page [data-mobile-overlay] .mobile-menu {
        background: #30373d;
        border-color: rgba(222, 227, 230, .105);
        box-shadow: 0 18px 46px rgba(9, 12, 15, .28);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a {
        font-family: 'Barlow Semi Condensed', Arial, sans-serif;
        font-weight: 400;
        letter-spacing: .050em;
        color: var(--contact-text-secondary);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a:hover {
        color: var(--contact-text);
        background: rgba(161, 182, 197, .062);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a.current {
        color: #c6d5df;
        background: rgba(123, 150, 173, .12);
    }

    .contact-page [data-mobile-overlay] .mobile-menu__nav a.current::before {
        background: var(--contact-accent);
    }
}

/* ========================================================== */

.contact-hero {
    position: relative;
    overflow: hidden;
    background: #2c3237;
    border-bottom: 1px solid rgba(222, 227, 230, .070);
}

.contact-hero__container {
    width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
    min-height: clamp(430px, 32vw, 530px);
    margin: 0 auto;
    padding: clamp(66px, 5.2vw, 88px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .78fr);
    align-items: center;
    gap: clamp(64px, 6.5vw, 120px);
}

.contact-hero__copy {
    min-width: 0;
    max-width: 900px;
}

.contact-hero__eyebrow,
.deposit-rules__eyebrow,
.deposit-payment__eyebrow,
.deposit-important__eyebrow,
.deposit-payment__action-label {
    display: inline-flex;
    margin: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .105em;
    text-transform: uppercase;
    color: var(--contact-accent-soft);
}

.contact-hero__eyebrow {
    font-size: clamp(12px, .72vw, 13px);
}

.contact-hero__title {
    max-width: 840px;
    margin: 24px 0 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(40px, 3.35vw, 58px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -.025em;
    text-wrap: balance;
    color: var(--contact-text);
}

.contact-hero__lead {
    max-width: 700px;
    margin: 26px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: clamp(15.5px, .98vw, 17px);
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: .002em;
    color: var(--contact-text-body);
    text-wrap: pretty;
}

.contact-hero__meta {
    margin-top: 30px;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .105em;
    color: rgba(161, 182, 197, .68);
}

.contact-hero__visual {
    justify-self: end;
    width: min(100%, 660px);
    min-width: 0;
}



.contact-page .contact-hero::before { display: none; }
.contact-page .contact-hero__meta { display: block; }
.contact-page .contact-hero__meta-line { display: none; }
.contact-page .contact-route { filter: drop-shadow(0 5px 4px rgba(5, 8, 10, .18)); }
/* Contact route is an exposed technical SVG, not a framed or elevated card. */
.contact-page .contact-hero__visual { min-width: 0; }
@media (max-width: 900px) {
  .contact-page .contact-hero__visual { margin-top: 0; }
}
/* Entrances use the same single-run timing as the approved Deposit hero. */
.js.is-loaded .contact-hero__meta { animation-delay: 380ms; }
.js.is-loaded .contact-hero__visual { animation: contactHeroVisualIn 950ms cubic-bezier(.16, 1, .3, 1) 220ms both; }
@keyframes contactHeroTextIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes contactHeroVisualIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
/* FOOTER - FROZEN SITE PARITY                                */
/* ========================================================== */

.contact-page .site-footer {
    background: #171b1e;
    border-top: 1px solid rgba(222, 227, 230, .085);
    box-shadow: none;
}

.contact-page .site-footer::before {
    display: none;
}

.contact-page .site-footer .site-footer__container {
    width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
}

.contact-page .site-footer .site-footer__main {
    grid-template-columns:
        minmax(250px, 1.28fr)
        minmax(160px, .88fr)
        minmax(170px, .92fr)
        minmax(220px, 1fr);
    align-items: start;
    gap: clamp(36px, 4.2vw, 76px);
    padding: clamp(72px, 6vw, 98px) 0 clamp(62px, 5vw, 82px);
}

.contact-page .site-footer .site-footer__brand {
    grid-column: auto;
    max-width: 350px;
    margin: 0;
    justify-self: start;
    text-align: left;
}

.contact-page .site-footer .site-footer__logo {
    font-size: clamp(29px, 1.75vw, 33px);
    line-height: 1;
    letter-spacing: 1.1px;
}

.contact-page .site-footer .site-footer__logo-smart { color: #9aaebd; }
.contact-page .site-footer .site-footer__logo-repair { color: #ecebe7; }

.contact-page .site-footer .site-footer__description {
    max-width: 34ch;
    margin: 24px 0 0;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: .002em;
    color: #aeb4b4;
    text-align: left;
}

.contact-page .site-footer .site-footer__heading {
    position: relative;
    margin: 2px 0 22px;
    padding-bottom: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: .115em;
    color: #a1b6c5;
}

.contact-page .site-footer .site-footer__heading::after {
    content: none !important;
    display: none !important;
}

.contact-page .site-footer .site-footer__links {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-page .site-footer .site-footer__links a,
.contact-page .site-footer .site-footer__email,
.contact-page .site-footer .site-footer__location {
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.45;
}

.contact-page .site-footer .site-footer__links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 5px 0;
    color: #b9bfbd;
    text-decoration: none;
    transition: color 180ms ease;
}

.contact-page .site-footer .site-footer__links a:hover,
.contact-page .site-footer .site-footer__links a[aria-current='page'] {
    color: #ecebe7;
}

.contact-page .site-footer .site-footer__contact-list {
    gap: 7px;
}

.contact-page .site-footer .site-footer__location {
    font-size: 15.5px;
    line-height: 1.65;
    color: #9ea4a3;
}

.contact-page .site-footer .site-footer__phone {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 40px;
    margin: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .025em;
    color: #ecebe7;
    text-decoration: none;
}

.contact-page .site-footer .site-footer__direct {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 0;
}

.contact-page .site-footer .site-footer__direct span {
    display: none;
}

.contact-page .site-footer .site-footer__direct a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .025em;
    color: #9aaebd;
    text-decoration: none;
}

.contact-page .site-footer .site-footer__email {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #c0c5c3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-page .site-footer .site-footer__bottom {
    min-height: 76px;
    padding: 24px 0 27px;
    border-top: 1px solid rgba(222, 227, 230, .10);
}

.contact-page .site-footer .site-footer__copyright {
    margin: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .04em;
    color: #929a9a;
    text-align: left;
}

.contact-page .site-footer .site-footer__credit {
    margin: 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .075em;
    color: rgba(154, 174, 189, .78);
    text-align: right;
    flex-wrap: wrap;
}

.contact-page .site-footer .site-footer__credit-name {
    color: inherit;
    text-decoration: none;
}

/* ========================================================== */


/* Exact responsive hero and frozen footer measurements from Deposit V3. */
@media (max-width: 1279px) {
.contact-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .68fr);
        gap: clamp(48px, 5vw, 80px);
    }
.contact-hero__visual {
        width: min(100%, 560px);
    }
.contact-page .site-footer .site-footer__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 42px 32px;
    }
.contact-page .site-footer .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 470px;
    }
.contact-page .site-footer .site-footer__description {
        max-width: 46ch;
    }
.contact-page .site-footer .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }
.contact-page .site-footer .site-footer__credit {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
.contact-hero__container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 58px 0 62px;
    }
.contact-hero__copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }
.contact-hero__title,
    .contact-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }
.contact-hero__title {
        max-width: 720px;
        font-size: clamp(34px, 5.2vw, 44px);
        line-height: 1.18;
    }
.contact-hero__lead {
        max-width: 620px;
    }
.contact-hero__meta {
        justify-content: center;
        text-align: center;
    }
.contact-hero__visual {
        justify-self: center;
        width: min(100%, 410px);
    }
}

@media (max-width: 767px) {
.contact-hero__container,
    .deposit-rules__container,
    .deposit-payment__container,
    .contact-page .site-footer .site-footer__container {
        width: calc(100% - 40px);
    }
.contact-hero__container {
        padding: 52px 0 54px;
    }
.contact-hero__title {
        max-width: 650px;
        font-size: clamp(31px, 7vw, 39px);
        line-height: 1.18;
    }
.contact-hero__lead {
        max-width: 580px;
        font-size: 16px;
        line-height: 1.64;
    }
.contact-hero__visual {
        width: min(88%, 350px);
    }
.contact-page .site-footer .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 24px;
        padding: 60px 0 44px;
    }
.contact-page .site-footer .site-footer__brand {
        grid-column: 1 / -1;
    }
.contact-page .site-footer .site-footer__contact {
        grid-column: 1 / -1;
        padding-top: 30px;
        border-top: 1px solid rgba(222, 227, 230, .075);
    }
}

@media (max-width: 520px) {
.contact-hero__container,
    .deposit-rules__container,
    .deposit-payment__container,
    .contact-page .site-footer .site-footer__container {
        width: calc(100% - 28px);
    }
.contact-hero__container {
        gap: 22px;
        padding: 46px 0 48px;
    }
.contact-hero__title {
        margin-top: 20px;
        font-size: 29px;
        line-height: 1.20;
    }
.contact-hero__lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.62;
    }
.contact-hero__meta {
        margin-top: 21px;
        line-height: 1.4;
    }
.contact-hero__visual {
        width: min(96%, 320px);
    }
.contact-page .site-footer .site-footer__main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 56px 0 40px;
    }
.contact-page .site-footer .site-footer__brand,
    .contact-page .site-footer .site-footer__contact {
        grid-column: auto;
    }
.contact-page .site-footer .site-footer__contact {
        padding-top: 32px;
    }
.contact-page .site-footer .site-footer__bottom {
        padding: 22px 0 24px;
    }
.contact-page .site-footer .site-footer__copyright,
    .contact-page .site-footer .site-footer__credit {
        width: 100%;
    }
}

@media (max-width: 360px) {
.contact-hero__container,
    .deposit-rules__container,
    .deposit-payment__container,
    .contact-page .site-footer .site-footer__container {
        width: calc(100% - 24px);
    }
.contact-hero__title {
        font-size: 27px;
    }
}

@media (min-width: 2560px) {
.contact-hero__container,
    .deposit-rules__container,
    .deposit-payment__container,
    .contact-page .site-footer .site-footer__container {
        width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
        max-width: 1760px;
    }
}

@media (prefers-reduced-motion: reduce) {
.js .contact-hero__eyebrow,
    .js .contact-hero__title,
    .js .contact-hero__lead,
    .js .contact-hero__meta,
    .js .contact-hero__visual,
    .js .deposit-flow__devices,
    .js .deposit-flow__card,
    .js .deposit-flow__percent {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 767px) {
  .contact-page .contact-hero__visual { display: block !important; width: min(88%, 350px) !important; margin-top: 0 !important; }
}
@media (max-width: 520px) {
  .contact-page .contact-hero__visual { width: min(96%, 320px) !important; margin-top: 0 !important; }
}
@media (min-width: 2560px) {
  .contact-page .contact-hero__container,
  .contact-page .site-footer .site-footer__container {
    width: min(calc(100% - clamp(48px, 6vw, 140px)), 1760px);
    max-width: 1760px;
  }
  .contact-page .contact-hero__title { font-size: clamp(40px, 3.35vw, 58px); }
  .contact-page .contact-hero__lead { font-size: clamp(15.5px, .98vw, 17px); }
  .contact-page .contact-hero__visual { width: min(100%, 660px); }
  .contact-page .contact-hero__container {
    min-height: clamp(430px, 32vw, 530px);
    padding: clamp(66px, 5.2vw, 88px) 0;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .78fr);
    gap: clamp(64px, 6.5vw, 120px);
  }
}


/* =======================================================================
   KONTAKTAI V4 — CONTACT DIRECTORY REFINEMENT
   Reference: approved UŽSTATAS V3, 27 October 2026.
   Only the left-side contact information module is restyled here.
   No added cards, hero CTAs, animation loops, or form modifications.
   ======================================================================= */

.contact-page .contact-directory {
    padding: clamp(38px, 3.3vw, 56px) clamp(34px, 3.2vw, 54px) clamp(36px, 3.3vw, 56px);
    background: #30373d;
}

.contact-page .contact-directory__heading {
    padding-bottom: 29px;
}

.contact-page .contact-directory__kicker {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .105em;
    color: #a1b6c5;
}

.contact-page .contact-directory__heading p {
    max-width: 46ch;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.68;
    color: #bcc1bf;
}

.contact-page .contact-directory__list {
    border-top: 1px solid rgba(222, 227, 230, .09);
}

.contact-page .contact-directory__row {
    min-height: 93px;
    padding: 18px 2px;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 16px;
    overflow: visible;
    border-bottom: 1px solid rgba(222, 227, 230, .085);
    border-radius: 0;
    background: transparent;
    transition: background-color 190ms ease;
}

/* Avoid a second decorative vertical rail next to six stacked rows. */
.contact-page .contact-directory__row::before {
    content: none !important;
    display: none !important;
}

.contact-page .contact-directory__row:not(.contact-directory__row--static):hover,
.contact-page .contact-directory__row:not(.contact-directory__row--static):focus-visible {
    background: rgba(161, 182, 197, .045);
}

.contact-page .contact-directory__row:focus-visible {
    outline: 1px solid rgba(161, 182, 197, .72);
    outline-offset: -1px;
}

/* Technical outline icon, rather than a new floating badge/card. */
.contact-page .contact-directory__icon {
    width: 33px;
    height: 33px;
    border: 1px solid rgba(161, 182, 197, .31);
    border-radius: 3px;
    background: transparent;
}

.contact-page .contact-directory__icon svg {
    width: 17px;
    height: 17px;
    stroke: #a1b6c5;
    stroke-width: 1.25;
}

.contact-page .contact-directory__content {
    gap: 5px;
}

.contact-page .contact-directory__label {
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .11em;
    color: #93abbc;
}

.contact-page .contact-directory__content strong {
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: clamp(15.5px, .94vw, 17px);
    font-weight: 400;
    line-height: 1.32;
    letter-spacing: 0;
    color: #ecebe7;
}

.contact-page .contact-directory__content > span:last-child {
    font-size: 13.5px;
    line-height: 1.45;
    color: #aeb4b2;
}

.contact-page .contact-directory__arrow {
    width: 18px;
    height: 18px;
    stroke: #a1b6c5;
    stroke-width: 1.3;
}

@media (hover: hover) and (pointer: fine) {
    .contact-page .contact-directory__row:not(.contact-directory__row--static):hover .contact-directory__arrow {
        transform: translateX(2px);
        stroke: #c7d6df;
    }
}

/* The appointment note follows UŽSTATAS V3's small-diamond treatment. */
.contact-page .contact-directory__notice {
    margin-top: auto;
    padding-top: 32px;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 15px;
}

.contact-page .contact-directory__notice-line {
    width: 7px;
    height: 7px;
    margin: 7px 0 0 2px;
    transform: rotate(45deg);
    border: 1px solid rgba(161, 182, 197, .82);
    background: transparent;
}

.contact-page .contact-directory__notice p {
    max-width: 46ch;
    font-size: 13.5px;
    line-height: 1.62;
    color: #b9bfbd;
}

.contact-page .contact-directory__notice strong {
    color: #ecebe7;
    font-weight: 400;
}

@media (max-width: 1199px) {
    .contact-page .contact-directory__notice {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .contact-page .contact-directory {
        padding: 29px 24px 32px;
    }
    .contact-page .contact-directory__heading {
        padding-bottom: 24px;
    }
    .contact-page .contact-directory__heading p {
        font-size: 14px;
        line-height: 1.62;
        margin-top: 15px;
    }
    .contact-page .contact-directory__row {
        min-height: 89px;
        padding: 16px 1px;
        grid-template-columns: 32px minmax(0, 1fr) 18px;
        gap: 12px;
    }
    .contact-page .contact-directory__icon {
        width: 31px;
        height: 31px;
    }
    .contact-page .contact-directory__icon svg {
        width: 16px;
        height: 16px;
    }
    .contact-page .contact-directory__content strong {
        font-size: 15px;
    }
    .contact-page .contact-directory__content > span:last-child {
        font-size: 12.5px;
    }
    .contact-page .contact-directory__notice {
        padding-top: 25px;
        grid-template-columns: 12px minmax(0, 1fr);
        gap: 12px;
    }
    .contact-page .contact-directory__notice p {
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .contact-page .contact-directory {
        padding: 28px 20px 32px;
    }
    .contact-page .contact-directory__row {
        min-height: 86px;
        grid-template-columns: 31px minmax(0, 1fr) 17px;
        gap: 11px;
    }
    .contact-page .contact-directory__content strong {
        font-size: 14.5px;
    }
}

@media (max-width: 360px) {
    .contact-page .contact-directory {
        padding-left: 17px;
        padding-right: 17px;
    }
    .contact-page .contact-directory__row {
        grid-template-columns: 30px minmax(0, 1fr) 17px;
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-directory__row,
    .contact-page .contact-directory__arrow {
        transition: none !important;
    }
}


/* =======================================================================
   KONTAKTAI V5 — ENQUIRY FORM REFINEMENT
   Reference: the user-approved UŽSTATAS V3, 27 October 2026.
   The whole form remains connected to the existing contact-mail.php backend.
   Only .contact-form-panel and its descendants are restyled here.
   ======================================================================= */

.contact-page .contact-form-panel {
    padding: clamp(40px, 3.4vw, 60px) clamp(36px, 3.7vw, 66px) clamp(42px, 3.7vw, 64px);
    background: #343b41;
}

.contact-page .contact-form-panel__heading {
    margin-bottom: 32px;
}

.contact-page .contact-form-panel__kicker {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .105em;
    color: #a1b6c5;
}

.contact-page .contact-form-panel__heading h3 {
    margin-top: 18px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(30px, 2vw, 38px);
    line-height: 1.17;
    font-weight: 400;
    letter-spacing: -.025em;
    color: #efeee9;
}

.contact-page .contact-form-panel__heading p {
    margin-top: 18px;
    max-width: 57ch;
    font-size: 15px;
    line-height: 1.68;
    color: #bcc1bf;
}

.contact-page .contact-form__grid {
    gap: 24px 22px;
}

.contact-page .contact-field label,
.contact-page .contact-field__file-label {
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .09em;
    color: #d9dddb;
}

.contact-page .contact-field label > span[aria-hidden='true'] {
    color: #a1b6c5;
}

.contact-page .contact-field input:not([type='file']),
.contact-page .contact-field textarea {
    width: 100%;
    margin-top: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(222, 227, 230, .14);
    border-radius: 3px;
    background: #2b3237;
    color: #efeee9;
    font-family: 'Contact Adobe Clean Regular', 'AdobeClean-Regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-page .contact-field input:not([type='file']) {
    min-height: 50px;
    height: 50px;
}

.contact-page .contact-field textarea {
    min-height: 150px;
    height: 150px;
    resize: vertical;
}

.contact-page .contact-field input:not([type='file']):hover,
.contact-page .contact-field textarea:hover {
    border-color: rgba(161, 182, 197, .30);
    background: #2d3439;
}

.contact-page .contact-field input:not([type='file']):focus,
.contact-page .contact-field textarea:focus {
    outline: 1px solid rgba(161, 182, 197, .50);
    outline-offset: 1px;
    border-color: rgba(161, 182, 197, .62);
    background: #2d3439;
    box-shadow: none;
}

.contact-page .contact-field.is-invalid input:not([type='file']),
.contact-page .contact-field.is-invalid textarea,
.contact-page .contact-field.is-invalid .contact-file-control {
    border-color: rgba(218, 133, 126, .72);
}

.contact-page .contact-field__error {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #e7b0aa;
}

.contact-page .contact-field__optional,
.contact-page .contact-field__file-limit {
    font-size: 10px;
    letter-spacing: .10em;
    color: #aab1b0;
}

/* Flat technical file picker: same graphite material and hairline strokes. */
.contact-page .contact-file-control {
    min-height: 50px;
    margin-top: 10px;
    border: 1px solid rgba(222, 227, 230, .14);
    border-radius: 3px;
    background: #2b3237;
    transition: border-color 180ms ease;
}

.contact-page .contact-file-control:hover,
.contact-page .contact-file-control:focus-within {
    border-color: rgba(161, 182, 197, .52);
    background: #2b3237;
}

.contact-page .contact-file-control__button {
    min-height: 48px;
    padding: 0 16px;
    border-right: 1px solid rgba(222, 227, 230, .12);
    background: #394147;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    color: #e5e7e4 !important;
    transition: background-color 180ms ease;
}

.contact-page .contact-file-control__button svg {
    stroke: #a1b6c5;
    stroke-width: 1.4;
}

.contact-page .contact-file-control__button:hover {
    background: #3d464d;
    color: #efeee9 !important;
}

.contact-page .contact-file-control__name {
    font-size: 13px;
    line-height: 1.45;
    color: #bac1bf;
}

.contact-page .contact-field__file-note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #aeb4b2;
}

.contact-page .contact-file-control__input:focus-visible + .contact-file-control__button {
    outline: 1px solid rgba(161, 182, 197, .78);
    outline-offset: -3px;
    background: #3d464d;
}

/* Form action follows the same material / sweep as UŽSTATAS V3 buttons. */
.contact-page .contact-form__footer {
    margin-top: 34px;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-top: 1px solid rgba(222, 227, 230, .09);
}

.contact-page .contact-form__action {
    width: min(100%, 310px);
}

.contact-page .contact-form__submit {
    min-height: 54px;
    border: 1px solid rgba(222, 227, 230, .12);
    border-radius: 3px;
    background: #394147;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018),
                0 5px 10px -3px rgba(0,0,0,.31),
                0 1px 3px rgba(0,0,0,.22);
    color: #e5e7e4;
    transform: none;
    transition: border-color 260ms ease, background-color 260ms ease, box-shadow 280ms ease;
}

/* Necessary: author display:grid otherwise overrides the UA [hidden] default. */
.contact-page .contact-form__submit[hidden] {
    display: none !important;
}

.contact-page .contact-form__submit-label {
    padding: 0 20px;
    font-size: 11px;
    letter-spacing: .095em;
}

.contact-page .contact-form__submit svg {
    border-left: 1px solid rgba(222, 227, 230, .09);
    background: #343b41;
    stroke: #a1b6c5;
}

.contact-page .contact-form__submit::before {
    background: linear-gradient(108deg, transparent 0%,
        rgba(239, 238, 233, .014) 24%,
        rgba(239, 238, 233, .075) 48%,
        rgba(239, 238, 233, .014) 72%, transparent 100%);
    transition: left 620ms cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .contact-page .contact-form__submit:hover:not(:disabled),
    .contact-page .contact-form__submit:focus-visible:not(:disabled) {
        transform: none;
        background: #3d464d;
        border-color: rgba(161, 182, 197, .38);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.024),
                    0 7px 13px -4px rgba(0,0,0,.35),
                    0 2px 4px rgba(0,0,0,.24);
        color: #efeee9;
    }
    .contact-page .contact-form__submit:hover:not(:disabled)::before,
    .contact-page .contact-form__submit:focus-visible:not(:disabled)::before {
        left: 128%;
    }
    .contact-page .contact-form__submit:hover:not(:disabled) svg,
    .contact-page .contact-form__submit:focus-visible:not(:disabled) svg {
        background: #30373d;
        stroke: #c7d6df;
    }
}

.contact-page .contact-form__submit:disabled {
    cursor: wait;
    opacity: .72;
}

.contact-page .contact-form__submit:focus-visible {
    outline: 1px solid rgba(161, 182, 197, .78);
    outline-offset: 3px;
}

.contact-page .contact-form__privacy {
    flex: 0 1 auto;
    width: 100%;
    max-width: 600px;
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: #aeb4b2;
}

.contact-page .contact-form__privacy strong {
    color: #cdd0cc;
}

.contact-page .contact-form__privacy a {
    color: #a1b6c5;
    text-decoration: underline;
    text-decoration-color: rgba(161, 182, 197, .35);
    text-underline-offset: 3px;
}

.contact-page .contact-form__privacy a:hover,
.contact-page .contact-form__privacy a:focus-visible {
    color: #c7d6df;
    text-decoration-color: currentColor;
}

/* Subdued, accessible server error and success confirmations. */
.contact-page .contact-form__message--error {
    border-color: rgba(211, 105, 98, .50);
    background: rgba(111, 47, 43, .17);
    box-shadow: inset 2px 0 0 rgba(211, 105, 98, .70);
}

.contact-page .contact-form__sent {
    min-height: 54px;
    background: rgba(55, 121, 79, .14);
    border-color: rgba(92, 177, 124, .46);
    box-shadow: inset 2px 0 0 rgba(94, 190, 130, .65);
}

.contact-page .contact-form__sent[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .contact-page .contact-form-panel {
        padding: 30px 24px 34px;
    }
    .contact-page .contact-form-panel__heading {
        margin-bottom: 28px;
    }
    .contact-page .contact-form-panel__heading h3 {
        font-size: 29px;
    }
    .contact-page .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .contact-page .contact-field--wide {
        grid-column: auto;
    }
    .contact-page .contact-file-control {
        grid-template-columns: 1fr;
    }
    .contact-page .contact-file-control__button {
        border-right: 0;
        border-bottom: 1px solid rgba(222, 227, 230, .12);
    }
    .contact-page .contact-file-control__name {
        min-height: 43px;
    }
    .contact-page .contact-form__footer {
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .contact-page .contact-form-panel {
        padding: 28px 20px 32px;
    }
    .contact-page .contact-form-panel__heading h3 {
        font-size: 27px;
    }
    .contact-page .contact-form__action {
        width: 100%;
    }
    .contact-page .contact-form__submit {
        min-height: 52px;
        grid-template-columns: minmax(0, 1fr) 50px;
    }
    .contact-page .contact-form__submit-label {
        padding: 0 16px;
        font-size: 10.5px;
    }
    .contact-page .contact-form__submit svg {
        width: 50px;
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .contact-page .contact-form-panel {
        padding-left: 17px;
        padding-right: 17px;
    }
    .contact-page .contact-form__submit-label {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 10px;
    }
}

@media (hover: none), (pointer: coarse) {
    .contact-page .contact-form__submit::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-field input:not([type='file']),
    .contact-page .contact-field textarea,
    .contact-page .contact-file-control,
    .contact-page .contact-file-control__button,
    .contact-page .contact-form__submit,
    .contact-page .contact-form__submit svg {
        transition: none !important;
    }
    .contact-page .contact-form__submit::before { display: none !important; }
}
