/*
Theme Name: Kejiada Furniture
Theme URI: https://example.com/kejiada-furniture
Author: OpenAI
Description: 柯佳达办公家具企业站主题。产品使用普通文章模型，包含产品中心、空间配套、订购意向记录与双模式客服弹窗。
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kejiada-furniture
*/

:root {
    --navy: #17364d;
    --navy-deep: #0c2436;
    --navy-soft: #274d66;
    --gold: #c99a35;
    --gold-dark: #a9791d;
    --gold-soft: #f6ead0;
    --beige: #fbf5e9;
    --paper: #ffffff;
    --soft: #f5f6f7;
    --line: #e3e6e8;
    --text: #1f252a;
    --muted: #6f777e;
    --radius: 8px;
    --shadow: 0 12px 32px rgba(20, 42, 56, 0.08);
    --container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.container--narrow {
    width: min(calc(100% - 40px), 900px);
}

.section {
    padding: 76px 0;
}

.section--soft {
    background: var(--soft);
}

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

.skip-link:focus {
    position: fixed !important;
    top: 8px;
    left: 8px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    color: #fff;
    background: var(--navy-deep);
    border-radius: 4px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    color: #fff;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button:hover,
.button:focus {
    color: #fff;
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    transform: translateY(-1px);
}

.button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

.button--gold {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
}

.button--gold:hover,
.button--gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.button--outline {
    color: var(--navy);
    background: transparent;
    border-color: var(--navy);
}

.button--outline:hover,
.button--outline:focus {
    color: #fff;
    background: var(--navy);
}

.button--light-outline {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .65);
}

.button--light-outline:hover,
.button--light-outline:focus {
    color: var(--navy-deep);
    background: #fff;
    border-color: #fff;
}

.button--large {
    min-height: 50px;
    padding: 13px 28px;
}

.button--pill {
    border-radius: 999px;
}

.button--full {
    width: 100%;
}

.site-topbar {
    color: rgba(255, 255, 255, .8);
    background: var(--navy-deep);
    font-size: 13px;
}

.site-topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-topbar p {
    margin: 0;
}

.site-topbar__meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-topbar__meta a {
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
}

.site-header {
    position: relative;
    z-index: 50;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 35, 48, .06);
}

.site-header__brand-row {
    background: #fff;
}

.site-header__brand-inner {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-branding__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-branding__logo img,
.site-branding__logo .custom-logo {
    width: auto;
    height: 76px;
    max-width: 190px;
    object-fit: contain;
}

.site-branding__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.site-branding__text strong {
    color: var(--navy-deep);
    font-size: clamp(21px, 2.1vw, 28px);
    line-height: 1.3;
    letter-spacing: .04em;
    white-space: nowrap;
}

.site-branding__text span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.header-hotline {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-deep);
}

.header-hotline__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-size: 22px;
}

.header-hotline span:last-child {
    display: flex;
    flex-direction: column;
}

.header-hotline small {
    color: var(--muted);
    font-size: 13px;
}

.header-hotline strong {
    color: var(--gold-dark);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: .04em;
}

.site-header__nav-row {
    background: var(--navy);
}

.site-header__nav-inner {
    min-height: 52px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.main-navigation {
    min-width: 0;
    flex: 1 1 auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation > ul,
.main-navigation .menu {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    font-size: 15px;
    transition: background-color .2s ease, color .2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #fff;
    background: var(--gold);
}

.header-consult-button {
    min-width: 150px;
    padding: 0 24px;
    color: #fff;
    background: var(--gold);
    border: 0;
    font-weight: 800;
}

.header-consult-button:hover,
.header-consult-button:focus {
    background: var(--gold-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.menu-toggle__line {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.home-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    overflow: hidden;
    background: var(--navy-deep);
}

.home-hero__media {
    position: absolute;
    inset: 0;
}

.home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 25, 38, .92) 0%, rgba(7, 25, 38, .78) 42%, rgba(7, 25, 38, .26) 72%, rgba(7, 25, 38, .1) 100%);
}

.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 520px;
}

.home-hero__content {
    width: min(610px, 58%);
    padding: 62px 0;
    color: #fff;
}

.home-hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #efc66f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .22em;
}

