@font-face {
    font-family: Thai;
    src: url('assets/original-1.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: #fbfaf7;
    color: #28332f;
    font-family: Helvetica, Arial, Thai, sans-serif;
    -webkit-font-smoothing: antialiased
}

html[lang=th] body {
    font-family: Thai, Helvetica, Arial, sans-serif
}

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

button, input, textarea {
    font: inherit
}

button, a, input, textarea {
    touch-action: manipulation
}

button {
    cursor: pointer
}

img {
    display: block;
    width: 100%
}

button, a, input, textarea, summary {
    outline-offset: 6px
}

button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 2px solid #9b794a
}

h1, h2, h3, p {
    margin: 0
}

h1, h2, h3 {
    font-weight: 500
}

p {
    line-height: 1.75
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 1.16;
    letter-spacing: -1.5px
}

h2 em, h1 em {
    font-style: normal;
    color: #88704c;
    font-weight: 400
}

h3 {
    font-size: 1.4rem;
    line-height: 1.35
}

html[lang=th] h1, html[lang=th] h2 {
    letter-spacing: 0;
    line-height: 1.4
}

html[lang=th] h3 {
    line-height: 1.5
}

html[lang=th] .eyebrow {
    letter-spacing: .04em
}

html[lang=th] .hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.8rem)
}

.wrap {
    width: min(1280px, 88%);
    margin-inline: auto
}

.section-pad {
    padding-block: 100px
}

.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .17em;
    color: #88704c;
    margin-bottom: 25px
}

.header {
    height: 94px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbfaf7;
    border-bottom: 1px solid #deddd6;
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px
}

.brand img {
    width: 139px
}

.brand span {
    font-size: .65rem;
    letter-spacing: .15em;
    padding-left: 20px;
    border-left: 1px solid #b6b4a9;
    line-height: 2.5
}

.header nav {
    display: flex;
    gap: 32px;
    font-size: .875rem
}

.header nav a:hover {
    color: #88704c
}

.header-right {
    display: flex;
    align-items: center;
    gap: 28px
}

.languages {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: .8rem
}

.languages button {
    background: none;
    border: 0;
    color: #7c8078;
    padding: 5px
}

.languages button[aria-pressed=true] {
    color: #28332f;
    border-bottom: 1px solid #88704c;
    font-weight: 700
}

.header-contact {
    font-size: .875rem;
    border: 1px solid #b4b6ab;
    padding: 12px 19px;
    display: flex;
    gap: 20px
}

.hero {
    display: grid;
    grid-template-columns:45% 55%;
    min-height: 660px
}

.hero-copy {
    padding: 70px 9% 35px 13.3%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.hero h1 {
    font-size: clamp(3.2rem, 4.3vw, 5.3rem);
    line-height: 1.08;
    letter-spacing: -2.7px
}

.hero-description {
    font-size: 1rem;
    color: #686e65;
    max-width: 430px;
    margin-top: 27px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #3b443b;
    color: #fff;
    border: 1px solid #3b443b;
    padding: 17px 24px;
    font-size: .875rem;
    font-weight: 500;
    transition: background .2s
}

.button:hover {
    background: #59604e
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #a09b8a;
    padding-bottom: 5px;
    font-size: .875rem;
    font-weight: 600
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 44px;
    font-size: .75rem;
    color: #777c72
}

.small-line {
    width: 25px;
    height: 1px;
    background: #8b734e;
    flex-shrink: 0
}

.hero-visual {
    position: relative;
    min-height: 660px;
    overflow: hidden
}

.hero-visual > img {
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 61% center
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, #13211eb3);
    padding: 65px 35px 27px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: .7rem;
    letter-spacing: .12em
}

.image-caption span:first-child {
    font-weight: 700;
    font-size: 1.15rem
}

.about {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 9%;
    padding-block: 85px
}

.about h2 {
    font-size: clamp(1.8rem, 2.35vw, 2.6rem)
}

.about-copy {
    color: #666e66
}

.about-proof {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #d6d9d0
}

.about-proof strong {
    font-size: 2.4rem;
    font-weight: 400;
    color: #88704c
}

.about-proof span {
    font-size: .8rem;
    line-height: 1.6
}

.doors {
    background: #efeee8
}

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

.section-heading > p {
    max-width: 345px;
    color: #6a7067;
    font-size: .95rem
}

.door-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 32px
}

.door-photo {
    display: block;
    position: relative;
    aspect-ratio: 1.4;
    overflow: hidden
}

.door-photo > img {
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.door-photo:hover > img, .project-card:hover img {
    transform: scale(1.035)
}

.photo-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fbfaf7e8;
    padding: 9px 13px;
    font-size: .7rem;
    letter-spacing: .12em
}

.round-arrow {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 45px;
    height: 45px;
    background: #fbfaf7;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem
}

.door-info {
    padding: 30px 30px 33px;
    background: #fbfaf7
}

.product-brand {
    font-size: .8rem;
    letter-spacing: .08em;
    margin-bottom: 8px
}

.door-info h3 {
    font-size: clamp(1.3rem, 1.65vw, 1.8rem);
    min-height: 2.6em
}

