:root {
    --primary-color: #2563EB;
    --text-color: #111111;
    --light-text: #666666;
    --bg-color: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E9ECEF;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 88px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

section {
    scroll-margin-top: 88px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: white;
    padding: 4px;
}

.logo-text {
    font-size: 26px;
    font-weight: bold;
    color: var(--text-color);
}

.logo-sub {
    font-size: 12px;
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.is-active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #1D4ED8;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero区域样式 */
.hero {
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--light-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-secondary:hover {
    background-color: var(--text-color);
    color: white;
}

.hero-promises {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 50px;
    border-top: 1px dashed var(--border-color);
    margin-top: 30px;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.15);
    position: relative;
}

.promise-item:hover {
    background-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.promise-item i {
    color: var(--primary-color);
    font-size: 22px;
}

.promise-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--border-color);
}

.promise-item:hover .promise-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 20px);
}

.promise-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.promise-tooltip h4 {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
}

.promise-tooltip p {
    font-size: 13px;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

/* 关于我们样式 */
.about {
    padding: 60px 0;
    background-color: #ffffff;
}

.about-wall {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    position: relative;
}

.about-wall .container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-wall .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 0 50% 50% 0;
    z-index: 0;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    padding: 30px 40px;
    padding-bottom: 15px;
}

.about-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 1;
    padding: 0 40px 40px;
}

.about-en {
    font-size: 24px;
    font-weight: bold;
    color: white;
    letter-spacing: 3px;
}

.about-divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}

.about-zh {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.about-left {
    flex: 1;
    min-width: 350px;
    padding: 30px;
}

.about-slogan {
    color: white;
    margin-bottom: 30px;
}

.about-slogan p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0.95;
}