.home-hero__company {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    font-weight: 700;
}

.home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.13;
    letter-spacing: .03em;
}

.home-hero__description {
    max-width: 520px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
}

.home-hero__phone {
    display: inline-flex;
    flex-direction: column;
    margin-top: 24px;
}

.home-hero__phone small {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.home-hero__phone strong {
    color: #efc66f;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: .05em;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-category-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.home-category-strip__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.home-category-strip a {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 10px;
    border-right: 1px solid var(--line);
    transition: background-color .2s ease, color .2s ease;
}

.home-category-strip a:first-child {
    border-left: 1px solid var(--line);
}

.home-category-strip a:hover,
.home-category-strip a:focus {
    color: #fff;
    background: var(--navy);
}

.home-category-strip span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.home-category-strip strong {
    font-size: 16px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.section-title > div > span,
.section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.section-title h2 {
    margin: 0;
    color: var(--navy-deep);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
}

.section-title > a {
    color: var(--navy);
    font-weight: 700;
}

.section-title > a:hover,
.section-title > a:focus {
    color: var(--gold-dark);
}

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

.product-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 154, 53, .5);
    box-shadow: var(--shadow);
}

.product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f3;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

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

.product-card__view {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    color: #fff;
    background: rgba(12, 36, 54, .9);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.product-card:hover .product-card__view {
    opacity: 1;
    transform: translateY(0);
}

.product-card__body {
    padding: 17px 18px 20px;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 12px;
}

.product-card__meta small {
    color: var(--muted);
}

.product-card h3 {
    margin: 0;
    color: var(--navy-deep);
    font-size: 18px;
    line-height: 1.45;
}

.product-card h3 a:hover,
.product-card h3 a:focus {
    color: var(--gold-dark);
}

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

.solution-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: var(--navy);
}

.solution-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 28, 42, .86) 100%);
}

.solution-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform .4s ease;
}

.solution-card:hover img {
    transform: scale(1.04);
}

.solution-card > div {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 22px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.solution-card span {
    color: #efc66f;
    font-weight: 800;
}

.solution-card h3 {
    margin: 0;
    font-size: 23px;
}

.solution-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 64px;
    align-items: center;
}

.home-about__content h2 {
    margin: 8px 0 18px;
    color: var(--navy-deep);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.3;
}

.home-about__content > p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.home-about__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-about__facts > div {
    padding: 18px 16px;
    border-right: 1px solid var(--line);
}

.home-about__facts > div:first-child {
    padding-left: 0;
}

.home-about__facts > div:last-child {
    border-right: 0;
}

.home-about__facts strong,
.home-about__facts span {
    display: block;
}

.home-about__facts strong {
    color: var(--gold-dark);
    font-size: 26px;
}

.home-about__facts span {
    color: var(--muted);
    font-size: 13px;
}

.home-about__license {
    position: relative;
    display: block;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.home-about__license img {
    width: 100%;
    aspect-ratio: 1.46 / 1;
    object-fit: contain;
    background: #fafafa;
}

.home-about__license span {
    position: absolute;
    right: 28px;
    bottom: 26px;
    padding: 7px 12px;
    color: #fff;
    background: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.page-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 34, 51, .98), rgba(23, 54, 77, .92)),
        url("assets/images/pattern.svg") center / cover;
}

.page-hero .breadcrumbs {
    padding-top: 18px;
    color: rgba(255, 255, 255, .65);
}

.page-hero .breadcrumbs a {
    color: rgba(255, 255, 255, .8);
}

.page-hero__inner {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 0 42px;
}

.page-hero__brand {
    color: #efc66f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.page-hero h1 {
    margin: 6px 0 5px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
}

.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.page-hero__phone {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-width: 240px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, .08);
    border-left: 3px solid var(--gold);
}

.page-hero__phone small {
    color: rgba(255, 255, 255, .65);
}

