:root {
    --gspace-ink: #35434b;
    --gspace-muted: #6d787e;
    --gspace-sage: #99a06a;
    --gspace-footer: #34434e;
    --gspace-soft: #f7f8f8;
    --gspace-line: #dde2e4;
}

/* Nút Nhận tư vấn nổi bật nhưng vẫn giữ phong cách menu gốc */
header .menu .menu-right ul li.consultation-link {
    padding-left: 8px;
    padding-right: 8px;
}

header .menu .menu-right ul li.consultation-link a {
    border: 1px solid var(--gspace-sage);
    border-radius: 2px;
    color: #5b6c74;
    padding: 10px 17px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

header .menu .menu-right ul li.consultation-link:hover a,
header .menu .menu-right ul li.consultation-link a:focus {
    background: var(--gspace-sage);
    border-bottom: 1px solid var(--gspace-sage);
    color: #fff;
}

/* Lời ngỏ */
.about-us-home {
    background: #fff;
    clear: both;
    float: left;
    padding: 54px 0 56px;
    width: 100%;
}

.about-us-home .container {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-us-home .content,
.about-us-home .box-img {
    float: none;
    padding: 0;
    width: auto;
}

.about-us-home .content {
    grid-column: 1;
    grid-row: 1;
    max-width: 470px;
}

.about-us-home .content h2 {
    color: #5c6b73;
    font-size: clamp(29px, 2.5vw, 37px);
    font-weight: 400;
    letter-spacing: -.025em;
    margin: 0 0 13px;
    text-transform: uppercase;
}

.about-us-home .content p {
    color: #3f494e;
    float: none;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
    padding: 0;
    text-align: justify;
}

.about-us-home .box-img {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(100%, 380px);
}

.about-us-home .box-img .img {
    aspect-ratio: 1.23 / 1;
    float: none;
    overflow: hidden;
    width: 100%;
}

.about-us-home .box-img .img:before {
    display: none !important;
}

.about-us-home .box-img .img img {
    height: 100%;
    object-fit: cover;
    position: static;
    width: 100%;
}

/* Sáu dự án tiêu biểu, hai hàng x ba ô */
.top-project {
    background: var(--gspace-soft);
    clear: both;
    float: left;
    margin: 0;
    padding: 42px 0 52px;
    width: 100%;
}

.top-project .header {
    float: none;
    width: 100%;
}

.top-project .header h2 {
    color: #5c6b73;
    font-size: clamp(28px, 2.4vw, 35px);
    font-weight: 400;
    letter-spacing: -.025em;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.top-project .content {
    display: grid;
    float: none;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.top-project .content .item {
    float: none;
    padding: 0;
    width: auto;
}

.top-project .content .item .project-tile {
    display: block;
}

.top-project .content .item .img {
    aspect-ratio: 1.34 / 1;
    float: none;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.top-project .content .item .img:before,
.top-project .content .item .img:after {
    display: none !important;
}

.top-project .content .item .img img {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.top-project .content .item:hover .img img {
    transform: scale(1.035);
}

.project-shade {
    background: linear-gradient(180deg, transparent 16%, rgba(11, 20, 15, .42) 48%, rgba(11, 20, 15, .92) 100%);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.project-basic {
    bottom: 14px;
    color: #fff;
    display: block;
    left: 17px;
    position: absolute;
    right: 17px;
    z-index: 2;
}

.project-basic strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 11px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
}

.project-home-facts {
    border-top: 1px solid rgba(255, 255, 255, .42);
    display: grid;
    gap: 8px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding-top: 10px;
}

.project-home-facts > div {
    min-width: 0;
}

.project-home-facts dt {
    color: rgba(255, 255, 255, .67);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .11em;
    line-height: 1.3;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.project-home-facts dd {
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    margin: 0;
}

/* Biểu mẫu tư vấn thay cho Dự án theo chủ đề */
.home-consultation {
    background: #fff;
    clear: both;
    float: left;
    padding: 62px 0 66px;
    width: 100%;
}

.consultation-heading {
    display: block;
    margin: 0 auto 32px;
    max-width: 720px;
    text-align: center;
}

.consultation-heading .eyebrow {
    color: var(--gspace-sage);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.consultation-heading h2 {
    color: #5c6b73;
    font-size: clamp(29px, 3vw, 43px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.18;
    margin: 0;
    text-transform: uppercase;
}

.consultation-heading > p:last-child {
    color: var(--gspace-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 14px auto 0;
    max-width: 650px;
}

.consultation-layout {
    border: 1px solid var(--gspace-line);
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
    min-height: 440px;
}

.consultation-company {
    background: var(--gspace-footer);
    color: rgba(255, 255, 255, .86);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 440px;
    padding: 40px 38px;
}

.consultation-company > img {
    filter: brightness(0) invert(1);
    height: auto;
    margin-bottom: 26px;
    max-height: 94px;
    max-width: 195px;
    object-fit: contain;
    object-position: left center;
}

.company-name {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.6;
    margin: 0 0 13px;
    text-transform: none;
}

.consultation-company address {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    font-style: normal;
    line-height: 1.65;
}

.company-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 27px 0 auto;
}

.company-links a {
    border-bottom: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    font-size: 14px;
    padding: 0;
    width: fit-content;
}

.company-hours {
    color: rgba(255, 255, 255, .54);
    font-size: 11px;
    margin: 28px 0 0;
}

.consultation-form {
    align-content: center;
    background: #fbfbfa;
    display: grid;
    gap: 22px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 39px 44px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-field label {
    color: #5c696e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #cbd1d2;
    border-radius: 0;
    color: var(--gspace-ink);
    min-height: 37px;
    outline: none;
    padding: 7px 0;
    width: 100%;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: var(--gspace-sage);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #929792;
    font-size: 13px;
}

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

.form-submit {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 22px;
}

.form-submit button {
    align-items: center;
    background: var(--gspace-sage);
    border: 1px solid var(--gspace-sage);
    border-radius: 0;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    gap: 10px;
    min-height: 43px;
    padding: 0 21px;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.form-submit button:hover,
.form-submit button:focus {
    background: transparent;
    color: var(--gspace-sage);
}

.form-submit p {
    color: #899094;
    font-size: 10px;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

.form-notice {
    font-size: 13px;
    margin: 0;
    padding: 10px 12px;
}

.form-notice-success {
    background: #e8f2e5;
    color: #2f673f;
}

.form-notice-error {
    background: #f8e7e3;
    color: #8a392b;
}

@media (max-width: 1100px) {
    .about-us-home .container,
    .home-consultation .container,
    .top-project .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-us-home .container {
        gap: 50px;
    }
}

@media (max-width: 980px) {
    .about-us-home .container {
        gap: 38px;
        grid-template-columns: 1fr 1fr;
    }

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

    .consultation-layout {
        grid-template-columns: 1fr;
    }

    .consultation-company {
        min-height: 340px;
    }
}

@media (max-width: 700px) {
    header .menu .menu-right ul li.consultation-link {
        padding: 7px 15px;
    }

    header .menu .menu-right ul li.consultation-link a {
        display: inline-block;
        line-height: 1.4;
        padding: 8px 14px;
    }

    .about-us-home,
    .top-project,
    .home-consultation {
        padding: 42px 0 45px;
    }

    .about-us-home .container,
    .home-consultation .container,
    .top-project .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-us-home .container {
        display: flex;
        flex-direction: column;
    }

    .about-us-home .content {
        max-width: none;
        order: 1;
    }

    .about-us-home .content h2 {
        font-size: 31px;
    }

    .about-us-home .content p {
        font-size: 14px;
    }

    .about-us-home .box-img {
        align-self: flex-start;
        order: 2;
        width: min(100%, 420px);
    }

    .top-project .content {
        grid-template-columns: 1fr;
    }

    .consultation-heading h2 {
        font-size: 32px;
    }

    .consultation-company,
    .consultation-form {
        padding: 30px 24px;
    }

    .consultation-form {
        grid-template-columns: 1fr;
    }

    .form-field,
    .form-field-wide {
        grid-column: 1;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }
}