.door-info > p:not(.product-brand) {
    color: #697166;
    font-size: .95rem;
    margin-top: 12px;
    min-height: 5.3em
}

.feature-labels {
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
    margin: 22px 0 30px;
    padding-top: 20px;
    border-top: 1px solid #d9dbd2;
    font-size: .75rem;
    color: #766747
}

.config {
    background: #293830;
    color: #fbfaf7
}

.config-grid {
    display: grid;
    grid-template-columns:43% 57%;
    gap: 0;
    align-items: center
}

.config-copy {
    padding-right: 70px
}

.config h2 em {
    color: #c3af8c
}

.config .eyebrow {
    color: #c3af8c
}

.config-copy > p:not(.eyebrow) {
    margin-top: 26px;
    color: #c7cec5;
    font-size: .95rem
}

.model-tabs {
    display: flex;
    gap: 8px;
    margin: 28px 0 25px;
    flex-wrap: wrap
}

.model-tabs button {
    background: transparent;
    border: 1px solid #7b8375;
    color: #e1e6dc;
    padding: 11px 16px;
    font-size: .8rem
}

.model-tabs button[aria-selected=true] {
    background: #d8cfbd;
    color: #293830;
    border-color: #d8cfbd
}

#btn_garage_form, .button-light {
    background: #e5ddca;
    border-color: #e5ddca;
    color: #293830
}

#btn_garage_form:hover, .button-light:hover {
    background: #f4efdf
}

.fine-print {
    font-size: .75rem !important;
    line-height: 1.7 !important
}

.config-copy .fine-print {
    max-width: 380px;
    margin-top: 18px !important;
    color: #aeb8a9 !important
}

.model-panel {
    background: #e8ebe7;
    color: #354239
}

.model-image {
    aspect-ratio: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.model-caption {
    display: flex;
    justify-content: space-between;
    padding: 20px 27px;
    border-top: 1px solid #d0d6cc;
    font-size: .7rem;
    letter-spacing: .1em
}

.model-caption span:last-child {
    font-size: 1rem
}

.project-grid {
    display: grid;
    grid-template-columns:1.15fr 1fr;
    gap: 36px
}

.project-card:nth-child(2) {
    padding-top: 75px
}

.project-image {
    height: 370px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px
}

.project-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.project-card .eyebrow {
    margin-bottom: 10px
}

.project-card h3 {
    font-size: 1.65rem;
    margin-bottom: 18px
}

.care {
    background: #eeeee7
}

.care-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 40px;
    margin: 50px 0 45px
}

.care-grid article {
    border-top: 1px solid #b8beaf;
    padding-top: 22px
}

.step-number {
    color: #897250;
    font-size: 1rem;
    display: block;
    margin-bottom: 30px
}

.care-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 14px
}

.care-grid p {
    font-size: .925rem;
    color: #697165
}

.warranty {
    border-top: 1px solid #ced3c6;
    border-bottom: 1px solid #ced3c6;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-block: 22px;
    font-size: .9rem
}

.warranty-symbol {
    border: 1px solid #8d977f;
    border-radius: 50%;
    height: 28px;
    width: 28px;
    display: grid;
    place-items: center
}

.warranty strong {
    font-weight: 500
}

.warranty a {
    margin-left: auto;
    font-size: .8rem;
    text-decoration: underline;
    text-underline-offset: 4px
}

.faq {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 9%
}

.faq h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.8rem)
}

details {
    border-bottom: 1px solid #d8dcd0
}

details:first-child {
    border-top: 1px solid #d8dcd0
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    font-weight: 500;
    font-size: .95rem;
    align-items: center
}

summary::-webkit-details-marker {
    display: none
}

.expand-icon {
    width: 17px;
    height: 17px;
    position: relative;
    flex-shrink: 0
}

.expand-icon:before, .expand-icon:after {
    content: '';
    position: absolute;
    background: #88704c;
    left: 0;
    top: 8px;
    width: 17px;
    height: 1px
}

.expand-icon:after {
    transform: rotate(90deg)
}

details[open] .expand-icon:after {
    transform: rotate(0)
}

details > p {
    font-size: .9rem;
    color: #697165;
    padding: 0 30px 24px 0
}

.contact {
    background: #333e34;
    color: #fbfaf7;
    padding-block: 85px
}

.contact-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12%
}

.contact h2 {
    font-size: clamp(2.5rem, 4vw, 4rem)
}

.contact h2 em, .contact .eyebrow {
    color: #d6c2a0
}

.contact p {
    color: #c8cdc2;
    margin-top: 20px
}

.contact-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap
}

.contact-phone {
    font-size: 1.25rem
}

.email {
    display: inline-block;
    margin-top: 22px;
    color: #c8cdc2;
    font-size: .875rem
}

form h3 {
    font-size: 1.3rem;
    margin-bottom: 22px
}

label {
    display: block;
    margin-bottom: 19px;
    font-size: .8rem
}

label span {
    display: block;
    margin-bottom: 8px;
    color: #e0e4d9
}

input, textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    color: #fff;
    background: #ffffff05;
    border: 1px solid #7a8473;
    border-radius: 0;
    resize: vertical;
    min-width: 0
}