.page-hero__phone strong {
    color: #efc66f;
    font-size: 26px;
    line-height: 1.3;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: var(--gold-dark);
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    padding: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.product-filter a {
    padding: 8px 18px;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
}

.product-filter a:hover,
.product-filter a:focus,
.product-filter a.is-active {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.pagination-wrap {
    margin-top: 40px;
}

.pagination-wrap ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pagination-wrap a,
.pagination-wrap span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
}

.pagination-wrap .current {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.simple-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 32px 38px;
    background: #fff;
    border-left: 5px solid var(--gold);
    box-shadow: var(--shadow);
}

.simple-cta h2 {
    margin: 0 0 5px;
    color: var(--navy-deep);
}

.simple-cta p {
    margin: 0;
    color: var(--muted);
}

.product-title-bar {
    padding: 18px 0 24px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.product-title-bar h1 {
    margin: 9px 0 0;
    color: var(--navy-deep);
    font-size: clamp(28px, 3vw, 38px);
}

.product-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    gap: 48px;
    align-items: start;
}

.product-gallery__main {
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
}

.product-gallery__main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    transition: opacity .15s ease;
}

.product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-gallery__thumbs button {
    width: 78px;
    height: 68px;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}

.product-gallery__thumbs button.is-active {
    border: 2px solid var(--gold);
}

.product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary {
    padding: 4px 0;
}

.product-summary__brand {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.product-summary h2 {
    margin: 8px 0 14px;
    color: var(--navy-deep);
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.25;
}

.product-summary__lead {
    margin: 0 0 22px;
    color: var(--muted);
}

.product-specs {
    margin: 0;
    border-top: 1px solid var(--line);
}

.product-specs > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.product-specs dt {
    color: var(--muted);
}

.product-specs dd {
    margin: 0;
    color: var(--navy-deep);
    font-weight: 700;
}

.product-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.product-service-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 24px;
    border: 1px solid var(--line);
}

.product-service-row span {
    padding: 13px 8px;
    color: var(--muted);
    text-align: center;
    border-right: 1px solid var(--line);
    font-size: 12px;
}

.product-service-row span:last-child {
    border-right: 0;
}

.product-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding: 15px 20px;
    background: #fff;
    border-left: 5px solid var(--gold);
    border-bottom: 1px solid var(--line);
}

.product-section-heading h2 {
    margin: 0;
    color: var(--navy-deep);
}

.product-section-heading span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .18em;
}

.product-content {
    padding: 34px 38px;
    background: #fff;
    border: 1px solid var(--line);
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--navy-deep);
    line-height: 1.35;
}

.entry-content h2 {
    margin: 38px 0 16px;
    padding-left: 13px;
    border-left: 4px solid var(--gold);
    font-size: 26px;
}

.entry-content h3 {
    margin: 28px 0 12px;
    font-size: 21px;
}

.entry-content p {
    margin: 0 0 18px;
}

.entry-content img {
    margin: 24px auto;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
}

.entry-content th,
.entry-content td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.entry-content th {
    width: 160px;
    color: var(--navy-deep);
    background: var(--soft);
}

.entry-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    color: var(--navy-deep);
    background: var(--beige);
    border-left: 4px solid var(--gold);
}

.product-inquiry-section {
    background: #f3f3f3;
}

.product-inquiry-form {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 26px 24px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(30, 42, 50, .08);
}

.product-inquiry-form__heading {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.product-inquiry-form__heading h2 {
    margin: 0;
    color: #111;
    font-size: 21px;
}

.form-field {
    margin-bottom: 13px;
}

.form-field label {
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-size: 14px;
}

.form-field label b {
    color: #c1392b;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 9px 12px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d5d8da;
    border-radius: 6px;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input {
    height: 38px;
}

.form-field textarea {
    min-height: 96px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #222;
    box-shadow: 0 0 0 1px #222;
}

.form-field--honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.product-inquiry-form__status {
    min-height: 24px;
    margin: 9px 0 0;
    font-size: 14px;
}

.product-inquiry-form__status.is-error {
    color: #a12a20;
}

.product-inquiry-form__status.is-success {
    color: #257041;
}

.product-inquiry-form__note {
    margin: 2px 0 0;
    color: #8a8f93;
    font-size: 13px;
}

.product-direct-call {
    padding: 20px 0 34px;
    background: #f3f3f3;
}

.product-direct-call__inner,
.footer-sales-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 23px 30px;
    text-align: center;
    background: var(--beige);
    border-radius: 10px;
}

.product-direct-call__inner > div,
.footer-sales-strip__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-direct-call strong,
.footer-sales-strip strong {
    color: #111;
    font-size: 17px;
}

.product-direct-call p,
.footer-sales-strip p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 4px 0 0;
}

