/* Shared foundation — graphite, warm ivory and brushed copper. */
:root {
    --ink: #303537;
    --muted: #69706e;
    --paper: #faf9f6;
    --sand: #f0efeb;
    --line: #dcdcd4;
    --copper: #98714d;
    --copper-light: #c7a27a;
    --page-gutter: clamp(24px, 5vw, 100px);
    --header-height: 128px;
    --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open, body.modal-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
    opacity: .4;
}

button, input, select, textarea {
    border-radius: 0;
}

button {
    background: none;
    border: 0;
}

input, textarea, select {
    min-width: 0;
}

textarea {
    resize: vertical;
}

figure, p, h1, h2, h3, ul, ol, dl {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 700;
}

h1, h2 {
    letter-spacing: 0;
}

h2 {
    font-size: clamp(28px, 3vw, 46px);
}

h3 {
    font-size: 23px;
}

p + p {
    margin-top: 18px;
}

::selection {
    background: #c7a27a;
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    vertical-align: middle;
}

.wrap {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: 1760px;
    margin-inline: auto;
}

.section-pad {
    padding: clamp(72px, 7vw, 120px) var(--page-gutter);
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.6;
    color: var(--copper);
    margin-bottom: 22px;
}

.lead {
    font-size: clamp(19px, 1.6vw, 24px);
    line-height: 1.7;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: -80px;
    z-index: 1000;
    padding: 10px 24px;
    background: white;
}

.skip-link:focus {
    top: 12px;
}

/* Header and category navigation. */
.site-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #d5d6d0;
}

.header-meta {
    height: 33px;
    padding: 0 3vw;
    background: #303537;
    color: #e5e4df;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0;
}

.header-meta a {
    margin-left: 24px;
    color: #dfcbb2;
    font-weight: 700;
}

.header-main {
    height: 94px;
    padding: 0 3vw;
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(110deg, #f1f0ec 22%, #fff 22%);
}

small {
    font-size: 13px;
}

.main-nav > ul > li > a {
    font-weight: 700;
}

.site-header.scrolled {
    box-shadow: 0 4px 25px #0000000a;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.brand img {
    width: 250px;
    height: 83px;
    object-fit: contain;
}

.main-nav {
    margin-left: auto;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.7vw, 30px);
    list-style: none;
    padding: 0;
}

.main-nav > ul > li {
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a {
    position: relative;
    font-size: 15px;
    letter-spacing: 0;
    padding: 30px 0;
    white-space: nowrap;
}

.main-nav > ul > li > a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 25px;
    width: 0;
    height: 3px;
    background: var(--copper);
    transition: width .25s;
}

.main-nav > ul > li > a:hover::after, .main-nav a[aria-current="page"]::after {
    width: 100%;
}

.header-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 18px;
    background: #303537;
    color: white;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    border-left: 3px solid #b49a7c;
}

.header-call:hover {
    background: var(--copper);
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 4px;
    width: 24px;
    height: 44px;
    flex-shrink: 0;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 3vw;
    right: 3vw;
    padding: 28px 36px 36px;
    background: var(--paper);
    border-top: 2px solid var(--copper);
    box-shadow: 0 20px 30px #00000014;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.has-submenu.is-open .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.mega-heading {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0;
}

.mega-heading > span {
    color: var(--copper);
}

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

.mega-grid a {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 15px;
}

.mega-grid a:hover {
    color: var(--copper);
}

.mega-grid small {
    color: #999;
}

.menu-toggle {
    display: none;
}

/* Shared editorial components. */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 16px 24px;
    background: var(--ink);
    border: 1px solid var(--ink);
    color: white;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.5;
    transition: background .25s, color .25s, border-color .25s;
}

.button:hover {
    background: var(--copper);
    border-color: var(--copper);
    color: white;
}

.button .icon {
    transition: transform .25s;
}

.button:hover .icon {
    transform: translateX(4px);
}

.button-light {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.button-line {
    background: transparent;
    color: var(--ink);
    border-color: #a8aba4;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 8px;
}

.text-link:hover {
    color: var(--copper);
}

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

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 22px;
}

.section-heading .button {
    flex-shrink: 0;
}

.page-hero {
    height: clamp(330px, 31vw, 500px);
    position: relative;
    background: var(--ink);
    overflow: hidden;
    color: white;
}

