:root {
    --cream: #faf8f3;
    --beige: #f0ebe0;
    --beige-dark: #e0d8c8;
    --green: #2d5a3d;
    --green-dark: #1e3d2a;
    --green-mid: #3a7050;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.07);
    --shadow-hover: 0 10px 36px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans SC', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language — attribute selector gives specificity 0-2-0, beats any single class */
[lang="en"] .zh { display: none; }
[lang="zh"] .en { display: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,134,11,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: var(--white);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { text-decoration: none; }
.logo-en {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition);
}
.logo-zh {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
}
.navbar.scrolled .logo-en { color: var(--green); }
.navbar.scrolled .logo-zh { color: var(--text-light); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}
.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.lang-toggle:hover { background: rgba(255,255,255,0.28); }
.navbar.scrolled .lang-toggle {
    background: var(--beige);
    border-color: var(--beige-dark);
    color: var(--green);
}

.nav-cta {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    background: var(--gold);
    color: var(--white);
    border: none;
    transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: var(--transition);
    border-radius: 2px;
}
.navbar.scrolled .hamburger span { background: var(--green); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(184,134,11,0.06);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 100px;
}
.hero-tag {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 16px;
}
.hero h1 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--gold-light); }
.hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.1);
}
.hero-ring-2 {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1.5px solid rgba(184,134,11,0.2);
}
.hero-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    position: relative;
    z-index: 1;
    width: 280px;
}
.hero-card-logo {
    font-size: 40px;
    font-weight: 700;
    color: var(--green);
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 8px;
    line-height: 1;
}
.hero-card-en {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--beige-dark);
    padding-bottom: 20px;
}
.hero-card-tagline {
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 16px;
}
.hero-card-badge {
    display: inline-block;
    background: var(--beige);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}

.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}
.section-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border-top: 3px solid transparent;
    opacity: 0;
    transform: translateY(24px);
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:nth-child(2).visible { transition-delay: 0.08s; }
.service-card:nth-child(3).visible { transition-delay: 0.16s; }
.service-card:nth-child(4).visible { transition-delay: 0.24s; }
.service-card:nth-child(5).visible { transition-delay: 0.32s; }
.service-card:nth-child(6).visible { transition-delay: 0.40s; }
.service-card:hover {
    box-shadow: var(--shadow-hover);
    border-top-color: var(--gold);
    transform: translateY(-5px);
}
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--beige);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green);
    color: var(--white);
}
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--beige);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.about-card {
    text-align: center;
    padding: 44px 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(24px);
}
.about-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.about-card:nth-child(2).visible { transition-delay: 0.12s; }
.about-card:nth-child(3).visible { transition-delay: 0.24s; }
.about-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--green), var(--green-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--white);
}
.about-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.about-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--green);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contact-text .section-tag { color: var(--gold-light); }
.contact-text h2 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
}
.contact-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 32px;
}
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}
.contact-email:hover { color: var(--white); }

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.contact-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 26px;
}
.form-group { margin-bottom: 16px; }
.form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--beige-dark);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--cream);
    transition: var(--transition);
    resize: vertical;
    outline: none;
}
.form-input:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45,90,61,0.08);
}
.form-input::placeholder { color: #bbb; }
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer {
    background: var(--green-dark);
    padding: 56px 0 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.footer-name-zh {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}
.footer-uen {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-top: 6px;
    letter-spacing: 0.5px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 80px;
    }
    .hero-sub { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 42px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-inner { grid-template-columns: 1fr; gap: 44px; }
    .footer-inner { flex-direction: column; }
    .footer-links { align-items: flex-start; }
}

@media (max-width: 620px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--green-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 20px; color: var(--white) !important; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 30px; }
    .contact-text h2 { font-size: 28px; }
    .contact-card { padding: 28px 24px; }
    .hero { padding-top: 70px; }
}
