:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --brown: #8b5e3c;
    --brown-dark: #6b4423;
    --cream: #fdf6ec;
    --cream-2: #fff9f0;
    --ink: #4a3424;
    --white: #ffffff;
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --radius-lg: 40px;
    --radius-md: 24px;
    --radius-pill: 999px;
    --shadow-soft: 0 20px 60px rgba(139, 94, 60, 0.14);
    --shadow-card: 0 14px 40px rgba(245, 158, 11, 0.16);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ========== 鎸夐挳 ========== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform .3s var(--ease-bounce), box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-4px) scale(1.02); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(245, 158, 11, 0.5); }

.btn-light {
    background: #fff;
    color: var(--brown-dark);
    box-shadow: var(--shadow-soft);
}
.btn-light:hover { box-shadow: 0 16px 40px rgba(139, 94, 60, 0.25); }

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-outline {
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
}
.btn-outline:hover { background: var(--brown); color: #fff; }

.btn-lg { padding: 18px 48px; font-size: 18px; }

/* ========== 瀵艰埅 ========== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all .4s;
}
.site-header.scrolled {
    padding: 10px 0;
    background: rgba(253, 246, 236, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 30px rgba(139, 94, 60, 0.1);
}

.header-inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-bubble {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    font-size: 24px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}
.logo-text {
    font-size: 20px; font-weight: 800;
    color: var(--brown-dark);
    letter-spacing: 1px;
}

.main-nav { display: flex; gap: 8px; }
.main-nav a {
    text-decoration: none;
    color: var(--brown-dark);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    transition: all .3s;
}
.main-nav a:hover, .main-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.header-cta { padding: 12px 26px; font-size: 15px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span {
    width: 26px; height: 3px;
    background: var(--brown-dark);
    border-radius: 3px;
    transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 90px;
    background: linear-gradient(160deg, #f7b733, var(--primary) 45%, #ec6f24);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18) 0 3px, transparent 4px) 0 0/60px 60px,
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.14) 0 5px, transparent 6px) 0 0/90px 90px;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    padding: 8px 22px;
    letter-spacing: 3px;
    font-size: 14px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-size: clamp(56px, 10vw, 108px);
    font-weight: 900;
    line-height: 1.08;
    margin: 26px 0 20px;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.hero-title span {
    display: inline-block;
    color: var(--cream);
    background: rgba(139, 94, 60, 0.55);
    padding: 0 20px;
    border-radius: 30px;
    transform: rotate(-2deg);
}
.hero-sub {
    font-size: 19px;
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.92);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    width: min(1180px, 92%);
    margin: 70px auto 0;
}
.hero-card {
    background: var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 28px 28px 0;
    box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease-bounce), box-shadow .4s;
    overflow: hidden;
}
.hero-card:hover { transform: translateY(-14px) rotate(1deg); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2); }
.hero-card-2 { transform: translateY(26px); }
.hero-card-2:hover { transform: translateY(12px) rotate(-1deg); }
.card-icon { font-size: 34px; }
.hero-card h3 { margin: 12px 0 6px; color: var(--brown-dark); font-size: 20px; }
.hero-card p { color: var(--brown); font-size: 14px; margin-bottom: 16px; }
.hero-card img {
    border-radius: 20px 20px 0 0;
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.hero-card:hover img { transform: scale(1.05); }

/* ========== 鍖哄潡鏍囬 ========== */
.section-head { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 4px;
    background: rgba(245, 158, 11, 0.12);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    color: var(--brown-dark);
}

/* ========== 鍝佺墝鏁呬簨 ========== */
.brand-story { padding: 120px 0 90px; }
.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-text p { font-size: 17px; color: #6b5543; margin-bottom: 18px; }
.story-points { list-style: none; display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.story-points li {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 26px;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    color: var(--brown);
    text-align: center;
}
.story-points span { display: block; font-size: 28px; font-weight: 900; color: var(--primary); }
.story-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.story-img::before {
    content: "";
    position: absolute;
    inset: -30px 30px 30px -30px;
    border: 3px dashed rgba(245, 158, 11, 0.5);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.story-img img { height: 430px; width: 100%; object-fit: cover; transition: transform .6s; }
.story-img:hover img { transform: scale(1.06); }

/* ========== 鏈嶅姟姘旀场鍗＄墖 ========== */
.services { padding: 60px 0 120px; position: relative; }
.services::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.08), transparent 40%),
                radial-gradient(circle at 85% 70%, rgba(139, 94, 60, 0.08), transparent 40%);
    z-index: -1;
}
.service-bubbles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.bubble-card {
    display: block;
    background: #fff;
    border-radius: 50%;
    aspect-ratio: 1;
    max-width: 330px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: all .45s var(--ease-bounce);
    position: relative;
}
.bubble-card:hover {
    transform: translateY(-16px) scale(1.05);
    background: linear-gradient(150deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.bubble-card:hover h3, .bubble-card:hover p { color: #fff; }
.bubble-ico { font-size: 46px; margin-bottom: 12px; }
.bubble-card h3 { font-size: 22px; color: var(--brown-dark); margin-bottom: 8px; transition: color .3s; }
.bubble-card p { font-size: 14px; color: var(--brown); transition: color .3s; }
.bubble-2 { transform: rotate(-3deg); }
.bubble-4 { transform: rotate(3deg); }
.bubble-5 { transform: translateY(20px); }
.bubble-5:hover { transform: translateY(4px) scale(1.05); }

/* ========== 妗堜緥 3D 缈昏浆鍗＄墖 ========== */
.cases { padding: 60px 0 110px; background: var(--cream-2); }
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    perspective: 1400px;
}
.flip-card {
    height: 480px;
    border-radius: var(--radius-lg);
    cursor: pointer;
}
.flip-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform .8s var(--ease-bounce);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    overflow: hidden;
}
.flip-front { box-shadow: var(--shadow-soft); }
.flip-front img { height: 100%; width: 100%; object-fit: cover; }
.flip-front h3 {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(74, 52, 36, 0.85));
    color: #fff;
    padding: 60px 24px 22px;
    font-size: 20px;
}
.flip-back {
    background: linear-gradient(160deg, var(--brown), var(--brown-dark));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px;
    transform: rotateY(180deg);
}
.flip-back h3 { font-size: 24px; margin-bottom: 16px; }
.flip-back p { color: rgba(255, 255, 255, 0.88); line-height: 2; margin-bottom: 20px; }
.flip-price {
    background: #fff;
    color: var(--brown-dark);
    font-weight: 800;
    padding: 10px 30px;
    border-radius: var(--radius-pill);
    font-size: 20px;
}
.cases-more { text-align: center; margin-top: 50px; }

/* ========== 瀹㈡埛璇勪环 ========== */
.reviews { padding: 110px 0; }
.review-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.review-block {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform .4s var(--ease-bounce);
}
.review-block:hover { transform: translateY(-10px) rotate(-1deg); }
.rb-2 { transform: translateY(24px); }
.rb-2:hover { transform: translateY(14px) rotate(1deg); }
.rb-3 { transform: translateY(10px); }
.review-quote {
    font-size: 80px;
    line-height: 0.5;
    color: var(--primary);
    font-family: Georgia, serif;
}
.review-block p { color: #6b5543; margin: 20px 0 24px; font-size: 16px; }
.review-block h4 { color: var(--brown-dark); font-size: 15px; font-weight: 700; }

/* ========== CTA ========== */
.cta { padding: 40px 0 120px; }
.cta-bubble {
    background: linear-gradient(140deg, #f7b733, var(--primary), #ec6f24);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 80px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}
.cta-bubble::before {
    content: "馃彙";
    position: absolute;
    top: -30px; left: -20px;
    font-size: 130px;
    opacity: 0.15;
    transform: rotate(-15deg);
}
.cta-bubble::after {
    content: "鈽?;
    position: absolute;
    bottom: -30px; right: -10px;
    font-size: 120px;
    opacity: 0.15;
    transform: rotate(15deg);
}
.cta-bubble h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-bubble p { font-size: 17px; margin-bottom: 34px; opacity: 0.95; }

/* ========== 椤佃剼 ========== */
.site-footer {
    background: linear-gradient(180deg, var(--brown-dark), #5a3a20);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-grid h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #fff;
}
.footer-about p { font-size: 15px; line-height: 2; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { font-size: 15px; line-height: 2; }
.copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    opacity: 0.7;
}

/* ========== 瀛愰〉闈㈤€氱敤 ========== */
.page-hero {
    padding: 180px 0 90px;
    background: linear-gradient(150deg, #f7b733, var(--primary), #ec6f24);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.2) 0 4px, transparent 5px) 0 0/50px 50px;
}
.page-hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 900; position: relative; }
.page-hero p { font-size: 17px; margin-top: 14px; opacity: .92; position: relative; }
.breadcrumb { position: relative; margin-top: 18px; font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* 椤甸潰鍖哄潡 */
.page-section { padding: 90px 0; }
.page-section.alt { background: var(--cream-2); }

/* 鍏充簬椤?*/
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); height: 420px; width: 100%; object-fit: cover; }
.about-grid h3 { font-size: 26px; color: var(--brown-dark); margin-bottom: 18px; }
.about-grid p { color: #6b5543; margin-bottom: 16px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .4s var(--ease-bounce);
}
.team-card:hover { transform: translateY(-10px); }
.team-card img { height: 280px; width: 100%; object-fit: cover; }
.team-card-body { padding: 24px; text-align: center; }
.team-card-body h4 { color: var(--brown-dark); margin-bottom: 6px; }
.team-card-body p { color: var(--brown); font-size: 14px; }
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 30px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 22px;
    align-items: flex-start;
}
.timeline-year {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.timeline-item p { color: #6b5543; }

/* 浜у搧椤?*/
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .45s var(--ease-bounce), box-shadow .4s;
}
.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-card); }
.product-card img { height: 240px; width: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover img { transform: scale(1.06); }
.product-body { padding: 28px; }
.product-body .p-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.14);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}
.product-body h3 { font-size: 21px; color: var(--brown-dark); margin-bottom: 10px; }
.product-body p { color: #6b5543; font-size: 15px; margin-bottom: 18px; }
.product-price { color: var(--primary-dark); font-weight: 800; font-size: 22px; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.process-step {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 34px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform .4s var(--ease-bounce);
}
.process-step:hover { transform: translateY(-8px); }
.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    opacity: .3;
    margin-bottom: 12px;
}
.process-step h3 { color: var(--brown-dark); margin-bottom: 10px; }
.process-step p { color: var(--brown); font-size: 14px; }

/* 鏂伴椈椤?*/
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 26px;
    transition: transform .4s var(--ease-bounce);
}
.news-item:hover { transform: translateX(12px); }
.news-item img { height: 200px; width: 100%; object-fit: cover; }
.news-body { padding: 26px 28px; }
.news-date {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}
.news-body h3 { font-size: 20px; color: var(--brown-dark); margin: 10px 0; }
.news-body p { color: #6b5543; font-size: 15px; }
.news-body a {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}
.news-body a:hover { text-decoration: underline; }

/* 鑱旂郴椤?*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 30px;
    box-shadow: var(--shadow-soft);
}
.contact-box .c-ico { font-size: 30px; }
.contact-box h3 { color: var(--brown-dark); margin: 8px 0 6px; }
.contact-box p { color: #6b5543; font-size: 15px; }
.contact-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; color: var(--brown-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0e4d2;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: var(--cream);
    color: var(--ink);
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .error-msg { color: #e02424; font-size: 13px; margin-top: 6px; display: none; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #e02424; }
.form-group.invalid .error-msg { display: block; }
.form-success {
    display: none;
    background: rgba(245, 158, 11, 0.1);
    border: 2px dashed var(--primary);
    color: var(--brown-dark);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 22px;
    font-weight: 700;
}

/* 鍦板浘鍗犱綅 */
.map-placeholder {
    height: 320px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff9f0, #fbe9cf);
    display: grid;
    place-items: center;
    color: var(--brown);
    font-size: 16px;
    box-shadow: var(--shadow-soft);
    margin-top: 50px;
    border: 2px dashed rgba(139, 94, 60, 0.3);
}

/* ========== 婊氬姩鍔ㄧ敾 ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s var(--ease-bounce);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ========== 鍝嶅簲寮?========== */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--cream-2);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 6px;
        transition: right .45s var(--ease-bounce);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
    }
    .main-nav.open { right: 0; }
    .main-nav a { padding: 14px 20px; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .hero-cards, .service-bubbles, .case-grid, .review-blocks { grid-template-columns: 1fr; }
    .hero-card-2, .bubble-5, .rb-2 { transform: none; }
    .bubble-2, .bubble-4 { transform: none; }
    .story-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .product-list, .team-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .news-item { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding-top: 120px; }
}