.page-hero > img {
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    opacity: .58;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #141b1fd6, transparent 85%);
}

.page-hero-copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px var(--page-gutter);
}

.page-hero .eyebrow {
    color: #dfc5a7;
}

.page-hero h1 {
    font-size: clamp(40px, 4.5vw, 68px);
    margin-bottom: 24px;
}

.page-hero-copy > p:last-child {
    font-size: 16px;
    color: #eee;
}

.hero-corner {
    position: absolute;
    z-index: 1;
    width: 150px;
    height: 150px;
    right: var(--page-gutter);
    bottom: 40px;
    border-right: 1px solid #ffffff50;
    border-bottom: 1px solid #ffffff50;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--copper);
}

.breadcrumb [aria-current] {
    color: var(--ink);
}

.prose {
    color: #626762;
    line-height: 1.85;
}

.prose h2, .prose h3 {
    color: var(--ink);
    margin: 35px 0 18px;
}

.prose h2 {
    font-size: 28px;
}

.prose h3 {
    font-size: 21px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose ul {
    padding-left: 22px;
}

.prose li {
    padding: 8px 0;
}

.short-rule {
    width: 45px;
    border-top: 2px solid var(--copper);
    margin: 28px 0;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-tabs button {
    border: 1px solid var(--line);
    padding: 10px 22px;
    font-size: 14px;
}

.filter-tabs button.active, .filter-tabs button:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}

.empty-state .button {
    margin-top: 24px;
}

/* Reusable lists are shared by home, list and detail pages. */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    aspect-ratio: 1.22;
    object-fit: cover;
    transition: transform .65s;
}

.service-card:hover img, .news-card:hover img {
    transform: scale(1.035);
}

.service-card .eyebrow {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p:last-child {
    font-size: 14px;
    color: var(--muted);
}

.card-number {
    position: absolute;
    left: 16px;
    top: 10px;
    font-family: Georgia, serif;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 1px 4px #0007;
}

.card-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--paper);
}

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

.product-image {
    position: relative;
    background: #f0f0eb;
    padding: 20px;
    aspect-ratio: 1.12;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .45s;
}

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

.product-image > span {
    position: absolute;
    right: 9px;
    bottom: 8px;
    font-size: 13px;
    background: #ffffffd9;
    padding: 1px 8px;
    color: #666;
}

.product-card .eyebrow {
    font-size: 13px;
    margin: 20px 0 9px;
}

.product-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-title h3 {
    font-size: 19px;
}

.product-title .icon {
    width: 19px;
}

.product-code {
    font-size: 13px;
    color: #777;
    letter-spacing: 0;
    margin-top: 9px;
}

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

.news-card .card-image img {
    aspect-ratio: 1.6;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 24px 0 15px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0;
}

