:root {
    --red: #D42B2B;
    --yellow: #F5C518;
    --black: #111111;
    --offwhite: #F7F4EF;
    --white: #FFFFFF;
    --gray: #888888;
    --light-gray: #E8E4DE;
    --card-bg: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--offwhite);
    color: var(--black);
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    border-bottom: 2px solid var(--red);
}

/* Hamburger (mobile) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px 4px;
    background: none;
    border: none;
    z-index: 101;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-links-mobile-cta {
    display: none;
}

.nav-logo-mark {
    background: var(--red);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 8px;
    letter-spacing: 2px;
}

.nav-logo-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--yellow);
}

.nav-cta {
    background: var(--red);
    color: #fff;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    transition: background .2s;
}

.nav-cta:hover {
    background: #b82222;
}

/* HERO */
.hero {
    background: var(--black);
    padding: 88px 48px 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'CONTACT';
    position: absolute;
    right: -20px;
    top: -10px;
    font-family: 'Space Mono', monospace;
    font-size: 180px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.022);
    line-height: 1;
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    padding: 6px 14px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    max-width: 600px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-sub {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.58);
    max-width: 500px;
    line-height: 1.85;
}

/* QR row inside hero */
.hero-qr-row {
    margin-top: 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.qr-block {
    text-align: center;
}

.qr-slot {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .2s;
    margin-bottom: 7px;
}

.qr-slot:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qr-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-slot input[type=file] {
    display: none;
}

.qr-slot-icon {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 4px;
}

.qr-slot-hint {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.22);
    line-height: 1.4;
}

.qr-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.qr-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

.hero-response {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    align-self: center;
}

.response-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.r-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.r-dot.green {
    background: #2ECC71;
}

.r-dot.yellow {
    background: var(--yellow);
}

/* SECTION */
.section {
    padding: 80px 48px;
}

.section.white {
    background: var(--white);
}

.section.offwhite {
    background: var(--offwhite);
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--gray);
    font-size: 15px;
    max-width: 560px;
    line-height: 1.8;
}

/* CONTACT CHANNELS */
.channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 44px;
}

.ch-card {
    background: var(--card-bg);
    border: 1px solid var(--light-gray);
    padding: 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .2s, box-shadow .2s;
}

.ch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.ch-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid var(--light-gray);
}

.ch-icon.red {
    background: var(--red);
    border-color: var(--red);
}

.ch-icon.yellow {
    background: var(--yellow);
    border-color: var(--yellow);
}

.ch-icon.black {
    background: var(--black);
    border-color: var(--black);
}

.ch-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--red);
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.ch-main {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ch-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 14px;
}

.ch-btn {
    display: inline-block;
    background: var(--black);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 18px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background .2s;
}

.ch-btn:hover {
    background: var(--red);
}

.ch-btn.outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
}

.ch-btn.outline:hover {
    background: var(--black);
    color: #fff;
}

/* PERSON CARD */
.person-section {
    background: var(--offwhite);
    padding: 80px 48px;
}

.person-card {
    background: var(--card-bg);
    border: 1px solid var(--light-gray);
    display: grid;
    grid-template-columns: 180px 1fr;
    max-width: 680px;
    margin-top: 40px;
}

.person-photo {
    border-right: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.person-photo img {
    max-width: 100%;
    max-height: 100%;
}

.person-body {
    padding: 28px;
}

.person-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 3px;
}

.person-role {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--red);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.person-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.person-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.person-tag {
    background: var(--offwhite);
    border: 1px solid var(--light-gray);
    font-size: 11px;
    color: #555;
    padding: 3px 10px;
}

/* OFFICES */
.offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 44px;
}

.office-card {
    background: var(--card-bg);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

/* 图片位 */
.img-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .2s;
}

.img-slot img {
    max-width: 100%;
    max-height: 100%;
}

.office-body {
    padding: 28px;
}