.form-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px
}

form > .button {
    width: 100%
}

form > .fine-print {
    margin-top: 12px
}

.footer {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-block: 38px;
    font-size: .75rem;
    color: #71786b
}

.footer img {
    width: 115px
}

.footer a {
    margin-left: auto
}

.mobile-contact {
    display: none
}

@media (min-width: 1600px) {
    .hero-copy {
        padding-left: max(13.3%, calc((100vw - 1400px) / 2))
    }
}

@media (max-width: 1050px) {
    .brand span {
        display: none
    }

    .header nav {
        gap: 20px
    }

    .header-right {
        gap: 15px
    }

    .hero-copy {
        padding: 45px 9%
    }

    .hero h1 {
        font-size: 3.4rem
    }

    .hero-visual, .hero {
        min-height: 610px
    }

    .hero-actions {
        gap: 20px
    }

    .hero-note {
        margin-top: 30px
    }

    .config-copy {
        padding-right: 35px
    }

    .section-pad {
        padding-block: 75px
    }

    .project-image {
        height: 300px
    }

    .contact-grid {
        gap: 7%
    }

    .door-info {
        padding: 25px
    }

    .door-info h3 {
        min-height: 2.7em
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 80px
    }

    .header {
        height: 76px;
        padding: 0 6%
    }

    .brand img {
        width: 115px
    }

    .header nav, .header-contact {
        display: none
    }

    .languages {
        font-size: .9rem
    }

    .wrap {
        width: 88%
    }

    .hero {
        grid-template-columns:1fr;
        min-height: 0
    }

    .hero-copy {
        padding: 44px 6% 38px
    }

    .hero .eyebrow {
        margin-bottom: 23px
    }

    .hero h1 {
        font-size: clamp(2.8rem, 10.4vw, 4.3rem);
        letter-spacing: -1.8px;
        line-height: 1.12
    }

    .hero h1 br:first-of-type {
        display: block
    }

    .hero-description {
        max-width: 500px;
        margin-top: 22px
    }

    .hero-actions {
        margin-top: 25px;
        gap: 22px
    }

    .hero-note {
        display: none
    }

    .hero-visual {
        min-height: 360px
    }

    .hero-visual img {
        object-position: center 65%
    }

    .image-caption {
        padding: 50px 23px 23px
    }

    .about {
        grid-template-columns:1fr;
        padding-block: 55px;
        gap: 27px
    }

    .about h2 {
        font-size: 1.95rem;
        letter-spacing: -.8px
    }

    .about .eyebrow {
        margin-bottom: 18px
    }

    .about-proof {
        margin-top: 20px
    }

    .section-pad {
        padding-block: 60px
    }

    .section-heading {
        display: block;
        margin-bottom: 30px
    }

    .section-heading > p {
        margin-top: 22px;
        max-width: 100%
    }

    h2 {
        font-size: 2.3rem;
        letter-spacing: -1px
    }

    .eyebrow {
        margin-bottom: 20px
    }

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

    .door-photo {
        aspect-ratio: 1.2
    }

    .door-info h3 {
        min-height: 0;
        font-size: 1.55rem
    }

    .door-info > p:not(.product-brand) {
        min-height: 0
    }

    .feature-labels {
        line-height: 1.6;
        margin-bottom: 22px
    }

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

    .config-copy {
        padding-right: 0
    }

    .config h2 {
        font-size: 2.35rem
    }

    .config-copy > p:not(.eyebrow) {
        margin-top: 22px
    }

    .model-tabs {
        margin-top: 22px
    }

    .model-image {
        aspect-ratio: 1.2
    }

    .model-caption {
        padding: 17px
    }

    .project-grid {
        grid-template-columns:1fr;
        gap: 38px
    }

    .project-card:nth-child(2) {
        padding-top: 0
    }

    .project-image {
        height: auto;
        aspect-ratio: 1.3;
        margin-bottom: 20px
    }

    .project-card h3 {
        font-size: 1.5rem
    }

    .care-grid {
        grid-template-columns:1fr;
        gap: 28px;
        margin-top: 30px
    }

    .step-number {
        margin-bottom: 14px
    }

    .care-grid h3 {
        font-size: 1.3rem
    }

    .warranty {
        flex-wrap: wrap;
        gap: 12px
    }

    .warranty a {
        margin-left: 40px
    }

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

    .contact {
        padding-block: 60px
    }

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

    .contact h2 {
        font-size: 2.8rem
    }

    .contact-actions {
        gap: 20px
    }

    .footer {
        flex-wrap: wrap;
        gap: 18px;
        padding-block: 30px 90px
    }

    .footer img {
        width: 95px
    }

    .footer a {
        margin-left: 0;
        width: 100%
    }

    .mobile-contact {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 30;
        background: #fbfaf7;
        border-top: 1px solid #cbd0c3;
        padding: 10px 6% max(10px, env(safe-area-inset-bottom));
        gap: 10px
    }

    .mobile-contact a {
        flex: 1;
        text-align: center;
        padding: 12px 8px;
        background: #394639;
        color: #fff;
        font-size: .875rem
    }

    .mobile-contact a:last-child {
        background: transparent;
        border: 1px solid #aab19f;
        color: #293830
    }

    html[lang=th] .hero h1 {
        font-size: clamp(2.3rem, 8vw, 3.2rem);
        line-height: 1.4
    }

    html[lang=th] .hero h1 br:first-of-type {
        display: block
    }

    html[lang=th] h2 {
        font-size: 2rem
    }

    html[lang=th] .door-info h3 {
        font-size: 1.4rem
    }
}

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

    * {
        transition: none !important
    }
}