.news-meta > span {
    border-left: 1px solid var(--line);
    padding-left: 18px;
    color: var(--copper);
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.news-card p {
    font-size: 14px;
    color: var(--muted);
}

.news-card .text-link {
    font-size: 13px;
    margin-top: 22px;
    border: 0;
}

/* Contact and footer. */
.contact-band {
    background: #e8e6df;
    color: #303537;
    padding: 75px var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.contact-band::before {
    content: "";
    position: absolute;
    right: 12%;
    top: -100px;
    width: 35vw;
    height: 45vw;
    border: 1px solid #787c7420;
    transform: rotate(-25deg);
    pointer-events: none;
}

.contact-band .eyebrow {
    color: #81694f;
}

.contact-band h2 {
    font-size: clamp(30px, 3vw, 46px);
}

.contact-band > div {
    position: relative;
}

.contact-band > div:last-child {
    min-width: 31%;
}

.contact-band p:not(.eyebrow) {
    color: #5e6562;
    margin-bottom: 28px;
}

.site-footer {
    padding: 55px var(--page-gutter) 24px;
    background: #292d2f;
    color: #e8e7e2;
    border-top: 3px solid #b49a7c;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.15fr .65fr .85fr 1.2fr;
    gap: 4%;
    padding-bottom: 40px;
}

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

.footer-brand .brand {
    position: relative;
    display: block;
    width: 235px;
    max-width: 100%;
    height: 52px;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

.footer-brand .brand img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 102%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-top: 22px;
    font-size: 15px;
}

.footer-area {
    margin-top: 20px;
    padding-left: 14px;
    border-left: 3px solid #b49a7c;
    font-size: 15px;
    font-weight: 700;
}

.footer-area span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #c7c8c3;
}

.footer-label {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-label span {
    display: block;
    color: #c6ad90;
    font-size: 13px;
    letter-spacing: 0;
    margin-top: 4px;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 15px;
}

.footer-nav a:hover, .footer-address:hover {
    color: #dfcbb2;
}

.footer-contact {
    border-left: 1px solid #ffffff2b;
    padding-left: 25px;
}

.footer-phone {
    font: 700 clamp(22px, 2vw, 32px)/1.5 Arial, sans-serif;
    white-space: nowrap;
    color: #dfcbb2;
}

.footer-contact p:not(.footer-label) {
    margin-top: 12px;
    font-size: 15px;
}

.footer-address {
    display: block;
    margin-top: 12px;
    font-size: 14px;
}


/* LINE consultation: scannable QR with a direct mobile link. */
.footer-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ffffff29;
}

.footer-line-qr {
    display: block;
    width: 111px;
    flex: 0 0 111px;
    background: #fff;
}

.footer-line-qr img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.footer-line-copy {
    min-width: 0;
}

.footer-line-copy > span {
    display: block;
    font-size: 13px;
    color: #c2c4c0;
    margin-bottom: 8px;
}

.footer-line-copy > a {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid #b49a7c;
    padding-bottom: 3px;
}

.footer-line-copy > a:hover {
    color: #dfcbb2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ffffff29;
    padding-top: 20px;
    font-size: 13px;
    color: #c2c4c0;
    gap: 20px;
}

.back-top {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
}

.quick-contact {
    display: none;
}

@media (min-width: 1921px) {
    :root {
        --page-gutter: max(100px, calc((100vw - 1760px) / 2));
    }

}

@media (max-width: 1199px) {
    .site-header {
        gap: 14px;
    }

    .brand img {
        width: 250px;
        height: 83px;
        object-fit: contain;
    }

    .main-nav > ul {
        gap: 15px;
    }

    .main-nav > ul > li > a {
        font-size: 15px;
    }

    .header-call {
        padding: 11px;
    }

    .header-call span {
        display: inline;
    }

    .service-grid {
        gap: 20px;
    }

}

@media (max-width: 1023px) {
    :root {
        --header-height: 80px;
    }

    .site-header {
        padding: 0 24px;
    }

    .header-call {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 38px;
        height: 44px;
        padding: 6px;
    }

    .menu-toggle span {
        display: block;
        height: 1px;
        width: 100%;
        background: var(--ink);
        transition: transform .2s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        padding: 18px 30px 90px;
        overflow-y: auto;
        background: var(--paper);
    }

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

    .main-nav > ul {
        display: block;
    }

    .main-nav > ul > li {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--line);
    }

    .main-nav > ul > li > a {
        padding: 18px 0;
        flex: 1;
        font-size: 15px;
    }

    .main-nav > ul > li > a::after {
        display: none;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: 4px;
        width: 24px;
        height: 44px;
        flex-shrink: 0;
    }

    .mega-menu {
        display: none;
        position: static;
        width: 100%;
        padding: 12px 0 24px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-submenu.is-open .mega-menu {
        display: block;
    }

    .mega-heading {
        font-size: 13px;
    }

    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 26px;
    }

    .mega-grid a {
        font-size: 15px;
    }

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

    .service-grid {
        gap: 36px 24px;
    }

    .news-grid {
        gap: 24px;
    }

    .news-card h3 {
        font-size: 19px;
    }

    .footer-main {
        gap: 30px;
        grid-template-columns: 1fr 1fr;
    }

    .footer-main > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-nav {
        display: flex;
        gap: 30px;
    }

}