.about-highlights {
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: white;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-dot {
    color: #FFD700;
    font-size: 16px;
}

.about-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tag-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.tag-yellow {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.tag-green {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

.tag-orange {
    background: linear-gradient(135deg, #F97316, #EA580C);
}

.tag-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: 2px solid white;
}

.about-right {
    flex: 1.08;
    min-width: 390px;
}

.map-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
}

.map-container {
    position: relative;
    min-height: 350px;
}

.china-map {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.china-map--static {
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-china-map {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.map-info {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    text-align: left;
    padding: 10px 13px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.map-fallback {
    min-height: 320px;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 197, 94, 0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    text-align: center;
    padding: 24px;
}

.map-fallback span {
    color: var(--light-text);
    font-size: 13px;
}

.map-info p {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
}

.map-stats {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.stat-star {
    color: #FFD700;
}

.stat-divider {
    color: #999;
}

/* 加入我们样式 */
.join {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.join-header {
    text-align: center;
    margin-bottom: 50px;
}

.join-en {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
}

.join-header h2 {
    font-size: 32px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 12px;
}

.join-subtitle {
    font-size: 16px;
    color: var(--light-text);
}

.join-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.join-overview {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 34px;
}

.join-mode {
    position: relative;
    display: block;
    background-color: var(--light-bg);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.join-mode-detail {
    position: absolute;
    top: 26px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #C7D8FF;
    border-radius: 999px;
    background: #EAF1FF;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.join-mode-detail:hover {
    transform: translateY(-1px);
    background: #DFEAFF;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.join-mode-detail i,
.join-btn i {
    transition: transform 0.2s ease;
}

.join-mode-detail:hover i,
.join-btn:hover i {
    transform: translateX(3px);
}

.join-mode h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--text-color);
}

.join-mode p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.join-mode-grid {
    display: grid;
    gap: 12px;
}

.join-mode-grid div {
    padding: 16px;
    border-radius: 10px;
    background-color: var(--bg-color);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.join-mode-grid strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.join-mode-grid span {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.join-mode-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(37, 99, 235, 0.12);
}

.join-mode .join-mode-action-hint {
    flex: 0 0 100%;
    margin: 0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.join-mode-actions .join-btn {
    min-width: 190px;
    padding: 12px 24px;
    font-size: 15px;
}

.join-advantages {
    flex: 1;
    min-width: 300px;
}

.join-advantages h3,
.join-process h3 {
    font-size: 22px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.advantage-item {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.advantage-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.advantage-item h4 {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

.join-process {
    flex: 1;
    min-width: 300px;
}

.process-timeline {
    position: relative;
    padding-left: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.process-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-step {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-step span {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.process-content {
    flex: 1;
}

.process-content h4 {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.process-content p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 48px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 212px;
}

.join-btn:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.join-btn-secondary {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.28);
}

.join-btn-secondary:hover {
    color: white;
}

/* 加盟详情页 */
.join-page {
    background-color: #F7FAFC;
}

.join-page-hero {
    padding: 118px 0 86px;
    background:
        linear-gradient(135deg, rgba(18, 37, 74, 0.96), rgba(24, 57, 116, 0.94)),
        #12254A;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.join-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.join-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.join-breadcrumb a:hover,
.join-breadcrumb strong {
    color: white;
}

.join-page-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 48px;
    align-items: center;
}

.join-hero-copy {
    max-width: 620px;
}

.join-page-hero h1 {
    font-size: 46px;
    line-height: 1.18;
    color: white;
    margin-bottom: 18px;
}

.join-page-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.9;
    max-width: 640px;
}

.join-page-hero .cta-button-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.72);
}

.join-page-hero .cta-button-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.join-hero-media {
    position: relative;
    min-height: 420px;
}

.join-hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    background-color: rgba(255, 255, 255, 0.08);
}

.join-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.join-carousel-slide.is-active {
    opacity: 1;
}

.join-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.join-carousel-slide:nth-child(4) img {
    object-position: center 38%;
}

.join-carousel-dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(8px);
}

.join-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.join-carousel-dot.is-active {
    width: 22px;
    background-color: white;
}

.join-hero-panel {
    background-color: var(--bg-color);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    padding: 20px 24px;
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.join-hero-panel div {
    padding: 0 14px;
    border-right: 1px solid var(--border-color);
    border-bottom: none;
}

.join-hero-panel div:last-child {
    border-right: none;
}

.join-hero-panel strong,
.join-hero-panel span {
    display: block;
}

.join-hero-panel strong {
    color: var(--primary-color);
    margin-bottom: 6px;
}

.join-hero-panel span {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.join-photo-rail {
    padding: 62px 0 28px;
    background-color: #F7FAFC;
}

.join-photo-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.join-photo-heading h2 {
    color: var(--text-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.join-photo-heading p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
}

.join-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}

.join-photo-card {
    position: relative;
    margin: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.join-photo-card--wide {
    grid-column: span 2;
}

.join-photo-card--tall {
    grid-row: span 2;
}

.join-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-photo-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px 18px 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.82));
}

.join-photo-card strong,
.join-photo-card span {
    display: block;
}

.join-photo-card strong {
    color: white;
    font-size: 16px;
    margin-bottom: 7px;
}

.join-photo-card span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.7;
}

.join-detail-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.join-detail-section-muted {
    background-color: var(--light-bg);
}

.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cooperation-card,
.partner-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.cooperation-card {
    padding: 30px;
}

.cooperation-card h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 18px;
}

.cooperation-card ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.cooperation-card li {
    color: var(--light-text);
    padding-left: 22px;
    position: relative;
    line-height: 1.7;
}

.cooperation-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.partner-card {
    padding: 24px;
}

.partner-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 16px;
}

.partner-card h3 {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.partner-card p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.support-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.support-list div {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.support-list strong,
.support-list span {
    display: block;
}

.support-list strong {
    color: var(--text-color);
    font-size: 17px;
    margin-bottom: 8px;
}

.support-list span {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.join-page-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.join-page-steps div {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.join-page-steps strong {
    color: var(--primary-color);
    font-size: 14px;
}

.join-page-steps h3 {
    margin: 8px 0;
    color: var(--text-color);
    font-size: 18px;
}

.join-page-steps p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 14px;
}

.join-faq {
    background-color: var(--bg-color);
}

.join-final-cta {
    padding: 72px 0;
    text-align: center;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white;
}

.join-final-cta h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.join-final-cta p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
}

.join-final-cta .join-btn {
    background-color: white;
    color: var(--primary-color);
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: bold;
}

.section-heading p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
}

/* 服务项目样式 */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: bold;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-color);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 13px;
    color: var(--light-text);
    padding: 7px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

/* 服务城市样式 */
.service-areas {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.area-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.area-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.area-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
}

.area-card-featured {
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

/* 施工流程样式 */
.work-process {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.work-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-step {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.work-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 16px;
}

.work-step span {
    display: block;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.work-step p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

.process-gallery {
    max-width: 1160px;
    margin: 0 auto;
}

.process-step-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.process-tab {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border: 1px solid #DDE7F6;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.process-tab strong {
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 0;
}

.process-tab span {
    font-size: 15px;
    font-weight: 700;
}

.process-tab:hover,
.process-tab.is-active {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.45);
    background: #F7FAFF;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.process-tab.is-active {
    background: var(--primary-color);
    color: #FFFFFF;
}

.process-tab.is-active strong {
    color: #FFFFFF;
}

.process-panels {
    position: relative;
}

.process-panel {
    display: none;
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
    gap: 24px;
    align-items: stretch;
    padding: 22px;
    border: 1px solid #E2EAF7;
    border-radius: 18px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.process-panel.is-active {
    display: grid;
}

.process-panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    padding: 18px;
    border-radius: 14px;
    background: #F2F6FD;
}

.process-panel-copy span {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.process-panel-copy h3 {
    margin: 14px 0 12px;
    color: var(--text-color);
    font-size: 28px;
    line-height: 1.25;
}

.process-panel-copy p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
}

.process-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.process-photo {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    padding: 0;
    background: #EAF1FF;
    cursor: zoom-in;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.process-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.process-photo img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.32s ease;
}

.process-photo:hover img {
    transform: scale(1.045);
}

.process-photo:hover::after {
    opacity: 1;
}

.process-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.process-lightbox.is-open {
    display: flex;
}

.process-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
}

.process-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
}

.process-lightbox-panel figure {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.process-lightbox-panel img {
    width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    display: block;
    background: #111827;
}

.process-lightbox-panel figcaption {
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
}

.process-lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: #FFFFFF;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.process-lightbox-close:hover {
    transform: translateY(-1px);
}

/* 案例展示样式 */
.cases {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #EAF1FF 0%, #F7FAFC 55%, #FFF7ED 100%);
    min-height: 190px;
}

.case-card::before {
    content: '案例图片加载中';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 14px;
    z-index: 0;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
}

.case-card.image-failed::before {
    content: '案例图片暂未加载';
}

.case-card.image-failed img {
    opacity: 0;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px;
    color: white;
    z-index: 2;
}

.case-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.case-info p {
    font-size: 12px;
    opacity: 0.85;
}

.case-gallery-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #E5ECF8;
    border-radius: 18px;
    background: linear-gradient(135deg, #F8FBFF 0%, #FFFFFF 48%, #F3F8FF 100%);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.10);
}

.case-gallery-main {
    position: relative;
    min-height: 480px;
}

.case-gallery-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #0F172A;
    cursor: zoom-in;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.case-gallery-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, transparent 46%, rgba(15, 23, 42, 0.42) 100%);
    z-index: 2;
    pointer-events: none;
}

.case-gallery-image {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.25s ease;
}

.case-gallery-stage:hover .case-gallery-image {
    transform: scale(1.025);
}

.case-gallery-badge,
.case-gallery-count {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0;
}

.case-gallery-badge {
    top: 18px;
    left: 18px;
    padding: 8px 14px;
    background: var(--primary-color);
    font-size: 15px;
}

.case-gallery-count {
    right: 18px;
    bottom: 18px;
    padding: 7px 12px;
    background: rgba(15, 23, 42, 0.72);
    font-size: 13px;
}

.case-gallery-controls {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.case-gallery-control,
.case-lightbox-nav,
.case-lightbox-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.case-gallery-control {
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
}

.case-gallery-control:hover,
.case-lightbox-nav:hover,
.case-lightbox-close:hover {
    transform: translateY(-1px);
}

.case-gallery-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 10px 18px 4px;
}

.case-gallery-kicker {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #EAF1FF;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.case-gallery-copy h3 {
    margin: 18px 0 12px;
    color: var(--text-color);
    font-size: 28px;
    line-height: 1.25;
}

.case-gallery-copy p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 15px;
}

.case-gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.case-gallery-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #DCE7F8;
    color: #1F2937;
    font-size: 13px;
    font-weight: 600;
}

.case-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.case-gallery-thumb {
    position: relative;
    overflow: hidden;
    min-height: 76px;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    background: #EEF4FF;
    cursor: pointer;
}

.case-gallery-thumb img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.case-gallery-thumb span {
    position: absolute;
    left: 7px;
    bottom: 7px;
    z-index: 2;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
}

.case-gallery-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(15, 23, 42, 0.3) 100%);
}

.case-gallery-thumb:hover img,
.case-gallery-thumb.is-active img {
    transform: scale(1.06);
}

.case-gallery-thumb.is-active {
    border-color: var(--primary-color);
}

.case-gallery-open {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.case-gallery-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.case-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.case-lightbox.is-open {
    display: flex;
}

.case-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
}

.case-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-lightbox-figure {
    width: min(820px, calc(100vw - 112px));
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.case-lightbox-figure img {
    width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    display: block;
    background: #111827;
}

.case-lightbox-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
}

.case-lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 3;
    color: #111827;
    background: #FFFFFF;
}

