/* Reference-site layout, recolored from the customer's supplied brand artwork. */
:root {
    --brand: #087caf;
    --brand-bright: #1085bd;
    --brand-deep: #125b81;
    --ink: #183848;
    --muted: #5e7380;
    --soft: #eef6fa;
    --line: #d9e6ed;
    --white: #fff;
    --shadow: 0 8px 28px rgb(26 70 92 / 8%);
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font: 14px/1.75 Arial, "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--white);
    overflow-wrap: break-word;
}
[hidden] {
    display: none !important;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}
img {
    max-width: 100%;
    height: auto;
}
button, input, select, textarea {
    font: inherit;
}
button, a, input, textarea {
    touch-action: manipulation;
}
h1, h2, h3, p, ul, ol, dl {
    margin: 0;
}
h1, h2, h3 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink);
}
h1 {
    font-size: 40px;
    letter-spacing: -1px;
}
h2 {
    font-size: 30px;
    letter-spacing: -0.6px;
}
h3 {
    font-size: 20px;
}
p + p {
    margin-top: 16px;
}
.container {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}
.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    vertical-align: middle;
}
.sr-only, .native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.section {
    padding: 76px 0;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.button, .icon-button, .select-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid var(--brand);
    border-radius: 3px;
    background: var(--brand);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: var(--white);
}
.button-outline, .nav-actions .icon-button, .nav-actions .nav-cart {
    color: var(--brand-deep);
    border: 1px solid #a9cadb;
    border-radius: 3px;
    background: transparent;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button-outline:hover, .nav-actions .icon-button:hover, .nav-actions .nav-cart:hover {
    color: var(--brand-deep);
    background: #e4f2f8;
    border-color: var(--brand);
}
.icon-button {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-color: transparent;
    background: transparent;
    color: var(--ink);
}
.icon-button:hover {
    color: var(--brand);
    background: var(--soft);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-deep);
    font-weight: 600;
}
.topbar {
    background: var(--soft);
    border-bottom: 1px solid #e1edf3;
}
.topbar-inner, .topbar-actions, .brand-row, .nav-inner, .nav-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-inner {
    min-height: 46px;
    gap: 24px;
}
.welcome {
    color: #506a79;
}
.topbar-actions {
    flex-shrink: 0;
    gap: 24px;
}
.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-deep);
    white-space: nowrap;
}
.topbar-phone .icon {
    width: 17px;
    height: 17px;
}
.language-control .custom-select {
    min-width: 80px;
}
.language-control .select-trigger {
    min-height: 42px;
    border: 0;
    padding: 5px 0 5px 8px;
    background: transparent;
    color: var(--ink);
    font-weight: 400;
    justify-content: center;
}
.language-control .select-options {
    left: auto;
    right: 0;
    min-width: 160px;
}
.brand-row {
    min-height: 116px;
    gap: 38px;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 72px;
    max-width: 100%;
}
.brand-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    max-width: 430px;
}
.brand-fact > .icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    color: var(--brand-bright);
    padding: 8px;
    border: 1px solid #badbea;
    border-radius: 50%;
}
.brand-fact strong, .brand-fact span {
    display: block;
}
.brand-fact strong {
    font-size: 17px;
    margin-bottom: 2px;
}
.brand-fact span {
    color: var(--muted);
    line-height: 1.55;
}
.nav-shell {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--white);
    box-shadow: 0 4px 18px rgb(27 76 101 / 10%);
}
.nav-inner {
    position: relative;
    min-height: 64px;
}
.desktop-nav {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.desktop-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
}
.desktop-nav a:first-child {
    padding-left: 0;
}
.desktop-nav a:hover, .desktop-nav [aria-current="page"] {
    color: var(--brand);
}
.desktop-nav a:hover::after, .desktop-nav [aria-current="page"]::after {
    content: "";
    position: absolute;
    height: 3px;
    background: var(--brand-bright);
    bottom: 8px;
    left: 20px;
    right: 20px;
}
.desktop-nav a:first-child::after {
    left: 0;
}
.nav-actions {
    gap: 10px;
    margin-left: auto;
}
.nav-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    gap: 9px;
    padding: 0 9px;
    font-weight: 600;
}
.cart-badge {
    position: absolute;
    right: -8px;
    top: -6px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    border-radius: 10px;
    color: var(--white);
    background: var(--brand);
    padding: 0 5px;
}
.global-search {
    position: absolute;
    display: flex;
    gap: 10px;
    z-index: 85;
    right: 0;
    top: 100%;
    padding: 24px;
    width: min(600px, calc(100vw - 48px));
    background: var(--white);
    border-top: 3px solid var(--brand);
    box-shadow: 0 12px 30px rgb(16 45 65 / 16%);
}
.global-search input[type="search"] {
    flex: 1;
    min-width: 0;
}
.global-search .button {
    flex-shrink: 0;
}
.mobile-menu-toggle {
    display: none;
}
.drawer-open {
    overflow: hidden;
}
.mobile-nav {
    position: fixed;
    z-index: 110;
    inset: 0 auto 0 0;
    width: min(320px, 86vw);
    padding: 24px;
    background: var(--white);
    overflow-y: auto;
    box-shadow: 8px 0 50px rgb(16 45 65 / 15%);
}
.mobile-nav > a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}
.mobile-nav [aria-current="page"] {
    color: var(--brand);
}
.drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 20px;
}
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgb(23 54 70 / 40%);
}
.page-heading {
    padding: 45px 0;
    background: #eaf4f9;
    border-bottom: 1px solid #ddebf3;
}
.page-heading p {
    color: var(--brand-deep);
    margin-bottom: 8px;
}
.compact-heading {
    padding: 24px 0;
}
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0 30px;
}
.form-group {
    width: calc(50% - 12px);
    min-width: 0;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
input:not([type="checkbox"]), textarea {
    max-width: 100%;
    padding: 12px 14px;
    min-height: 47px;
    border: 1px solid #cbdde7;
    border-radius: 3px;
    color: var(--ink);
    background: var(--white);
    transition: border-color 150ms;
}
input::placeholder, textarea::placeholder {
    color: #788d98;
}
input:hover, textarea:hover {
    border-color: #8ab6cd;
}
.form-group input, .form-group textarea {
    width: 100%;
}
textarea {
    resize: vertical;
}
.full-width {
    width: 100%;
}
.field-error {
    margin: 5px 0 0;
    color: #aa3030;
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
}
[aria-invalid="true"] {
    border-color: #bd4949 !important;
}
.required-note {
    color: var(--muted);
    margin-top: 12px;
}
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
.notice {
    padding: 16px 20px;
    margin: 16px 0;
    background: #fff2ef;
    border-left: 3px solid #bd4949;
    color: #9e3131;
}
.notice.success {
    background: #edf7f0;
    border-color: #428761;
    color: #286640;
}
.empty-state {
    padding: 70px 24px;
    text-align: center;
    color: var(--muted);
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.empty-state h2 {
    font-size: 24px;
    margin-bottom: 26px;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}
.pagination > p {
    color: var(--muted);
    flex-basis: 100%;
}
.pagination > div {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.pagination a, .pagination .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    min-width: 40px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 3px;
}
.pagination [aria-current="page"] {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}
.pagination .disabled {
    color: #8c9ca5;
    background: #f4f7f9;
}
.pagination label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pagination .custom-select {
    min-width: 70px;
}
.contact-list > div {
    margin-top: 18px;
}
.contact-list > div:first-child {
    margin-top: 0;
}
.contact-list dt {
    color: var(--muted);
    margin-bottom: 3px;
}
.contact-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.address-map-link:hover {
    text-decoration: none;
}
.site-footer {
    padding-top: 60px;
    background: #edf4f8;
    border-top: 1px solid #dceaf2;
}
.site-footer a:hover {
    color: var(--brand);
}
.footer-columns {
    display: flex;
    align-items: flex-start;
    gap: 42px;
    padding-bottom: 46px;
}
.footer-columns > section {
    flex: 1;
    min-width: 0;
}
.footer-columns .footer-brand {
    flex: 1.9;
}
.footer-columns .footer-contact {
    flex: 1.75;
}
.footer-columns h2 {
    font-size: 18px;
    margin-bottom: 22px;
    letter-spacing: 0;
}
.footer-brand .brand-logo {
    margin-bottom: 24px;
}
.footer-brand .brand-logo img {
    max-height: 62px;
}
.footer-brand p {
    color: var(--muted);
    margin-bottom: 18px;
}
.footer-brand h2 {
    margin-bottom: 12px;
}
.footer-columns nav a {
    display: block;
    padding: 4px 0;
    margin-bottom: 6px;
}
.footer-columns .contact-list > div {
    margin-top: 12px;
    line-height: 1.6;
}
.copyright {
    padding: 20px 0;
    border-top: 1px solid #d4e3eb;
    color: var(--muted);
    text-align: center;
}
.screen-loading {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    inset: 0;
    background: rgb(255 255 255 / 94%);
    z-index: 150;
}
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 24px;
    max-width: 90vw;
    background: var(--ink);
    color: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow);
    z-index: 160;
}
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 3px;
    color: var(--white);
    background: var(--brand);
    box-shadow: 0 4px 20px rgb(23 77 105 / 20%);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.back-to-top:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: var(--white);
}
@media (max-width: 1180px) {
    .brand-fact {
        max-width: 360px;
    }
    .brand-row {
        gap: 24px;
    }
    .footer-columns {
        gap: 28px;
    }
}
@media (max-width: 900px) {
    h1 {
        font-size: 34px;
    }
    h2 {
        font-size: 28px;
    }
    .section {
        padding: 56px 0;
    }
    .brand-row {
        min-height: 100px;
    }
    .brand-logo img {
        max-height: 62px;
    }
    .brand-fact {
        display: none;
    }
    .topbar-inner {
        gap: 12px;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .nav-inner {
        min-height: 58px;
    }
    .nav-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 26px;
    }
    .footer-columns {
        flex-wrap: wrap;
        gap: 32px;
    }
    .footer-columns .footer-brand {
        flex: 0 0 100%;
    }
    .footer-brand p {
        max-width: 540px;
    }
    .form-grid {
        gap: 20px;
    }
    .form-group {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }
    h1 {
        font-size: 29px;
        letter-spacing: -0.6px;
    }
    h2 {
        font-size: 25px;
    }
    .section {
        padding: 42px 0;
    }
    .topbar-inner {
        min-height: 58px;
    }
    .welcome {
        line-height: 1.5;
        max-width: 66%;
        font-size: 14px;
        padding: 8px 0;
    }
    .topbar-phone {
        display: none;
    }
    .topbar-actions {
        gap: 0;
    }
    .brand-row {
        min-height: 94px;
    }
    .brand-logo img {
        max-height: 56px;
    }
    .brand-cta {
        padding: 9px 12px;
        min-height: 40px;
    }
    .brand-cta .icon {
        display: none;
    }
    .nav-actions {
        gap: 20px;
    }
    .cart-label {
        display: none;
    }
    .global-search {
        padding: 16px;
        width: calc(100vw - 32px);
        flex-wrap: wrap;
    }
    .global-search input[type="search"] {
        flex-basis: 100%;
    }
    .global-search .button {
        width: 100%;
    }
    .page-heading {
        padding: 30px 0;
    }
    .compact-heading {
        padding: 20px 0;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .footer-columns {
        display: block;
    }
    .footer-columns > section + section {
        margin-top: 34px;
    }
    .footer-columns h2 {
        margin-bottom: 15px;
    }
    .site-footer {
        padding-top: 42px;
    }
    .back-to-top {
        bottom: 18px;
        right: 16px;
    }
    .form-actions {
        flex-wrap: wrap;
    }
    .form-actions .button {
        width: 100%;
    }
}