.footer > img {
    filter: brightness(0)
}

.project-card h3 {
    min-height: 0;
    margin-bottom: 8px
}

.project-detail {
    color: #687065;
    font-size: .88rem
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.project-card .gallery-link {
    margin-top: auto;
    padding-top: 18px
}

.project-card .project-photo-button {
    width: 100%
}

.project-footer {
    justify-content: flex-end
}

#planning {
    grid-template-columns:1.08fr 1fr;
    grid-template-areas:"photo heading" "photo measures";
    gap: 28px 60px;
    align-items: start
}

#planning .planning-heading {
    grid-area: heading
}

#planning .planning-measurements {
    grid-area: measures
}

#planning .planning-photo {
    grid-area: photo;
    margin: 0;
    align-self: center
}

#planning .planning-photo img {
    width: 100%;
    height: auto;
    display: block
}

#planning h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.8rem)
}

#planning .eyebrow {
    margin-bottom: 18px
}

#planning .planning-copy {
    margin-top: 20px
}

#planning .measure-grid {
    gap: 20px 26px
}

#planning .measure-item {
    padding-top: 14px
}

#planning .fine-print {
    margin-top: 22px
}

@media (max-width: 1000px) {
    #planning {
        gap: 28px 32px
    }
}

@media (max-width: 760px) {
    #planning {
        grid-template-columns:1fr;
        grid-template-areas:"heading" "photo" "measures";
        gap: 28px
    }

    #planning h2 {
        font-size: 2rem
    }

    #planning .planning-photo {
        width: 100%
    }
}

#planning .planning-diagrams {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px;
    width: 100%;
    background: #fff;
    padding: 26px 16px;
    margin: 0
}

#planning .planning-diagrams svg {
    display: block;
    width: 100%;
    height: auto
}

#planning .diagram-label {
    font-size: .72rem;
    color: #88704c;
    font-weight: 600;
    margin: 0 0 15px
}

@media (max-width: 760px) {
    #planning .planning-diagrams {
        gap: 12px;
        padding: 20px 8px
    }

    #planning .diagram-label {
        font-size: .63rem
    }
}

/* Shared company navigation, with a quieter palette for the garage-door range. */
.corporate-brand img {
    filter: brightness(0)
}

html {
    scroll-padding-top: 160px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 12px #28332f08
}

.corporate-header {
    position: relative;
    top: auto;
    height: 86px;
    padding-inline: 6%;
    gap: 30px;
    z-index: 42;
    background: #fbfaf7
}

.corporate-brand {
    gap: 24px;
    flex-shrink: 0
}

.corporate-brand .gvt-logo {
    width: 88px;
    height: 43px;
    object-fit: contain
}

.corporate-brand .glaxtic-logo {
    width: 120px;
    height: 43px;
    object-fit: contain
}

.corporate-brand .brand-divider {
    display: block;
    border: 0;
    padding: 0;
    width: 1px;
    height: 35px;
    background: #9e9d93
}

.header .global-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    font-size: .875rem
}

.global-nav > a {
    padding-block: 16px;
    white-space: nowrap
}

.header-right {
    gap: 0
}

.products-menu {
    position: static;
    border: 0 !important
}

.products-menu > summary {
    font-size: .875rem;
    padding: 20px 0;
    gap: 10px;
    color: #28332f;
    line-height: 1.5
}

.menu-chevron {
    height: 6px;
    width: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px
}

.products-menu[open] .menu-chevron {
    transform: rotate(225deg);
    margin-top: 3px
}

.products-menu[open] > summary {
    color: #88704c
}

.products-panel {
    position: absolute;
    top: calc(100% - 1px);
    right: 6%;
    width: 590px;
    background: #fbfaf7;
    border: 1px solid #d9d8ce;
    box-shadow: 0 18px 34px #2631271a;
    padding: 28px
}

.menu-heading {
    font-size: .72rem;
    letter-spacing: .14em;
    color: #89704b;
    margin-bottom: 19px
}

.products-list {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 3px 15px
}