@media (max-width: 639px) {
    :root {
        --header-height: 74px;
    }

    html {
        scroll-padding-top: 95px;
    }

    body {
        font-size: 15px;
        padding-bottom: 55px;
    }

    .site-header {
        padding: 0 15px;
        gap: 10px;
    }

    .brand {
        gap: 0;
    }

    .brand img {
        width: 250px;
        height: 83px;
        object-fit: contain;
    }

    .header-call {
        padding: 8px;
    }

    .header-call .icon {
        width: 19px;
        height: 19px;
    }

    .section-pad {
        padding-block: 65px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        margin-bottom: 32px;
    }

    .section-heading .button {
        padding: 12px 18px;
        font-size: 13px;
    }

    .eyebrow {
        font-size: 13px;
        margin-bottom: 17px;
    }

    .button {
        padding: 15px 20px;
        gap: 28px;
    }

    .page-hero {
        height: 320px;
    }

    .page-hero h1 {
        font-size: 38px;
        margin-bottom: 18px;
    }

    .page-hero-copy > p:last-child {
        font-size: 14px;
        max-width: 280px;
    }

    .hero-corner {
        width: 80px;
        height: 80px;
        bottom: 25px;
    }

    .breadcrumb {
        font-size: 13px;
        gap: 10px;
    }

    .service-grid {
        gap: 32px 16px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p:last-child {
        font-size: 13px;
    }

    .service-card .eyebrow {
        font-size: 13px;
        letter-spacing: 0;
        margin-top: 17px;
    }

    .card-number {
        font-size: 20px;
        left: 10px;
    }

    .card-arrow {
        width: 34px;
        height: 34px;
    }

    .product-grid {
        gap: 30px 16px;
    }

    .product-image {
        padding: 10px;
    }

    .product-title h3 {
        font-size: 16px;
    }

    .product-title .icon {
        display: none;
    }

    .product-card .eyebrow {
        font-size: 13px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .news-card h3 {
        font-size: 22px;
    }

    .contact-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 55px 24px;
        gap: 28px;
    }

    .contact-band h2 {
        font-size: 32px;
    }

    .site-footer {
        padding-top: 45px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .footer-bottom > span:first-child {
        width: 100%;
    }

    .back-top {
        margin-left: auto;
    }

    .quick-contact {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 55px;
        background: var(--ink);
        z-index: 90;
        color: white;
    }

    .quick-contact a {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        letter-spacing: 0;
    }

    .quick-contact a + a {
        background: var(--copper);
    }

    .filter-tabs {
        gap: 6px;
        margin-bottom: 28px;
    }

    .filter-tabs button {
        padding: 8px 13px;
        font-size: 13px;
    }

}

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

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

}

@media (max-width: 1399px) {
    .header-main {
        gap: 16px;
        padding-inline: 2vw;
    }

    .header-main .brand img {
        width: 220px;
    }

    .main-nav > ul {
        gap: 16px;
    }

    .header-call {
        padding: 12px;
    }

}

@media (max-width: 1199px) {
    .header-main .brand img {
        width: 190px;
    }

    .main-nav > ul {
        gap: 11px;
    }

    .header-main {
        gap: 12px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-main > div:last-child {
        grid-column: auto;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

}

@media (max-width: 1023px) {
    .header-meta {
        display: none;
    }

    .site-header {
        padding: 0;
    }

    .header-main {
        height: 79px;
        padding-inline: 24px;
    }

    .header-main .brand img {
        width: 230px;
        height: 76px;
    }

    .menu-toggle span {
        height: 2px;
    }

    .mega-heading {
        flex-wrap: wrap;
        gap: 12px;
    }

    .mega-grid {
        gap: 0 18px;
    }

}

@media (max-width: 639px) {
    .header-main {
        height: 73px;
        gap: 10px;
        padding-inline: 12px;
    }

    .header-main .brand img {
        width: 175px;
        height: 64px;
    }

    .header-call {
        font-size: 15px;
        padding: 9px 10px;
    }

    .header-call .icon {
        display: none;
    }

    .menu-toggle {
        width: 32px;
        flex-shrink: 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 18px;
    }

    .footer-brand, .footer-contact {
        grid-column: 1 / -1 !important;
    }

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

    .footer-contact {
        padding: 22px;
        border: 1px solid #ffffff35;
        background: #363b3d;
    }

    .footer-phone {
        font-size: 28px;
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 359px) {
    .header-main .brand img {
        width: 143px;
    }

    .header-main {
        gap: 7px;
        padding-inline: 9px;
    }

    .header-call {
        padding: 9px 7px;
    }

}