.office-flag {
    font-size: 22px;
    margin-bottom: 10px;
}

.office-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
}

.office-type {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--red);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-row {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #555;
    align-items: flex-start;
}

.office-row-icon {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 1px;
}

/* MAP */
.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 44px;
}

.map-slot {
    position: relative;
    overflow: hidden;
}

.map-slot-header {
    background: var(--black);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.map-slot-header span {
    color: var(--yellow);
}

.map-img {
    height: 240px;
    background: #EDEAE4;
    border: 1.5px dashed #C8C4BC;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.map-img:hover {
    background: #E5E1DA;
}

.map-img img,
.map-img iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.map-img input[type=file] {
    display: none;
}

/* FORM */
.form-section {
    background: var(--white);
    padding: 80px 48px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-intro-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 900;
    margin-bottom: 16px;
}

.form-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.85;
    margin-bottom: 12px;
}

.form-promises {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 20px;
}

.form-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.form-promise-dot {
    color: var(--red);
    font-size: 15px;
    flex-shrink: 0;
}

.form-row {
    margin-bottom: 16px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

label span {
    color: var(--red);
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 13px;
    font-size: 14px;
    font-family: 'Noto Sans SC', sans-serif;
    border: 1.5px solid var(--light-gray);
    background: var(--offwhite);
    outline: none;
    transition: border-color .2s;
    color: var(--black);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    background: var(--white);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

select {
    appearance: none;
}

.form-submit {
    width: 100%;
    background: var(--red);
    color: #fff;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background .2s;
    margin-top: 4px;
}

.form-submit:hover {
    background: #b82222;
}

.form-note {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
    text-align: center;
    line-height: 1.6;
}

/* QUICK LINKS */
.quick-section {
    background: var(--black);
    padding: 48px;
}

.quick-title {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.quick-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 18px;
    text-decoration: none;
    display: block;
    transition: background .2s;
}

.quick-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quick-cat {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 7px;
}

.quick-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.quick-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background: var(--red);
    padding: 72px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.cta-section h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(22px, 3vw, 36px);
    color: #fff;
    font-weight: 900;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 10px;
    flex-direction: column;
    flex-shrink: 0;
}

.btn-white {
    background: #fff;
    color: var(--red);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: border-color .2s;
}

.btn-outline-white:hover {
    border-color: #fff;
}

footer {
    background: var(--black);
    padding: 36px 48px 24px;
    border-top: 2px solid var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.22);
}

.footer-row {
    display: flex;
    gap: 20px;
}

.footer-row a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-decoration: none;
}

.footer-row a:hover {
    color: var(--yellow);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #fff;
    padding: 44px;
    text-align: center;
    max-width: 320px;
    width: 90%;
}

.modal-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.modal-qr {
    width: 180px;
    height: 180px;
    background: var(--offwhite);
    border: 1px solid var(--light-gray);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #AAA;
}

.modal-close {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 11px 36px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

@media(max-width:900px) {
    nav {
        padding: 0 20px;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 20px;
        z-index: 100;
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;gap: 0;line-height:46px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-links-mobile-cta {
        margin-top: 16px;
        display: block !important;
        border-bottom: none !important;
    }

    .nav-links-mobile-cta a {
        display: inline-block;
        background: var(--red);
        color: #fff;
        padding: 10px 40px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 2px;
    }

    .nav-links-mobile-cta a:hover {
        background: #b82222;
        color: #fff;
    }
    .footer-row {
        display: none;
    }
    .hero {
        padding: 60px 20px 52px;
    }

    .section,
    .person-section,
    .form-section,
    .quick-section {
        padding: 56px 20px;
    }

    .channels-grid,
    .offices-grid,
    .map-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-section {
        grid-template-columns: 1fr;
        padding: 52px 20px;
    }

    footer {
        padding: 28px 20px 18px;
    }

    .person-card {
        grid-template-columns: 1fr;
    }

    .person-photo {
        height: 200px;
    }
}