@media (max-width: 560px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-title { font-size: 52px; }
    .cta-bubble { padding: 56px 24px; }
    .contact-form { padding: 28px; }
}

/* =========================================
   CMS 閫氱敤杈呭姪锛堣鎯?/ 瀵屾枃鏈?/ 鍒嗛〉 / 鍒嗙被绛涢€?/ 鍔ㄧ敾锛?   ========================================= */
.cms-section { padding: 90px 0; }
.cms-detail { max-width: 900px; margin: 0 auto; }
.cms-detail > img { border-radius: var(--radius-lg); margin: 0 auto 12px; max-width: 100%; }
.cms-detail h1 { font-size: 2rem; margin: 18px 0; color: var(--brown-dark); }
.cms-detail .lead { color: #6b5543; margin-bottom: 20px; font-size: 1.05rem; }
.cms-detail .news-date-label {
    display: inline-block;
    background: var(--brown-dark);
    color: var(--cream);
    font-size: .82rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
}
.cms-content h2 { font-size: 1.5rem; margin: 24px 0 12px; color: var(--brown-dark); }
.cms-content h3 { font-size: 1.25rem; margin: 20px 0 10px; color: var(--brown-dark); }
.cms-content p, .cms-content ul, .cms-content li { color: #6b5543; margin-bottom: 15px; line-height: 1.9; }
.cms-content ul { padding-left: 18px; list-style: disc; }
.cms-content img { border-radius: var(--radius-md); }
.cms-content a { color: var(--primary-dark); }
.cms-back { display: inline-block; color: var(--primary-dark); font-size: .9rem; font-weight: 700; margin-bottom: 20px; text-decoration: none; }
.cms-back:hover { text-decoration: underline; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { color: #6b5543; padding: 10px 0; border-bottom: 2px dashed #eadbc4; font-size: .9rem; }
.spec-list li b { color: var(--primary-dark); }
.cms-pager { padding: 30px 0; text-align: center; }
.cms-pager .pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.cms-pager .page-link { padding: 10px 16px; border: 1px solid rgba(245, 158, 11, .4); border-radius: var(--radius-pill); background: #fff; color: var(--primary-dark); font-size: 14px; transition: .3s; display: inline-block; text-decoration: none; }
.cms-pager .page-link:hover { border-color: var(--primary); color: var(--primary); }
.cms-pager .page-item.active .page-link { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: var(--primary); color: #fff; }
.cms-pager .page-item.disabled .page-link { opacity: .5; pointer-events: none; }
.cms-grid { display: grid; gap: 18px; }
.cms-card { display: block; background: #fff; border-radius: var(--radius-md); padding: 22px 26px; box-shadow: var(--shadow-soft); text-decoration: none; color: inherit; transition: transform .35s var(--ease-bounce), box-shadow .3s; }
.cms-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.cms-card h3 { color: var(--brown-dark); margin-bottom: 8px; }
.cms-card h3 a { color: inherit; text-decoration: none; }
.cms-card p { color: #6b5543; font-size: .9rem; }
.form-alert-err { background: #fdecea; border: 1px solid #f3c6c0; color: #b23b35; padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 18px; }
.form-alert-err li { color: #b23b35; }
.form-submit { width: 100%; color: #fff; }
.team-placeholder { width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 3rem; font-weight: 900; }

/* ---------- 婊氬姩鍔ㄧ敾锛坅pp.js锛?---------- */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s var(--ease-bounce); }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- 鍒嗙被绛涢€?Tab锛坅pp 棣栭〉 / 鍒楄〃椤碉級 ---------- */
.cat-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tab { padding: 10px 26px; border-radius: var(--radius-pill); border: 2px solid rgba(139, 94, 60, .25); background: #fff; color: var(--brown); cursor: pointer; font-size: .92rem; font-weight: 600; transition: all .3s; font-family: inherit; }
.cat-tab.active, .cat-tab:hover { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: var(--primary); box-shadow: 0 8px 18px rgba(245, 158, 11, .35); }

/* ---------- 缁熻鏁板瓧鏍囩 ---------- */
.story-points small { display: block; font-size: 14px; color: var(--brown); font-weight: 400; }

/* ---------- 缈昏浆鍗＄墖閿洏鏀寔锛坅pp.js锛?---------- */
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

/* ===== Link color fixes (LINKS diag) ===== */
a.logo, a.logo * { color: inherit; text-decoration: none; }
a.bubble-card, .bubble-card { color: inherit; text-decoration: none; }
.bubble-card a h3, .bubble-card a p { color: inherit; text-decoration: none; }
.bubble-card a:hover h3, .bubble-card a:hover p { color: var(--brown-dark); }
.product-card a, .product-card a h3, .product-card a p, .product-card a span { color: inherit; text-decoration: none; }
.product-card a:hover h3 { color: var(--brown-dark); }
.news-item a, .news-item a h3, .news-item a p, .news-item a span { color: inherit; text-decoration: none; }
.news-item a:hover h3 { color: var(--brown-dark); }
.news-card a, .news-card a h3, .news-card a p { color: inherit; text-decoration: none; }
.work-card a, .work-card a h3, .work-card a p { color: inherit; text-decoration: none; }
.case-card a, .case-card a h3, .case-card a p { color: inherit; text-decoration: none; }
.footer-links a, .footer-col a, .footer-grid a { color: rgba(255,255,255,.8); text-decoration: none; }
.cms-detail a { color: var(--brown-dark); }

/* ===== CMS global link-color reset (fixes default blue/underline) ===== */
a:has(h1), a:has(h2), a:has(h3), a:has(h4), a:has(img),
a.logo, a.logo *, .logo, .logo *,
a.news-thumb, a.news-thumb *, a.prod-thumb, a.prod-thumb *,
a.img-wrap, a.img-wrap *, a.thumb, a.thumb *, a.cover, a.cover *,
a[style*='background-image'], a[style*='background'],
a.card, a.card *, a.work-card, a.work-card *, a.product-card, a.product-card *,
a.news-card, a.news-card *, a.news-item, a.news-item *, a.case-card, a.case-card *,
a.service-card, a.service-card *, a.svc-card, a.svc-card *, a.item-card, a.item-card * {
  color: inherit !important;
  text-decoration: none !important;
}
a:has(h1):hover, a:has(h2):hover, a:has(h3):hover, a:has(h4):hover,
a.logo:hover, .logo:hover, a.card:hover, a.card *:hover,
a.news-thumb:hover, a.prod-thumb:hover, a.work-card:hover, a.product-card:hover,
a.news-card:hover, a.news-item:hover, a.case-card:hover, a.service-card:hover { color: inherit !important; }
a.prod-img-link, a.prod-img-link *,
a.img-link, a.img-link *, a.thumb-link, a.thumb-link *,
a.cover-link, a.cover-link *, a.media-link, a.media-link *,
a[class*='-thumb'], a[class*='-img'], a[class*='-cover'],
a[class*='thumb-'], a[class*='img-'],
a.img-side, a.img-side *, a.pic, a.pic *, a.pic-link, a.pic-link * {
  color: inherit !important;
  text-decoration: none !important;
}
/* ===== CMS heading-link reset (anchor inside heading) ===== */
h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit !important;
  text-decoration: none !important;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover { color: inherit !important; }
