:root {
    --primary-color: #2D4A3E;
    --primary-dark: #1A2E23;
    --primary-light: #3D5A4E;
    --secondary-color: #C4A35A;
    --secondary-dark: #A8894A;
    --bg-light: #F5F2EB;
    --bg-cream: #FAF8F3;
    --bg-white: #FFFFFF;
    --text-primary: #1A2E23;
    --text-secondary: #4A5A52;
    --text-light: #7A8A82;
    --text-white: #FFFFFF;
    --text-white-secondary: rgba(255, 255, 255, 0.85);
    --border-color: #E5E0D5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p, h1, h2, h3, h4, h5, h6, li, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Language Dropdown */
.desktop-lang-switcher,
.mobile-lang-switcher {
    position: relative;
    z-index: 1001;
}

.mobile-lang-switcher {
    display: none;
}

.lang-dropdown-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.lang-dropdown-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-dropdown-toggle::after {
    content: '▼';
    font-size: 8px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.desktop-lang-switcher:hover .lang-dropdown-toggle::after,
.mobile-lang-switcher:hover .lang-dropdown-toggle::after {
    transform: rotate(180deg);
}

.desktop-lang-switcher .lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.mobile-lang-switcher .lang-dropdown-menu {
    position: fixed;
    top: 85px;
    right: 80px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.desktop-lang-switcher:hover .lang-dropdown-menu,
.desktop-lang-switcher .lang-dropdown-menu:hover,
.mobile-lang-switcher:hover .lang-dropdown-menu,
.mobile-lang-switcher .lang-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-radius: 6px;
    margin: 2px 8px;
}

.lang-dropdown-menu li a:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateX(4px);
}

.lang-dropdown-menu li a.active {
    background: var(--secondary-color);
    color: var(--text-white);
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    background: #FAF8F3;
    padding: 12px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav ul::-webkit-scrollbar {
    display: none;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-btn-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.partner-btn-icon:hover {
    background: var(--primary-dark);
}

.partner-icon-svg {
    width: 16px;
    height: 16px;
}

.partner-btn-text {
    text-transform: uppercase;
}

/* Header Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.header-container .nav {
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}
.focus-hero-subtitle{
    line-height: 2;
    font-size: 20px;
    padding-bottom: 16px;
}
    .hero-tagline {
        font-size: 20px !important;
        font-weight: 600 !important;
    }
/* Hero & Features Section */
.hero-features {
    background: var(--bg-cream);
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
}

/* Hero Container 优化为更加灵活的相对定位 */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh; /* 保证首屏有足够的高度 */
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: none; /* 覆盖 .container 的 max-width，让图片铺满屏幕 */
    background: var(--bg-cream);
    overflow: hidden; /* 防止长单词导致水平滚动 */
}

/* 左侧内容区：自适应宽度 */
.hero-content {
    flex: 1 1 50%;
    padding: 60px 5% 60px 40px; /* 使用百分比 padding 增加呼吸感 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
}

/* 右侧图片区：使用绝对定位铺展，配合渐变与左侧自然融合 */
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* 渐变遮罩：改为百分比控制，适配各种屏幕和语言长度 */
.hero-gradient-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(250, 248, 243, 1) 0%, 
        rgba(250, 248, 243, 0.95) 8%, 
        rgba(250, 248, 243, 0.5) 22%, 
        rgba(250, 248, 243, 0.1) 38%, 
        transparent 50%
    );
    pointer-events: none;
    z-index: 2;
}

/* 排版优化：动态缩放 */
.hero-tagline {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.hero-title {
    /* 使用 clamp 让字体在 32px 到 52px 之间流畅缩放 */
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.3;
    color: var(--text-primary);
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* 允许文本自然换行，防止硬截断 */
.hero-title-line {
    display: block;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 按钮区：允许在长文本下自动换行 */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap; /* 关键：防止法语长按钮溢出 */
    z-index: 3;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    padding: 0;
    background: #F5F2EB;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.features-section .feature-card {
    text-align: center;
    padding: 5px 0;
    border-right: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.features-section .feature-card:last-child {
    border-right: none;
}

.features-section .feature-card:hover {
    background: rgba(255,255,255,0.8);
    box-shadow: var(--shadow-sm);
}

.features-section .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
}

.features-section .feature-icon svg,
.features-section .feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.features-section .feature-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    min-height: auto;
}

.features-section .feature-card p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: auto;
    width: 180px;
    margin: 0 auto 15px;
    text-align: center;
}

/* Partner Network Section */
.partner-network {
    padding: 100px 0;
    background: var(--bg-cream);
}

.partner-label {
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.partner-network h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    line-height: 1.35;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partner-icons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: 40px;
}

.partner-description {
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 20px;
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.partner-item:last-child {
    border-right: none;
}

.partner-item:hover {
    background: var(--bg-white);
}

.partner-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.partner-icon svg,
.partner-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.partner-item span {
    font-size: 14px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(45, 74, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    color: var(--text-white);
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-card p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-text {
    padding-top: 20px;
}

.about-label {
    font-size: 14px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.35;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    max-width: 640px;
}

.about-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-text p:last-of-type {
    font-size: 13px;
    line-height: 1.9;
    color: #555555;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
    align-items: center;
}

.about-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 50%;
}

/* Focus Areas Section */
.focus-areas {
    padding: 120px 0;
    background: var(--bg-cream);
}

.focus-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: end;
}

.focus-left {
    padding-top: 20px;
    position: relative;
}

.focus-label {
    font-size: 14px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.focus-header .focus-subtitle,
.focus-left h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.35;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    max-width: 550px;
}

.focus-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.focus-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.focus-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.focus-item-header:hover {
    color: var(--primary-color);
}

.focus-item-header:hover .focus-arrow {
    transform: translateX(5px);
}

.focus-item-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.focus-number {
    font-size: 14px;
    color: var(--text-light);
    min-width: 30px;
    font-weight: 500;
}

.focus-arrow {
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
}

.focus-item.active .focus-arrow {
    transform: rotate(90deg);
}

.focus-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    padding: 0 0 0 50px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    opacity: 0;
}

.focus-item.active .focus-detail {
    max-height: 200px;
    padding: 12px 0 4px 50px;
    opacity: 1;
}

.focus-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.focus-link:hover {
    color: var(--primary-color);
}

.focus-right {
    position: relative;
}

.focus-image-wrapper {
    position: relative;
}

.focus-right img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

.focus-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(250, 248, 243, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    max-width: 340px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.focus-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.focus-card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Core Services Section */
.core-services {
    padding: 0;
    background: var(--bg-white);
}

.services-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    align-items: stretch;
    padding: 0;
}

.container.services-container {
    padding: 0;
}

.services-left {
    position: relative;
    min-height: 644px;
    height: 644px;
    overflow: hidden;
}

.services-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 644px;
    min-height: 644px;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    z-index: 5;
}