.products-list a {
    font-size: .9rem;
    line-height: 1.55;
    padding: 13px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.products-list a:hover {
    background: #efeee7
}

.products-list .current-product {
    background: #eae5d9;
    color: #765d39;
    font-weight: 600
}

.all-products {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 19px;
    border-top: 1px solid #d8d8cd;
    padding: 21px 14px 1px;
    font-size: .85rem
}

.mobile-menu-toggle {
    display: none
}

.section-nav {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 0 6%;
    height: 58px;
    background: #eeece4;
    border-bottom: 1px solid #dbd9cf
}

.section-identity {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    color: #79603c;
    white-space: nowrap
}

.section-nav-links {
    display: flex;
    gap: 30px;
    margin-inline: auto
}

.section-nav-links a {
    font-size: .85rem;
    color: #5f655a;
    white-space: nowrap;
    padding-block: 20px
}

.section-nav-links a:hover {
    color: #88704c
}

.section-enquiry {
    font-size: .8rem;
    color: #655236;
    display: flex;
    gap: 20px;
    align-items: center;
    white-space: nowrap
}

.hero-visual, .hero {
    min-height: 635px
}

html[lang=th] .section-identity {
    letter-spacing: .025em;
    font-size: .9rem
}

html[lang=th] .section-nav-links a, html[lang=th] .section-enquiry {
    font-size: .85rem
}

html[lang=th] .menu-heading {
    letter-spacing: 0;
    font-size: .875rem
}

@media (max-width: 1160px) {
    .corporate-header {
        padding-inline: 4%;
        gap: 24px
    }

    .header .global-nav {
        gap: 22px
    }

    .corporate-brand {
        gap: 17px
    }

    .corporate-brand .gvt-logo {
        width: 75px
    }

    .corporate-brand .glaxtic-logo {
        width: 100px
    }

    .section-nav {
        padding-inline: 4%;
        gap: 20px
    }

    .section-nav-links {
        gap: 22px
    }

    .section-enquiry {
        gap: 12px
    }

    .products-panel {
        right: 4%
    }
}

@media (max-width: 940px) {
    html {
        scroll-padding-top: 140px
    }

    .corporate-header {
        height: 76px;
        padding-inline: 6%
    }

    .corporate-brand .gvt-logo {
        width: 70px;
        height: 34px
    }

    .corporate-brand .glaxtic-logo {
        width: 93px;
        height: 34px
    }

    .corporate-brand .brand-divider {
        height: 28px
    }

    .header-right {
        gap: 24px
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        border: 0;
        background: none;
        color: #293830;
        padding: 10px 0;
        font-size: .8rem
    }

    .hamburger {
        width: 18px;
        height: 12px;
        border-top: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        position: relative
    }

    .hamburger:before {
        content: '';
        position: absolute;
        top: 5px;
        left: 0;
        width: 18px;
        height: 1px;
        background: currentColor
    }


    .header .global-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 18px 6% 25px;
        background: #fbfaf7;
        border-bottom: 1px solid #d8d9cc;
        max-height: calc(100dvh - 160px);
        overflow: auto;
        box-shadow: 0 20px 35px #28332f1a
    }

    .menu-open .global-nav {
        display: block
    }

    .global-nav > a {
        display: block;
        border-bottom: 1px solid #dedfd5;
        padding: 16px 0;
        font-size: 1rem
    }

    .products-menu > summary {
        font-size: 1rem;
        padding: 16px 0;
        border-bottom: 1px solid #dedfd5
    }

    .products-panel {
        position: static;
        width: 100%;
        padding: 16px 0;
        box-shadow: none;
        border: 0
    }

    .products-list {
        gap: 0 12px
    }

    .products-list a {
        font-size: .875rem
    }

    .menu-heading {
        display: none
    }

    .all-products {
        padding: 18px 14px 4px
    }

    .section-nav {
        padding-inline: 6%;
        height: 54px;
        gap: 20px
    }

    .section-enquiry {
        display: none
    }

    .section-nav-links {
        margin: 0 0 0 auto;
        gap: 24px
    }

    .section-nav-links a {
        font-size: .75rem;
        padding-block: 18px
    }

    .hero-visual, .hero {
        min-height: 610px
    }
}

@media (max-width: 760px) {
    .corporate-brand {
        gap: 13px
    }

    .corporate-brand .gvt-logo {
        width: 59px;
        height: 30px
    }

    .corporate-brand .glaxtic-logo {
        width: 79px;
        height: 30px
    }

    .corporate-brand .brand-divider {
        height: 25px
    }

    .header-right {
        gap: 19px
    }

    .languages {
        gap: 3px;
        font-size: .8rem
    }

    .languages button {
        padding: 5px 3px
    }

    .mobile-menu-toggle {
        gap: 8px
    }

    .mobile-menu-toggle > span:first-child {
        display: none
    }

    .section-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-inline: 6%;
        gap: 25px;
        scrollbar-width: none
    }

    .section-nav::-webkit-scrollbar {
        display: none
    }

    .section-identity {
        font-size: .65rem;
        padding-right: 22px;
        border-right: 1px solid #c9c8bc
    }

    .section-nav-links {
        margin: 0;
        gap: 24px
    }

    .section-nav-links a {
        font-size: .75rem
    }

    .hero {
        min-height: 0
    }

    .hero-visual {
        min-height: 360px
    }

    .hero-copy {
        padding-top: 38px
    }

    .products-list {
        grid-template-columns:1fr
    }

    .products-list a {
        padding-block: 12px
    }

    .products-panel {
        padding-top: 12px
    }

    html[lang=th] .section-identity {
        font-size: .8rem
    }

    html[lang=th] .section-nav-links a {
        font-size: .8rem
    }
}