.product-direct-call b,
.footer-sales-strip b {
    color: var(--gold-dark);
    font-weight: 500;
}

.footer-sales-strip {
    padding: 24px 0;
    background: #f3f3f3;
}

.site-footer {
    color: rgba(255, 255, 255, .72);
    background: var(--navy-deep);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr .9fr 1.2fr;
    gap: 46px;
    padding-top: 60px;
    padding-bottom: 52px;
}

.footer-brand__logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand__logo img {
    width: auto;
    height: 72px;
    max-width: 180px;
    object-fit: contain;
}

.footer-brand h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
}

.footer-column h3 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 17px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin: 8px 0;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #efc66f;
}

.footer-contact p {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    margin: 9px 0;
}

.footer-contact span {
    color: rgba(255, 255, 255, .45);
}

.footer-contact strong {
    font-weight: 500;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer__bottom-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.site-footer__bottom p {
    margin: 0;
}

.mobile-contact-bar {
    display: none;
}

.kfd-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    padding: 20px;
}

.kfd-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 25, .72);
    backdrop-filter: blur(3px);
}

.kfd-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 4vh auto 0;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.kfd-modal__dialog--contact {
    margin-top: 9vh;
}

.kfd-modal__x {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    color: var(--muted);
    background: transparent;
    border: 0;
    font-size: 30px;
    line-height: 1;
}

.modal-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.kfd-modal h2 {
    margin: 0 0 8px;
    color: var(--navy-deep);
    font-size: 28px;
}

.kfd-modal__topic,
.kfd-modal__hint,
.kfd-modal #kfd-inquiry-description {
    margin: 0 0 18px;
    color: var(--muted);
}

.kfd-modal__success-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
}

.kfd-contact-copy-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 12px;
}

.kfd-contact-copy {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.kfd-contact-copy--plain {
    display: grid;
    grid-template-columns: 90px 1fr;
    justify-content: start;
}

.kfd-contact-copy > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.kfd-contact-copy span {
    color: var(--muted);
    font-size: 12px;
}

.kfd-contact-copy strong {
    color: var(--navy-deep);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.copy-button {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 8px 12px;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--navy);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.copy-button:hover,
.copy-button:focus,
.copy-button.is-copied {
    color: #fff;
    background: var(--navy);
}

.kfd-copy-status {
    min-height: 24px;
    margin: 8px 0;
    color: var(--gold-dark);
    font-size: 13px;
}

.kfd-confirm-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 16px;
    color: var(--text);
    font-size: 14px;
}

.kfd-confirm-check input {
    margin-top: 5px;
}

.kfd-modal__locked-note {
    margin: 10px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

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

.solution-detail-card {
    display: grid;
    grid-template-columns: 44% 1fr;
    min-height: 230px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}

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

.solution-detail-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
}

.solution-detail-card span {
    color: var(--gold-dark);
    font-weight: 800;
}

.solution-detail-card h2 {
    margin: 4px 0 8px;
    color: var(--navy-deep);
    font-size: 23px;
}

.solution-detail-card p {
    margin: 0;
    color: var(--muted);
}

.solutions-page__content {
    margin-top: 44px;
}

.about-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 62px;
    align-items: start;
}

.about-page__content h2 {
    margin: 8px 0 18px;
    color: var(--navy-deep);
    font-size: clamp(28px, 3vw, 40px);
}

.company-data {
    margin: 28px 0;
    border-top: 1px solid var(--line);
}

.company-data > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.company-data dt {
    color: var(--muted);
}

.company-data dd {
    margin: 0;
    color: var(--navy-deep);
    font-weight: 600;
}