.services-text-overlay {
    position: absolute;
    top: 40px;
    left: 40px;
    right: auto;
    padding: 30px;
    background: rgba(250, 248, 243, 0.75);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: auto;
    box-sizing: border-box;
    z-index: 20;
    
}

.services-text-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.services-text-overlay .services-subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.services-text-overlay p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.services-text-overlay blockquote {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 20px;
    margin: 0;
    border-left: 3px solid var(--secondary-color);
    line-height: 1.7;
    quotes: "“" "”";
    opacity: 0.9;
}

.services-right {
    background: var(--bg-white);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
    padding: 20px;
}

.services-label {
    font-size: 14px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin: 30px 0;
    padding-left: 20px;
    text-align: left;
    text-transform: uppercase;
    grid-column: 1 / -1;
    line-height: 25px;
}

/* Compact section links used on the three homepage overview modules. */
.section-more-link {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 6px;
    padding: 2px 0;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.section-more-link svg {
    width: 16px;
    height: 14px;
    flex: 0 0 auto;
    overflow: visible;
    transition: transform 0.22s ease;
}

.section-more-link path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-more-link:hover {
    color: var(--primary-color);
}

.section-more-link:hover svg {
    transform: translateX(2px);
}

.section-more-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.section-more-link--about {
    margin: 12px 0 0 auto;
}

.section-more-link--focus {
    position: absolute;
    left: 0;
    bottom: -68px;
}

.services-section-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 0 20px;
}