@media (min-width: 941px) {
    .global-nav {
        visibility: visible !important
    }
}


/* Goldvest corporate header geometry, recoloured for the garage range. */
.corporate-header {
    height: 80px;
    padding: 0 max(20px, calc((100% - 1160px) / 2));
    gap: 0;
    border: 0;
    background: linear-gradient(315deg, #59604e 0%, #59604e 57%, #fbfaf7 57%, #fbfaf7 100%);
    font-family: 'Noto Sans Thai', Thai, sans-serif;
    font-size: 16px;
    line-height: 1.3
}

.corporate-brand {
    gap: 25px
}

.corporate-brand .gvt-logo {
    width: 77px;
    height: auto
}

.corporate-brand .glaxtic-logo {
    width: 101px;
    height: auto
}

.corporate-brand .brand-divider {
    width: 2px;
    height: 36px;
    background: #4c4a4a
}

.header .global-nav {
    gap: 55px;
    font-size: 16px;
    font-weight: 400;
    margin-left: auto
}

.global-nav > a {
    padding: 30px 0;
    color: white
}

.products-menu > summary {
    font-size: 16px;
    font-weight: 400;
    color: white;
    padding: 30px 0;
    gap: 10px
}

.products-menu[open] > summary, .header .global-nav > a:hover {
    color: #fff
}

.products-panel {
    right: max(20px, calc((100% - 1160px) / 2));
    color: #28332f
}

.menu-chevron {
    transform: rotate(-45deg)
}

.header-language {
    border: 0 !important;
    position: relative;
    margin-left: 35px
}

.header-language > summary {
    padding: 20px 0;
    /*font-size: 25px;*/
    color: white;
    gap: 3px
}

.header-language > summary:after {
    content: '›';
    font-size: 20px
}

.header-language .languages {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fbfaf7;
    padding: 12px;
    box-shadow: 0 6px 20px #0002;
    min-width: 120px
}

.header-right {
    margin: 0
}

.mobile-menu-toggle {
    display: none
}

@media (min-width: 992px) and (max-width: 1199px) {
    .corporate-header {
        background: linear-gradient(315deg, #59604e 0%, #59604e 61%, #fbfaf7 61%, #fbfaf7 100%)
    }

    .header .global-nav {
        gap: 28px
    }

    .corporate-brand {
        gap: 20px
    }
}

@media (max-width: 991px) {
    .corporate-header {
        height: 80px;
        padding: 0 20px;
        background: linear-gradient(315deg, #59604e 0%, #59604e 25%, #fbfaf7 25%, #fbfaf7 100%)
    }

    .corporate-brand {
        gap: 25px
    }

    .corporate-brand .gvt-logo {
        width: 58px;
        height: auto
    }

    .corporate-brand .glaxtic-logo {
        width: 75px;
        height: auto
    }

    .corporate-brand .brand-divider {
        height: 27px;
        width: 2px
    }

    .header-right {
        margin-left: auto
    }

    .mobile-menu-toggle {
        display: flex;
        padding: 0;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 48px;
        color: white
    }

    .mobile-menu-toggle > [data-t] {
        display: none
    }

    .hamburger {
        display: block;
        width: 38px;
        height: 29px;
        border: 0;
        position: relative;
        background: linear-gradient(white, white) 0 12px/60% 5px no-repeat, linear-gradient(white, white) 100% 12px/25% 5px no-repeat
    }

    .hamburger:before, .hamburger:after {
        content: '';
        position: absolute;
        width: 38px;
        height: 5px;
        background: white;
        border-radius: 10px;
        left: 0;
        top: 0
    }

    .hamburger:after {

        top: 24px
    }

    .header .global-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px 20px 24px;
        background: #fbfaf7;
        max-height: calc(100dvh - 140px);
        overflow: auto;
        gap: 0;
        color: #28332f
    }

    .menu-open .header .global-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: 400px;
        /*max-height :calc(100dvh - 140px);*/
    }

    .global-nav > a, .products-menu > summary {
        color: #28332f !important;
        padding: 16px 0;
        font-size: 19px;
        border-bottom: 1px solid #deddd6
    }

    .products-panel {
        position: static;
        width: 100%;
        padding: 16px;
        box-shadow: none
    }

    .products-list {
        grid-template-columns:1fr
    }

    .header-language {
        margin: 10px 0 0
    }

    .header-language > summary {
        display: none
    }

    .header-language .languages {
        display: flex;
        position: static;
        box-shadow: none;
        padding: 12px 0;
        font-size: 16px
    }

    .header-language:not([open]) > .languages {
        display: flex
    }

    .menu-open .hamburger {
        background: none
    }

    .menu-open .hamburger:before {
        top: 12px;
        transform: rotate(45deg)
    }

    .menu-open .hamburger:after {
        top: 12px;
        transform: rotate(-45deg)
    }
}

@font-face {
    font-family: GoldvestHeader;
    src: url(assets/original-4.ttf) format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: block
}

@font-face {
    font-family: GoldvestHeader;
    src: url(assets/original-5.ttf) format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: block
}

@font-face {
    font-family: GoldvestHeader;
    src: url(assets/original-6.ttf) format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: block
}

@font-face {
    font-family: GoldvestHeader;
    src: url(assets/original-7.ttf) format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: block
}

/* Embedded original-site font: no network dependency or preview fallback. */
.site-header .corporate-header, .site-header .global-nav, .site-header .global-nav a,
.site-header summary, .site-header button, .site-header .languages,
.site-header .section-nav, .site-header .section-nav a {
    font-family: GoldvestHeader, sans-serif !important;
    font-synthesis: none;
    -webkit-font-smoothing: auto;
    letter-spacing: normal;
}

.site-header .global-nav, .site-header .global-nav > a, .site-header .products-menu > summary {
    font-weight: 400;
    line-height: 1.3
}


/* Identical banner geometry in both languages; compact English links to the right. */
@media (min-width: 992px) {
    html[lang=en] .header .global-nav {
        gap: 35px
    }

    html[lang=en] .header-language > summary {
        font-size: 18px;
        font-weight: 600
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    html[lang=en] .header .global-nav {
        gap: 20px
    }

    html[lang=en] .header-language {
        margin-left: 20px
    }
}


/* September 2026 collection and supplied project photographs. */
.hero-visual > img {
    object-position: 55% center
}

.hero-visual .image-caption {
    font-size: .63rem;
    letter-spacing: .07em
}

.hero-visual .image-caption span:last-child {
    text-align: right
}

.door-photo {
    aspect-ratio: 1.35
}

.door-photo > .aluminium-home {
    object-position: center 74%
}

.door-photo > img {
    object-position: center 64%
}

.door-info h3 {
    min-height: 2.8em;
    font-weight: 500
}

.door-info > p:not(.product-brand) {
    min-height: 7em
}

.feature-labels {
    min-height: 3.7em;
    align-content: start;
    margin-bottom: 12px
}

.range-details {
    margin: 0 0 24px;
    border-top: 1px solid #d9dbd2
}

.range-details summary {
    font-size: .88rem;
    padding: 17px 0
}

.range-details-body {
    padding: 0 0 22px
}

.range-details-body p {
    font-size: .82rem;
    color: #62695f;
    margin-top: 12px;
    line-height: 1.65
}

.range-details-body h4 {
    font-size: .8rem;
    font-weight: 600;
    margin: 16px 0 10px
}

.range-details-body .option-heading {
    color: #28332f;
    font-weight: 500
}

.colour-grid {
    display: grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap: 8px
}

.colour-item {
    display: flex;
    flex-direction: column;
    font-size: .65rem;
    gap: 5px;
    min-width: 0
}

.colour-item small {
    font-size: .57rem;
    color: #666
}

.colour-swatch {
    width: 100%;
    aspect-ratio: 1.3;
    border: 1px solid #d7d8d1;
    border-radius: 3px
}

.design-options {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 16px
}

.design-options img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain
}

.collection-note {
    margin-top: 22px;
    color: #72796c
}

.model-image {
    aspect-ratio: 1.5
}

.model-image img {
    object-fit: contain
}

.model-tabs button {
    min-height: 44px
}

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

.project-card:nth-child(2) {
    padding-top: 0
}

.project-photo-button {
    padding: 0;
    border: 0;
    background: none;
    display: block;
    width: 100%;
    text-align: left
}

.project-image {
    display: block;
    height: auto;
    aspect-ratio: 4/3;
    margin-bottom: 22px
}

.project-image img {
    object-fit: contain;
    background: #eeeee7
}

.project-card h3 {
    font-size: 1.35rem;
    min-height: 2.7em;
    margin: 0 0 12px;
    letter-spacing: -.3px
}

.project-description {
    color: #687065;
    font-size: .88rem;
    min-height: 3.5em
}

.project-card .eyebrow {
    font-size: .62rem;
    letter-spacing: .11em;
    line-height: 1.6;
    min-height: 2em
}

.gallery-link {
    border: 0;
    border-bottom: 1px solid #a09b8a;
    background: transparent;
    padding: 0 0 5px;
    margin-top: 18px;
    color: #28332f
}

.project-footer {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    border-top: 1px solid #dedfd5;
    padding-top: 24px
}

.project-footer p {
    max-width: 650px;
    color: #6b7366
}

.project-footer a {
    flex-shrink: 0
}

.planning {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 9%;
    border-bottom: 1px solid #dedfd5
}

.planning h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.8rem)
}