.case-lightbox-nav {
    position: absolute;
    z-index: 3;
    color: #111827;
    background: #FFFFFF;
}

.case-lightbox-prev {
    left: 0;
}

.case-lightbox-next {
    right: 0;
}

body.lightbox-open {
    overflow: hidden;
}

/* 常见问题样式 */
.faq {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-list details {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 22px;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: '-';
}

.faq-list details p {
    padding: 0 22px 20px;
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text-color);
    font-weight: bold;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 0;
    align-items: stretch;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    min-width: 0;
    padding: 34px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 197, 94, 0.05));
    border-right: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    background-color: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    transform: translateX(2px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}

.contact-item h4 {
    margin-bottom: 4px;
    color: var(--text-color);
    font-size: 15px;
}

.contact-item p {
    color: var(--light-text);
    font-size: 14px;
    margin: 0;
}

.contact-section-label {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
}

.contact-form {
    min-width: 0;
    background-color: var(--bg-color);
    padding: 34px;
    border-radius: 0;
    box-shadow: none;
}

.contact-form h3 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 600;
}

.contact-form-note {
    color: var(--light-text);
    font-size: 14px;
    margin: 0 0 22px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-row {
    display: flex;
    gap: 14px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.form-message {
    min-height: 20px;
    font-size: 13px;
    color: var(--primary-color);
}

.form-message.error {
    color: #DC2626;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #1D4ED8;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.service-card,
.case-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }

.case-card:nth-child(2) { animation-delay: 0.1s; }
.case-card:nth-child(3) { animation-delay: 0.2s; }
.case-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚样式 */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-color: white;
    padding: 5px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: bold;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-records {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 8px;
}

.footer-records a,
.footer-records span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    text-decoration: none;
}

.footer-records a:hover {
    color: white;
}

.gongan-record {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gongan-record img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .join-page-hero-content {
        grid-template-columns: 1fr;
    }

    .join-hero-copy {
        max-width: 780px;
    }

    .join-hero-media {
        min-height: auto;
        padding-bottom: 34px;
    }

    .join-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 210px;
    }

    .process-panel {
        grid-template-columns: 1fr;
    }

    .process-panel-copy {
        min-height: auto;
    }

    .process-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 15px 20px;
    }

    .logo {
        gap: 8px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-sub {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
    }

    .navbar.is-open .nav-links {
        max-height: 460px;
        opacity: 1;
        pointer-events: auto;
        margin-top: 14px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 13px 4px;
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-promises {
        padding-top: 28px;
        margin-top: 10px;
    }

    .promise-item {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
        cursor: pointer;
    }

    .promise-tooltip {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 12px;
        display: none;
        box-shadow: none;
    }

    .promise-item:hover .promise-tooltip {
        bottom: auto;
    }

    .promise-item.is-open {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .promise-item.is-open .promise-tooltip {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .promise-tooltip::after {
        display: none;
    }

    .form-row {
        flex-direction: column;
    }

    .services-grid,
    .areas-grid,
    .join-overview,
    .join-photo-grid,
    .cooperation-grid,
    .partner-grid,
    .support-list,
    .join-page-steps,
    .work-process-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .join-mode-detail {
        position: static;
        margin-bottom: 16px;
    }

    .join-photo-grid {
        grid-auto-rows: 260px;
    }

    .join-photo-card--wide,
    .join-photo-card--tall {
        grid-column: auto;
        grid-row: auto;
    }

    .join-mode-actions {
        align-items: stretch;
    }

    .join-mode-actions .join-btn {
        width: 100%;
        min-width: 0;
    }

    .process-step-tabs {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 2px 2px 10px;
        scroll-snap-type: x mandatory;
    }

    .process-tab {
        flex: 0 0 128px;
        min-height: 78px;
        scroll-snap-align: start;
    }

    .process-panel {
        padding: 14px;
        gap: 14px;
        border-radius: 14px;
    }

    .process-panel-copy {
        padding: 16px;
    }

    .process-panel-copy h3 {
        font-size: 24px;
    }

    .process-photo-grid {
        gap: 10px;
    }

    .process-photo,
    .process-photo img {
        min-height: 210px;
    }

    .process-lightbox {
        padding: 16px;
    }

    .process-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .process-lightbox-panel img {
        max-height: calc(100vh - 130px);
    }

    .case-gallery-featured {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 18px;
        border-radius: 14px;
    }

    .case-gallery-main,
    .case-gallery-stage,
    .case-gallery-image {
        min-height: 360px;
    }

    .case-gallery-copy {
        padding: 4px 2px 6px;
    }

    .case-gallery-copy h3 {
        font-size: 24px;
    }

    .case-gallery-thumbs {
        display: flex;
        overflow-x: auto;
        gap: 9px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    .case-gallery-thumb {
        flex: 0 0 112px;
        scroll-snap-align: start;
    }

    .case-lightbox {
        padding: 16px;
    }

    .case-lightbox-panel {
        max-height: calc(100vh - 32px);
    }

    .case-lightbox-figure {
        width: calc(100vw - 32px);
    }

    .case-lightbox-figure img {
        max-height: calc(100vh - 130px);
    }

    .case-lightbox-prev {
        left: 10px;
    }

    .case-lightbox-next {
        right: 10px;
    }

    .case-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .join-page-hero {
        padding: 120px 0 56px;
    }

    .join-page-hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .join-breadcrumb {
        margin-bottom: 24px;
    }

    .join-page-hero h1 {
        font-size: 34px;
    }

    .join-hero-media {
        padding-bottom: 0;
    }

    .join-hero-panel {
        position: static;
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .join-hero-panel div {
        padding: 14px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .join-hero-panel div:last-child {
        border-bottom: none;
    }
    
    .join-content {
        gap: 40px;
    }
    
    .join-header h2 {
        font-size: 26px;
    }
    
    .join-en {
        font-size: 16px;
    }

    .contact-form,
    .contact-info {
        min-width: 0;
        width: 100%;
    }

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

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .about-wall .container::before {
        width: 100%;
        border-radius: 0;
    }

    .about-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 26px 24px 14px;
        margin-bottom: 20px;
    }

    .about-main {
        display: block;
        padding: 0 24px 30px;
    }

    .about-left {
        flex: none;
        min-width: 0;
        width: 100%;
        padding: 0;
    }

    .about-right {
        flex: none;
        min-width: 0;
        width: 100%;
        margin-top: 28px;
    }

    .map-section {
        padding: 16px;
    }

    .map-container {
        min-height: 290px;
    }

    .china-map {
        height: 290px;
    }

    .static-china-map {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .cta-button,
    .cta-button-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }

    .about,
    .services,
    .service-areas,
    .work-process,
    .faq,
    .cases,
    .contact,
    .join {
        padding: 50px 0;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .process-photo,
    .process-photo img {
        min-height: 170px;
    }

    .process-tab {
        flex-basis: 116px;
    }

    .case-gallery-main,
    .case-gallery-stage,
    .case-gallery-image {
        min-height: 300px;
    }

    .case-gallery-badge {
        top: 12px;
        left: 12px;
        font-size: 13px;
    }

    .case-gallery-controls {
        top: 12px;
        right: 12px;
    }

    .case-gallery-control {
        width: 38px;
        height: 38px;
    }

    .case-gallery-tags {
        gap: 8px;
    }

    .case-gallery-tags span {
        font-size: 12px;
        padding: 7px 10px;
    }
    
    .join-btn {
        padding: 12px 36px;
        font-size: 15px;
        width: 100%;
        min-width: 0;
    }

    .join-btn-secondary {
        margin-left: 0;
        margin-top: 0;
    }

    .join-detail-section,
    .join-page-hero,
    .join-final-cta {
        padding-left: 0;
        padding-right: 0;
    }

    .join-page-hero h1 {
        font-size: 28px;
    }

    .join-page-hero p {
        font-size: 15px;
    }

    .join-hero-carousel,
    .join-photo-card img {
        aspect-ratio: 1.2 / 1;
    }

    .china-map {
        height: 250px;
    }

    .map-container {
        min-height: 250px;
    }

    .map-info {
        right: 10px;
        bottom: 10px;
        padding: 9px 10px;
    }

    .map-stats {
        gap: 8px;
    }

    .stat-item {
        gap: 5px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