.services-section-head .services-label {
    grid-column: auto;
    margin: 0;
    padding-left: 0;
}

.services-hero-content h2 {
    font-size: 42px;
    font-weight: 400;
    color: inherit;
    margin-bottom: 16px;
    line-height: 1.25;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

.services-hero-content .services-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.services-hero-content .services-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 28px;
    opacity: 0.9;
}

.services-hero-content blockquote {
    font-size: 13px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding: 0;
    border-left: none;
    quotes: "“" "”";
}

.services-hero-content blockquote::before,
.services-hero-content blockquote::after {
    content: '';
}

.services-header .services-subtitle,
.services-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    max-width: 400px;
}

.services-text-overlay h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.35;
    max-width: 100%;
}

.services-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.services-desc {
    font-size: 11px;
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
}

.services-left blockquote {
    font-size: 11px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 0;
    border-left: none;
    font-weight: 500;
    text-align: left;
    margin-bottom: 0;
}

.services-image {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card {
    text-align: left;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
    height: 100%;
}

.service-card:hover {
    background: var(--bg-cream);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 14px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.service-divider {
    width: 36px;
    height: 2px;
    background: #C9A76B;
    margin: 0 auto 20px auto;
    border: none;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    padding-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card li {
    position: relative;
    padding: 10px 0 10px 20px !important;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
    margin-left: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

/* 服务卡片的第一个列表项 */
section#services > div.container.services-container > div.services-right > div.services-cards > div.service-card > ul > li:nth-child(1) {
    font-weight: 400;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.services-stats-container {
    background: #dbd8c2;
    padding-top: 0;
}

@media (max-width: 900px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    .services-left {
        order: 2;
        position: relative;
        height: auto;
        min-height: 300px;
    }
    .services-right {
        order: 1;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-image::before {
        height: 150px;
    }
    .services-text-overlay {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .services-cards {
        grid-template-columns: 1fr;
    }
    .services-text-overlay {
        padding: 30px 20px;
    }
}

.services-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 0 40px;
    margin-top: 0;
    min-height: 180px;
}

/* Partners Section */
.partners-section {
    background: var(--bg-cream);
    padding: 60px 0;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-label {
    font-size: 14px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.partners-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.partners-grid {
    display: flex;
    gap: 30px;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
    flex: 1;
}

.partners-grid::-webkit-scrollbar {
    display: none;
}

.partners-grid .partner-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-cream);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.partners-grid .partner-item:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.partners-grid .partner-item img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-name {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(45, 74, 62, 0.15);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(45, 74, 62, 0.3);
    color: white;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

@media (max-width: 900px) {
    .partners-grid {
        gap: 20px;
    }
    .partners-grid .partner-item {
        min-width: 140px;
        padding: 15px 20px;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        gap: 15px;
    }
    .partners-grid .partner-item {
        min-width: 120px;
        padding: 12px 15px;
    }
    .partners-grid .partner-item img {
        max-width: 100px;
    }
}

/* Insights Section */
.insights-container {
    background: var(--bg-cream);
    padding: 60px 0;
}

.insights-content {
    display: flex;
    gap: 40px;
}

.insights-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 35%;
    flex-shrink: 0;
}

.insights-label {
    font-size: 14px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.insights-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.insights-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: fit-content;
    margin-top: 10px;
}

.insights-button:hover {
    background: var(--text-primary);
}

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

.insight-card {
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-card h3 {
    padding: 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.insight-date {
    display: block;
    padding: 0 20px 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .insights-content {
        flex-direction: column;
    }
    .insights-header {
        width: 100%;
        max-width: 400px;
    }
    .insights-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .insights-container {
        padding: 40px 0;
    }
    .insights-cards {
        grid-template-columns: 1fr;
    }
    .insights-header h2 {
        font-size: 24px;
    }
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 30px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--border-color);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.stat-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 20px;
}

/* Vision Section */
.vision {
    padding: 140px 0;
    background: rgb(41, 65, 42);
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.vision h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.35;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vision-slogan {
    font-size: 16px;
    font-weight: 600 !important;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.vision_desc {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-white-secondary);
    margin-bottom: 45px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.vision .btn-primary {
    margin-top: 20px;
    background: var(--secondary-color);
    color: var(--text-primary);
    padding: 14px 40px;
}

.vision .btn-primary:hover {
    background: var(--secondary-dark);
}

/* Footer */
.footer {
    background: rgb(34, 58, 35);
    color: var(--text-white);
    padding: 60px 0 30px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 2px;
    line-height: 1.5;
}

.footer-logo {
    height: 90px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-brand p[data-translate="footer_desc"] {
    width: 172px;
}

.link-group h4 {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.link-group ul {
    list-style: none;
    padding-left: 0;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color 0.25s ease;
}

.link-group a:hover {
    color: var(--secondary-color);
}

.footer-newsletter p {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 16px;
    max-width: 220px;
}

.newsletter-form input {
    flex: 3;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px 0 0 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 6px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form button {
    padding: 8px 10px;
    background: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .partner-icons {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .partner-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-hero {
        height: 400px;
    }
    
    .services-hero-content {
        left: 20px;
        right: 20px;
        padding: 30px;
        max-width: 100%;
    }
    
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
        border-top: 1px solid var(--border-color);
    }
    
    .service-card:nth-child(2n) {
        border-right: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
        flex: 1;
        width: 100%;
        padding: 40px 30px;
        min-height: 300px;
    }
    
    .hero-image {
        order: 2;
        flex: 1;
        width: 100%;
        min-height: 250px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo img {
        height: 75px;
    }
    
    .header-right {
        display: flex;
        gap: 10px;
    }
    
    .header-right .partner-btn-icon {
        padding: 6px 12px;
        font-size: 9px;
    }
    
    .header-right .partner-btn-icon .partner-btn-text {
        display: none;
    }
    
    .mobile-lang-switcher {
        display: block;
    }
    
    .desktop-lang-switcher {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 15px 20px;
        font-size: 14px;
        text-align: left;
        white-space: normal;
    }
    
    .nav .partner-btn-icon-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: var(--text-white);
        padding: 12px 24px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 15px 20px;
    }
    
    .mobile-lang-switcher .lang-dropdown-menu {
        top: calc(100% + 8px);
        right: 0;
        position: absolute;
        min-width: 100px;
    }
    
    .nav .partner-btn {
        margin-top: 10px;
        text-align: center;
        border-radius: 25px;
    }
    
    .lang-dropdown-menu {
        right: 30px;
        top: 70px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .features-section .feature-card {
        border-right: 1px solid rgba(0,0,0,0.08);
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 30px 20px;
    }
    
    .partner-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
    
    .focus-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .focus-left {
        order: 2;
    }
    
    .focus-right {
        order: 1;
    }
    
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-left {
        order: 1;
        height: auto;
        min-height: 500px;
        overflow: visible;
    }
    
    .services-image {
        height: 100%;
        min-height: 500px;
    }
    
    .services-image img {
        height: 100%;
        min-height: 500px;
    }
    
    .services-text-overlay {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .services-right {
        order: 2;
    }
    
    .services-hero {
        height: 350px;
    }
    
    .services-hero-content {
        padding: 20px;
    }
    
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-card {
        border-right: none;
        border-bottom: none;
    }
    
    .service-card h3 {
        height: 60px;
    }
    
    .service-card:last-child {
        border-bottom: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
    
    .services-stats {
        gap: 15px;
        flex-wrap: nowrap;
        height: auto;
        min-height: 100px;
        padding: 15px 10px;
        overflow-x: auto;
    }
    
    .services-stats .stat-item {
        min-width: 100px;
        padding: 0 15px;
        gap: 3px;
    }
    
    .stat-title {
        font-size: 16px;
    }
    
    .stat-desc {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .logo img {
        height: 65px;
    }
    
    .nav {
        top: 72px;
    }
    
    .nav ul {
        padding: 15px;
    }
    
    .nav a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .nav .partner-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .lang-dropdown-toggle {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .lang-dropdown-menu {
        right: 15px;
        top: 55px;
        min-width: 90px;
    }
    
    .lang-option {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-content {
        padding: 20px 10px;
    }
    
    .hero-image {
        min-height: 220px;
    }
    
    .hero-image img {
        min-height: 220px;
    }
    
    .hero-tagline {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
        line-height: 1.6;
    }
    
    .hero-description {
        font-size: 12px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .features-section .feature-card {
        padding: 25px 15px;
    }
    
    .partner-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-list {
        grid-template-columns: 1fr;
    }
    
    .focus-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .focus-card {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
    
    .services-stats {
        padding: 15px 10px;
        gap: 10px;
        height: auto;
        min-height: 100px;
    }
    
    .services-stats .stat-item {
        min-width: 80px;
        padding: 0 10px;
        gap: 3px;
    }
    
    .stat-title {
        font-size: 15px;
    }
    
    .stat-desc {
        font-size: 10px;
    }
    
    .stat-item:not(:last-child)::after {
        width: 40%;
    }
}
/* =========================================
   核心服务部分 (Core Services) - 左右各 50%，右侧一行四列
   ========================================= */

/* 1. 布局调整为 50% : 50% (1fr 1fr) */
.services-container {
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; /* 左右各占一半 */
    gap: 32px; /* 左右中间的间距 */
    padding: 60px 40px;
    align-items: stretch; 
}

/* 2. 左侧大图区域 */
.services-left {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
    border-radius: 16px; 
    overflow: hidden;
    padding-top: 0;
}

.services-image {
    display: block !important; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左侧大图上的文字悬浮卡片 */
.services-text-overlay {
    position: absolute;
    top: 40px;
    bottom: auto;
    left: 40px;
    right: auto;
    width: auto;
    max-width: 450px;
    padding: 30px;
    background: rgba(250, 248, 243, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.services-text-overlay h2 {
    font-size: 24px; 
    margin-bottom: 8px;
}

/* 3. 右侧区域 */
.services-right {
    width: 100%;
    border-left: none; 
    padding-top: 0;
    overflow: hidden;
}

/* 4. 核心服务卡片：在 50% 空间内强制一行四列 */
.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px; /* 缩小卡片之间的缝隙，避免太挤 */
    height: 100%;
    padding: 0;
}

/* 5. 卡片样式优化（针对极窄空间专门调整） */
.service-card {
    padding: 24px 10px; /* 大幅减小左右内边距，给文字留出空间 */
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

/* 缩小图标，防止在窄卡片里显得过于突兀 */
.service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 16px;
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 调整文字排版适配窄列 */
.service-card h3 {
    font-size: 13px;
    height: 60px;
    margin-bottom: 10px;
}
.service-card li {
    font-size: 11px;
    padding: 10px 0;
    text-align: center;
}

/* 卡片浮动交互 */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1); 
}

/* =========================================
   About Page Styles (Shared across languages)
   ========================================= */

/* About Hero Section */
.about-hero {
    background: var(--bg-cream);
}

.about-hero-wrapper {
    position: relative;
    width: 100%;
}

.about-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: none;
    background: var(--bg-cream);
    overflow: hidden;
}

.about-hero-content {
    flex: 1 1 50%;
    padding: 60px 5% 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.about-hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.about-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(250, 248, 243, 1) 0%,
        rgba(250, 248, 243, 0.95) 8%,
        rgba(250, 248, 243, 0.5) 22%,
        rgba(250, 248, 243, 0.1) 38%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 2;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(250, 248, 243, 0.3), transparent);
    z-index: 2;
}

.about-hero-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-hero-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 600px;
}

/* About Main Content */
.about-main {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.about-intro {
    max-width: 820px;
    margin: 0 auto;
}

.about-intro-label {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #29412a;
    margin-bottom: 32px;
    padding-left: 18px;
    border-left: 3px solid #29412a;
}

.about-intro p {
    font-size: 15px;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
    text-align: left;
}

.about-intro p:first-of-type {
    font-size: 17px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.95;
    border-left: 3px solid #29412a;
    padding-left: 18px;
}

.about-intro p:last-child {
    margin-bottom: 0;
    border-left-color: #cbd5e1;
}

/* Featured Posts Section */
.about-features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-post {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-post:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 24px;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-color);
}

/* Section Title Group */
.section-title-group {
    text-align: center;
    margin-bottom: 50px;
}

.title-decorator-line {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* What We Connect Section */
.about-connect {
    padding: 100px 0;
    background: var(--bg-cream);
}

.about-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.about-section-title-en {
    font-size: 18px;
    font-weight: 400;
    color: var(--secondary-color);
    margin-left: 16px;
    font-style: italic;
}

.connect-section-desc {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.connect-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 36px 20px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.connect-item:nth-child(3n) {
    border-right: none;
}

.connect-item:nth-child(n+4) {
    border-bottom: none;
}

.connect-item:hover {
    background: var(--bg-white);
}

.connect-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.connect-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.connect-item-title {
    font-size: 15px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.connect-item-subtitle {
    font-size: 12px;
    text-align: center;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.5;
}

/* What We Create / Values Section */
.about-values {
    padding: 100px 0;
    background: var(--bg-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-icon-box {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--bg-cream);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.value-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.value-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

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

/* Card Split Style */
.card-split-style {
    position: relative;
}

.box-top-line {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

/* ====== Mission & Vision Section (Redesigned) ====== */
.about-mission-vision {
    position: relative;
    padding: 90px 0 100px;
    background: #092822;
    overflow: hidden;
}

/* World map pattern overlay */
.mission-vision-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 800px 400px at 30% 40%, rgba(201,169,110,0.08) 0%, transparent 70%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g fill="none" stroke="rgba(201,169,110,0.25)" stroke-width="0.8"><ellipse cx="200" cy="180" rx="90" ry="45"/><ellipse cx="220" cy="175" rx="70" ry="35"/><path d="M150 160 Q170 140 210 145 Q250 135 270 155"/><ellipse cx="520" cy="200" rx="130" ry="65"/><ellipse cx="540" cy="190" rx="105" ry="52"/><path d="M430 165 Q475 140 545 145 Q615 138 650 170 Q670 195 655 225"/><ellipse cx="900" cy="280" rx="80" ry="55"/><ellipse cx="910" cy="268" rx="62" ry="42"/><path d="M850 245 Q872 228 910 232 Q948 225 968 248"/><circle cx="300" cy="320" r="3"/><circle cx="480" cy="290" r="3"/><circle cx="720" cy="260" r="3"/><circle cx="850" cy="350" r="3"/><circle cx="380" cy="420" r="2"/><circle cx="620" cy="380" r="2"/></g></svg>');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 95% auto;
}

.about-mission-vision .container,
.mission-vision-container {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
}

/* Header Area */
.mv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    gap: 32px;
}

.mv-header-left {
    flex-shrink: 0;
}

.mv-title-en {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 700;
    color: #f5f0e8;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.mv-title-zh {
    font-size: 17px;
    font-weight: 500;
    color: #c9a96e;
    letter-spacing: 3px;
    margin: 0;
}

.mv-header-right {
    text-align: right;
    padding-top: 4px;
}

.mv-header-desc {
    font-size: 16px;
    font-weight: bold;
    color: rgba(245,240,232,0.85);
    line-height: 1.9;
    margin: 0 0 8px;
}

.mv-header-desc-en {
    font-size: 14px;
    font-weight: bold;
    color: rgba(201,169,110,0.7);
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.7;
    margin: 0;
}

/* Cards Grid */
.mv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

/* Single Card */
.mv-card {
    position: relative;
    background: linear-gradient(165deg, #faf7f0 0%, #f2ede0 100%);
    border-radius: 16px;
    padding: 36px 34px 38px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.18),
        0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 48px rgba(0,0,0,0.24),
        0 4px 16px rgba(0,0,0,0.1);
}

/* Number Badge */
.mv-card-number {
    position: absolute;
    top: 22px;
    left: 28px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 44px;
    font-weight: 700;
    color: rgba(13,59,54,0.08);
    line-height: 1;
    letter-spacing: -1px;
}

/* Card Body */
.mv-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Icon Circle */
.mv-card-icon {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(13, 59, 54, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mv-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Label (MISSION / VISION) */
.mv-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #c9a96e;
    text-transform: uppercase;
}

/* Card Title */
.mv-card-title {
    font-size: 23px;
    font-weight: 700;
    color: #0d3b36;
    margin: 6px 0 12px;
    line-height: 1.35;
}

/* Card Text */
.mv-card-text {
    font-size: 13.5px;
    color: #4a5c56;
    line-height: 1.85;
    margin: 0;
}

.mv-card-text + .mv-card-text {
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
    .about-mission-vision .container,
    .mission-vision-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .mv-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mv-header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 36px;
    }

    .mv-header-right {
        text-align: left;
        padding-top: 0;
    }

    .mv-title-en {
        font-size: 30px;
    }
}

/* Ecosystem Section */
.about-ecosystem {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-section-title-center {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
}

.ecosystem-icons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 15px;
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.ecosystem-item:last-child {
    border-right: none;
}

.ecosystem-item:hover {
    background: var(--bg-white);
}

.ecosystem-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.ecosystem-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* Stats Section */
.about-stats {
    padding: 100px 0;
    background: var(--bg-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.stat-box .stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-box .stat-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    background: var(--bg-cream);
    text-align: center;
}

.about-cta .cta-tagline {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-cta .cta-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--secondary-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Project Detail Icon */
.project-detail-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.project-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.project-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-icons {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ecosystem-item:nth-child(4) {
        border-right: none;
    }
    
    .ecosystem-item:nth-child(5),
    .ecosystem-item:nth-child(6),
    .ecosystem-item:nth-child(7) {
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .connect-item {
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .connect-item:nth-child(2n) {
        border-right: none;
    }
    
    .connect-item:nth-child(n+5) {
        border-bottom: none;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .ecosystem-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    
    .ecosystem-item:last-child {
        border-bottom: none;
    }
    
    .about-section-title-en {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .about-hero-container {
        flex-direction: column;
    }
    
    .about-hero-content {
        order: 1;
        flex: 1;
        width: 100%;
        padding: 40px 30px;
        min-height: 300px;
    }
    
    .about-hero-image {
        order: 2;
        flex: 1;
        width: 100%;
        min-height: 250px;
    }
    
    .about-hero-title {
        font-size: 32px;
    }

    .about-intro p {
        font-size: 15px;
        padding-left: 16px;
    }

    .about-intro p:first-of-type {
        font-size: 16px;
        padding-left: 14px;
    }
}

@media (max-width: 600px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }
    
    .connect-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .connect-item:last-child {
        border-bottom: none;
    }

    .about-hero-content {
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .about-hero-image {
        min-height: 200px;
    }
    
    .about-hero-title {
        font-size: 28px;
    }

    .about-main {
        padding: 60px 0;
    }

    .about-intro p {
        font-size: 14px;
        padding-left: 12px;
    }

    .about-intro p:first-of-type {
        font-size: 15px;
        padding-left: 11px;
    }
}

/* =========================================
   响应式适配 (Responsive Design)
   ========================================= */

@media (max-width: 1400px) {
    /* 屏幕稍微变小时，如果 4 列太挤，可以允许它们自动往下掉变成 2x2 */
    .services-cards {
        grid-template-columns: repeat(2, 1fr) !important; 
    }
}

@media (max-width: 900px) {
    .services-container {
        grid-template-columns: 1fr !important; /* 手机和平板变为上下布局 */
    }
    .services-left {
        min-height: 400px;
    }
}

.projects-intro-desc {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: -20px auto 40px;
    line-height: 1.7;
}

/* Mobile layout hardening: keep every existing page readable without changing content. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    body * {
        min-width: 0;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    li,
    a,
    span {
        overflow-wrap: anywhere;
    }

    .header-container {
        min-height: 64px;
        gap: 10px;
        padding-right: 124px;
    }

    .logo img {
        width: auto;
        max-width: 150px;
        height: 56px;
        object-fit: contain;
    }

    .mobile-menu-btn,
    .lang-dropdown-toggle {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        position: absolute;
        top: 18px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .mobile-lang-switcher {
        position: absolute;
        top: 23px;
        right: 16px;
        width: auto;
    }

    .mobile-lang-switcher .lang-dropdown-toggle {
        position: relative;
        min-width: 40px;
        min-height: 34px;
        height: 34px;
        padding: 0 9px;
        gap: 4px;
        font-size: 10px;
    }

    .mobile-lang-switcher .lang-dropdown-toggle::before {
        content: '';
        position: absolute;
        inset: -5px;
    }

    .mobile-lang-switcher .lang-dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
    }

    .nav {
        top: 80px;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
    }

    .nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero-features,
    .hero-content-wrapper,
    .hero-container,
    .hero-content,
    .hero-image,
    .about-hero,
    .about-hero-wrapper,
    .about-hero-container,
    .about-hero-content,
    .about-hero-image,
    .focus-hero,
    .focus-hero-wrapper,
    .focus-hero-container,
    .focus-hero-content,
    .focus-hero-image,
    .service-hero,
    .service-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title,
    .about-hero-title,
    .focus-hero-title,
    .service-hero-title,
    .projects-main-title,
    .section-title,
    .about-section-title-center,
    .legal-content h1 {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.2;
    }

    .hero-title-line {
        display: inline;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .insights-button,
    .cta-button {
        width: 100%;
        min-height: 48px;
        white-space: normal;
    }

    .services-section-head {
        margin: 20px 0;
        padding: 0;
    }

    .section-more-link {
        max-width: 100%;
    }

    .connect-grid,
    .cooperation-grid,
    .values-grid,
    .insights-cards,
    .services-cards,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .ecosystem-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .ecosystem-icons .ecosystem-item {
        padding: 24px 8px;
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .ecosystem-icons .ecosystem-item:nth-child(3n) {
        border-right: none;
    }

    .ecosystem-icons .ecosystem-item:last-child {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
    }

    .connect-grid .connect-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

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

    .about-connect .connect-grid .connect-item {
        border-right: none !important;
    }

    .about-connect .connect-grid .connect-item:nth-child(n+4) {
        border-bottom: 1px solid var(--border-color) !important;
    }

    .partner-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .partner-icons .partner-item {
        padding: 24px 8px;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .features-section .feature-card {
        padding: 28px 14px;
    }

    .features-section .feature-card:nth-child(2n) {
        border-right: none;
    }

    .features-section .feature-card p {
        width: 100%;
        max-width: 180px;
    }

    .feature-card,
    .partner-item,
    .connect-item,
    .cooperation-card,
    .value-card,
    .ecosystem-item,
    .insight-card,
    .service-card {
        width: 100%;
        max-width: 100%;
        border-right: none;
    }

    .services-stats-container {
        display: grid;
        grid-template-columns: 1fr !important;
        height: auto;
        overflow: visible;
        gap: 0;
    }

    .services-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        height: auto;
        overflow: visible;
        gap: 0;
    }

    .services-stats .stat-item,
    .services-stats-container .stat-item {
        width: 100%;
        min-width: 0;
        padding: 20px 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .services-stats .stat-item:last-child,
    .services-stats-container .stat-item:last-child {
        border-bottom: 0;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .stat-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .services-container {
        grid-template-columns: 1fr !important;
    }

    .services-left {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .services-image {
        height: 100%;
        min-height: 100%;
    }

    .services-text-overlay {
        position: relative;
        inset: auto;
        width: auto;
        max-width: none;
        margin: 24px;
    }

    .project-block,
    .project-block.reverse {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .project-visual,
    .project-details {
        width: 100%;
        max-width: 100%;
    }

    section .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px !important;
    }

    .contact-form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    input,
    textarea,
    select,
    button {
        max-width: 100%;
    }

    input,
    textarea,
    select {
        width: 100%;
        min-height: 44px;
        font-size: 16px !important;
    }

    .footer {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: auto;
        text-align: left;
    }

    .footer-content {
        gap: 32px;
    }

    .footer-logo {
        width: auto;
        max-width: 180px;
        height: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        gap: 16px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .footer a,
    .newsletter-form button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .legal-page {
        padding-top: 112px;
        padding-bottom: 56px;
    }

    .legal-content {
        width: 100%;
        max-width: 760px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 420px) {
    .container,
    .legal-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo img {
        max-width: 128px;
        height: 50px;
    }

    .footer-content {
        gap: 28px;
    }
}