.planning-copy {
    font-size: .95rem;
    color: #687065;
    margin: 24px 0
}

.measure-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px 26px;
    margin-bottom: 24px
}

.measure-item {
    border-top: 1px solid #b9beaf;
    padding: 22px 0
}

.measure-item > span {
    display: block;
    font-size: 1.7rem;
    color: #88704c;
    margin-bottom: 12px
}

.measure-item p {
    font-size: .88rem;
    color: #465244
}

.planning .fine-print {
    color: #717969
}

select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: #333e34;
    color: white;
    border: 1px solid #7a8473;
    font: inherit;
    border-radius: 0
}

select option {
    color: #28332f;
    background: white
}

#project-dialog {
    width: min(1050px, 94vw);
    max-height: 94 dvh;
    border: 0;
    padding: 24px;
    color: #28332f;
    background: #fbfaf7;
    overflow: auto;
    overscroll-behavior: contain
}

#project-dialog::backdrop {
    background: #18241ee0
}

.gallery-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px
}

.gallery-head .eyebrow {
    margin-bottom: 6px;
    font-size: .65rem
}

.gallery-head h3 {
    font-size: 1.2rem
}

.dialog-close, .gallery-controls button {
    border: 1px solid #c5c8bd;
    background: transparent;
    color: #28332f;
    padding: 10px 14px;
    min-height: 44px;
    white-space: nowrap
}