.about-page__license {
    position: relative;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-page__license img {
    width: 100%;
    background: #fafafa;
}

.about-page__license span {
    display: block;
    padding: 12px 4px 0;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.compact-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.compact-feature-grid article {
    padding: 28px 22px;
    background: #fff;
    border-top: 3px solid var(--gold);
}

.compact-feature-grid strong {
    color: var(--gold-dark);
    font-size: 13px;
}

.compact-feature-grid h3 {
    margin: 7px 0 0;
    color: var(--navy-deep);
    font-size: 18px;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
}

.contact-page__panel,
.contact-page__address {
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-page h2 {
    margin: 8px 0 20px;
    color: var(--navy-deep);
}

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

.contact-list-large > div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list-large span,
.contact-page__address > span {
    color: var(--muted);
}

.contact-list-large strong,
.contact-list-large a {
    color: var(--navy-deep);
    font-weight: 700;
}

.contact-list-large a {
    font-size: 21px;
}

.contact-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.contact-page__map {
    min-height: 320px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--navy);
    background:
        linear-gradient(rgba(23, 54, 77, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 54, 77, .08) 1px, transparent 1px),
        #f3f6f7;
    background-size: 34px 34px;
    border: 1px solid var(--line);
}

.map-pin {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gold);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    font-size: 26px;
    font-weight: 800;
}

.map-pin i {
    display: block;
    font-style: normal;
    transform: rotate(45deg);
}

.contact-page__extra {
    margin-top: 50px;
}

.article-single__header {
    padding: 70px 0 38px;
    background: var(--soft);
}

.article-single__header h1 {
    margin: 8px 0 0;
    color: var(--navy-deep);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.25;
}

.article-single__cover {
    margin-top: 40px;
}

.article-single__cover img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.article-single__content {
    padding: 52px 0 76px;
}

.generic-page {
    min-height: 420px;
}

.empty-card,
.no-results {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: var(--soft);
    border: 1px solid var(--line);
}

.widget,
.search-form,
.archive-intro {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

@media (max-width: 1100px) {
    .site-branding__text strong {
        font-size: 21px;
    }

    .site-branding__logo img,
    .site-branding__logo .custom-logo {
        height: 66px;
        max-width: 165px;
    }

    .main-navigation a {
        padding: 0 20px;
    }

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

    .site-footer__grid {
        grid-template-columns: 1.2fr .8fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact p {
        max-width: 760px;
    }
}

@media (max-width: 920px) {
    body {
        padding-bottom: 58px;
    }

    .site-topbar__meta span {
        display: none;
    }

    .site-header__brand-inner {
        min-height: 78px;
    }

    .site-branding {
        gap: 12px;
    }

    .site-branding__logo img,
    .site-branding__logo .custom-logo {
        height: 54px;
        max-width: 125px;
    }

    .site-branding__text {
        padding-left: 12px;
    }

    .site-branding__text strong {
        max-width: 52vw;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 17px;
        white-space: nowrap;
    }

    .site-branding__text span {
        margin-top: 2px;
        font-size: 10px;
    }

    .header-hotline {
        display: none;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-header__nav-row {
        position: relative;
        background: #fff;
    }

    .site-header__nav-inner {
        min-height: 0;
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 0;
        right: 20px;
        left: 20px;
        z-index: 20;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation > ul,
    .main-navigation .menu {
        display: block;
        height: auto;
    }

    .main-navigation a {
        min-height: 46px;
        padding: 0 16px;
        color: var(--navy);
        border-bottom: 1px solid var(--line);
    }

    .main-navigation li:last-child a {
        border-bottom: 0;
    }

    .main-navigation a:hover,
    .main-navigation a:focus,
    .main-navigation .current-menu-item > a,
    .main-navigation .current_page_item > a {
        color: #fff;
    }

    .header-consult-button {
        display: none;
    }

    .home-hero,
    .home-hero__inner {
        min-height: 470px;
    }

    .home-hero__content {
        width: 76%;
    }

    .home-category-strip__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-category-strip a:nth-child(3) {
        border-right: 1px solid var(--line);
    }

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

    .solution-card-grid {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .solution-card img {
        min-height: 270px;
    }

    .home-about__grid,
    .about-page__grid,
    .contact-page__grid,
    .product-overview__grid {
        grid-template-columns: 1fr;
    }

    .product-overview__grid {
        gap: 34px;
    }

    .home-about__license,
    .about-page__license {
        max-width: 620px;
    }

    .solutions-page__grid {
        grid-template-columns: 1fr;
    }

    .compact-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .mobile-contact-bar {
        position: fixed;
        z-index: 500;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 58px;
        background: #fff;
        box-shadow: 0 -6px 20px rgba(10, 30, 44, .14);
    }

    .mobile-contact-bar a,
    .mobile-contact-bar button {
        display: grid;
        place-items: center;
        border: 0;
        font-weight: 800;
    }

    .mobile-contact-bar a {
        color: var(--navy);
        background: #fff;
    }

    .mobile-contact-bar button {
        color: #fff;
        background: var(--gold);
    }
}

@media (max-width: 640px) {
    .container,
    .container--narrow {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 54px 0;
    }

    .site-topbar__inner {
        justify-content: center;
    }

    .site-topbar p {
        display: none;
    }

    .site-topbar__meta {
        gap: 0;
    }

    .site-branding__logo img,
    .site-branding__logo .custom-logo {
        height: 47px;
        max-width: 105px;
    }

    .site-branding__text strong {
        max-width: 49vw;
        font-size: 15px;
        letter-spacing: 0;
    }

    .site-branding__text span {
        letter-spacing: .08em;
    }

    .home-hero,
    .home-hero__inner {
        min-height: 500px;
    }

    .home-hero__media::after {
        background: rgba(7, 25, 38, .74);
    }

    .home-hero__content {
        width: 100%;
        text-align: center;
    }

    .home-hero__company {
        font-size: 15px;
    }

    .home-hero h1 {
        font-size: 40px;
    }

    .home-hero__description {
        font-size: 16px;
    }

    .home-hero__phone {
        align-items: center;
    }

    .home-hero__phone strong {
        font-size: 27px;
    }

    .home-hero__actions {
        justify-content: center;
    }

    .home-category-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-category-strip a {
        min-height: 76px;
        justify-content: flex-start;
        padding-left: 18px;
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .product-grid {
        gap: 14px;
    }

    .product-card__body {
        padding: 12px;
    }

    .product-card h3 {
        font-size: 15px;
    }

    .product-card__meta {
        display: block;
        margin-bottom: 5px;
    }

    .product-card__meta small {
        display: none;
    }

    .solution-card,
    .solution-card img {
        min-height: 230px;
    }

    .solution-card h3 {
        font-size: 20px;
    }

    .solution-actions,
    .product-summary__actions,
    .contact-page__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .solution-actions .button,
    .product-summary__actions .button,
    .contact-page__actions .button {
        width: 100%;
    }

    .home-about__grid {
        gap: 36px;
    }

    .home-about__facts > div {
        padding: 14px 8px;
    }

    .home-about__facts strong {
        font-size: 22px;
    }

    .page-hero__inner {
        min-height: 170px;
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero__phone {
        width: 100%;
        min-width: 0;
    }

    .product-filter {
        gap: 7px;
        padding: 10px;
    }

    .product-filter a {
        padding: 7px 12px;
        font-size: 13px;
    }

    .simple-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 24px;
    }

    .product-overview__grid {
        gap: 28px;
    }

    .product-summary h2 {
        font-size: 30px;
    }

    .product-specs > div {
        grid-template-columns: 88px 1fr;
        gap: 12px;
    }

    .product-service-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-service-row span:nth-child(2) {
        border-right: 0;
    }

    .product-service-row span:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .product-content {
        padding: 24px 18px;
    }

    .product-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-inquiry-form {
        padding: 22px 16px 18px;
        border-radius: 8px;
    }

    .product-direct-call__inner,
    .footer-sales-strip__inner {
        align-items: center;
        flex-direction: column;
        gap: 18px;
        padding: 22px 18px;
    }

    .product-direct-call strong,
    .footer-sales-strip strong {
        font-size: 16px;
    }

    .solution-detail-card {
        grid-template-columns: 1fr;
    }

    .solution-detail-card img {
        height: 210px;
    }

    .compact-feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-page__panel,
    .contact-page__address {
        padding: 26px 20px;
    }

    .contact-page__map {
        min-height: 240px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 46px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .kfd-modal {
        padding: 12px;
    }

    .kfd-modal__dialog,
    .kfd-modal__dialog--contact {
        margin-top: 2vh;
        padding: 26px 18px;
    }

    .kfd-contact-copy {
        align-items: stretch;
        flex-direction: column;
    }

    .copy-button {
        width: 100%;
    }
}