.gallery-image-wrap {
    background: #e9ebe5;
    display: flex;
    align-items: center;
    justify-content: center
}

.gallery-image-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 64 dvh;
    object-fit: contain
}

.gallery-controls {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: .8rem
}

#gallery-caption {
    font-size: .82rem;
    margin-top: 16px
}

#project-dialog > .fine-print {
    color: #717969;
    margin-top: 8px
}

.dialog-open {
    overflow: hidden
}

@media (max-width: 1050px) {
    .project-grid {
        gap: 18px
    }

    .door-info > p:not(.product-brand) {
        min-height: 9em
    }

    .project-footer {
        align-items: flex-start;
        gap: 24px
    }

    .project-footer a {
        font-size: .75rem
    }

    .project-card h3 {
        font-size: 1.18rem
    }
}

@media (max-width: 760px) {
    .hero-visual {
        min-height: 0;
        aspect-ratio: 6/5
    }

    .hero-visual > img {
        object-fit: cover;
        object-position: center
    }

    .door-photo {
        aspect-ratio: 1.25
    }

    .door-info h3 {
        min-height: 0;
        font-size: 1.45rem
    }

    .door-info > p:not(.product-brand) {
        min-height: 0
    }

    .feature-labels {
        min-height: 0
    }

    .project-grid {
        grid-template-columns:1fr;
        gap: 38px
    }

    .project-card h3 {
        min-height: 0;
        font-size: 1.4rem
    }

    .project-description {
        min-height: 0
    }

    .project-card .eyebrow {
        min-height: 0;
        font-size: .7rem
    }

    .project-image {
        aspect-ratio: 4/3
    }

    .project-footer {
        display: block
    }

    .project-footer a {
        margin-top: 20px
    }

    .planning {
        grid-template-columns:1fr;
        gap: 32px
    }

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

    .colour-item {
        font-size: .75rem
    }

    .colour-item small {
        font-size: .65rem
    }

    .model-image {
        aspect-ratio: 1.4
    }

    .model-tabs {
        display: grid;
        grid-template-columns:1fr 1fr
    }

    .model-tabs button {
        padding: 12px 8px
    }

    .gallery-head h3 {
        font-size: 1rem
    }

    #project-dialog {
        padding: 16px
    }

    .gallery-controls button {
        font-size: .7rem;
        padding: 9px
    }

    .gallery-head {
        gap: 12px
    }

    .form-row {
        grid-template-columns:1fr
    }

    .section-nav {
        overscroll-behavior-x: contain
    }

    html[lang=th] .project-card h3 {
        line-height: 1.55
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important
    }
}

#btn_garage_form {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #293830;
    border: 1px solid #3b443b;
    padding: 17px 24px;
    font-size: .875rem;
    font-weight: 500;
    transition: background .2s;
}

/* กล่อง Dropdown ภาษา */
.header-language {
    position: relative;
    display: inline-block;
}

.header-language summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-language summary::-webkit-details-marker {
    display: none;
}

.languages {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: #ffffff;
    padding: 10px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 100;
}

/* ลิงก์ข้อความภาษา */
.languages .lang-btn {
    text-decoration: none;
    color: #888888;
    font-weight: 500;
    padding-bottom: 3px;
    position: relative;
    transition: color 0.2s ease;
}

/* เครื่องหมายคั่น / */
.languages .divider {
    color: #cccccc;
    font-weight: 300;
}

.languages .lang-btn:hover {
    color: #222222;
}

/* ภาษาที่ถูกเลือก (Active) โดย PHP[cite: 1] */
.languages .lang-btn.active {
    color: #111111;
    font-weight: 700;
}

/* สร้างเส้นใต้ Highlight ตามภาพตัวอย่าง[cite: 1] */
.languages .lang-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #554838; /* ปรับโทนสีเส้นใต้ตามต้องการ */
}
@media (max-width: 991px) {
    .header-language>summary {
        display: none;
    }
}
.header-language>summary {
    padding: 20px 0;
    font-size: 25px;
    color: white;
    gap: 3px;
}
.theme_garage .highlight{
    color: #28332f;
}
.theme_garage .btn.btn-primary{
    color: #fff;
    background-color: #28332f;
    border-color: #28332f;
}
.theme_garage .tns-nav button.tns-nav-active{
    background-color: #28332f;
}
.theme_garage .tns-nav button{
    border: 1px solid #28332f;
}