/* ════════════════════════════════════════════
   YOLO Sourcing — Complete Stylesheet
   品牌色: Primary #0F2847, Accent #F0A030
   ════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --primary: #0F2847;
    --primary-light: #1D5FA0;
    --primary-lighter: #3B8DD9;
    --primary-glow: #4DA3FF;
    --accent: #F0A030;
    --accent-hover: #E0901A;
    --accent-light: #FEF0D0;
    --pop: #FF6B4A;
    --offwhite: #F7F8FC;
    --charcoal: #111827;
    --text: #1E293B;
    --text-light: #64748B;
    --success: #22C55E;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --max-w: 1280px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(15,40,71,.08);
    --shadow-lg: 0 16px 48px rgba(15,40,71,.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--offwhite); color: var(--text); font-family: var(--font); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 800; color: var(--primary); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
.text-white { color: #fff !important; }
.text-white-70 { color: rgba(255,255,255,.7) !important; }
.text-white-60 { color: rgba(255,255,255,.6) !important; }
.text-white-40 { color: rgba(255,255,255,.4) !important; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-light); }
.text-accent { color: var(--accent) !important; }
.text-accent-30 { color: rgba(240,160,48,.3) !important; }
.text-success { color: var(--success) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-3xl { font-size: 1.875rem; }
.font-extrabold { font-weight: 800; }
.italic { font-style: italic; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* ── Icons ── */
.icon-xs { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.icon-md { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.icon-lg { width: 28px; height: 28px; display: inline-block; vertical-align: middle; }
.accent-icon { color: var(--accent); }
.star-filled { fill: var(--accent); }

/* ── Accent Bar ── */
.accent-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--pop), var(--primary-lighter));
}

/* ── Gradients ── */
.gradient-hero, .page-hero {
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(77,163,255,.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(240,160,48,.10) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(29,95,160,.40) 0%, transparent 60%),
        linear-gradient(170deg, #0B1F3A 0%, #0F2847 30%, #162E52 60%, #0F2847 100%);
    color: #fff;
}
.gradient-cta {
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(240,160,48,.08) 0%, transparent 60%),
        linear-gradient(135deg, #0B1F3A 0%, #0F2847 50%, #162E52 100%);
}

/* ── Buttons ── */
.btn-accent {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; background: var(--accent); color: #fff;
    font-weight: 700; border-radius: 10px; transition: all .2s;
    box-shadow: 0 4px 16px rgba(240,160,48,.25);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(240,160,48,.3); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-outline-light {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; border: 2px solid rgba(255,255,255,.3);
    color: #fff; font-weight: 600; border-radius: 10px; transition: all .2s;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.5rem; border: 2px solid var(--primary);
    color: var(--primary); font-weight: 600; border-radius: 10px; transition: all .2s;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    transition: all .3s ease;
}
.header-transparent { background: rgba(11,31,58,.7); backdrop-filter: blur(12px); }
.header-solid { background: rgba(255,255,255,.97); box-shadow: 0 2px 12px rgba(0,0,0,.08); backdrop-filter: blur(20px); }
.header-scrolled { background: rgba(255,255,255,.97) !important; box-shadow: 0 2px 12px rgba(0,0,0,.08) !important; backdrop-filter: blur(20px) !important; }

.header-nav {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between; height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.logo-img {
    height: 44px; width: auto; display: block;
    background: #fff; border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: box-shadow .3s, transform .3s;
}
.logo:hover .logo-img { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.logo-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--accent); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(240,160,48,.3);
}
.logo-icon span { color: #fff; font-weight: 900; font-size: 1rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.125rem; transition: color .3s; }
.logo-sub { font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-top: -2px; transition: color .3s; }
.header-transparent .logo-name { color: #fff; }
.header-transparent .logo-sub { color: rgba(255,255,255,.5); }
.header-solid .logo-name, .header-scrolled .logo-name { color: var(--primary); }
.header-solid .logo-sub, .header-scrolled .logo-sub { color: var(--text-light); }

/* Nav Links */
.nav-links { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-btn {
    padding: .5rem .875rem; font-size: 13px; font-weight: 600;
    letter-spacing: .03em; text-transform: uppercase; border-radius: 8px;
    transition: all .2s; display: inline-flex; align-items: center; gap: 4px;
}
.header-transparent .nav-btn { color: rgba(255,255,255,.85); }
.header-transparent .nav-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.header-solid .nav-btn, .header-scrolled .nav-btn { color: #3A4B5D; }
.header-solid .nav-btn:hover, .header-scrolled .nav-btn:hover { color: var(--primary); background: #F0F2F8; }
.nav-active { color: var(--primary) !important; }
.header-transparent .nav-active { color: #fff !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 240px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
    padding: .5rem 0; z-index: 50;
}
.dropdown-item {
    display: block; padding: .625rem 1.25rem; font-size: 14px;
    color: #3A4B5D; font-weight: 500; transition: all .15s;
}
.dropdown-item:hover { color: var(--primary); background: #F0F2F8; }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: .625rem; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    padding: .5rem .625rem; font-size: 14px; border-radius: 8px;
    border: 1px solid; transition: all .2s;
}
.header-transparent .lang-btn { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.2); }
.header-transparent .lang-btn:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.header-solid .lang-btn, .header-scrolled .lang-btn { color: #3A4B5D; border-color: var(--gray-200); }
.header-solid .lang-btn:hover, .header-scrolled .lang-btn:hover { color: var(--primary); border-color: var(--primary-lighter); }
.lang-short { font-size: 11px; font-weight: 700; }
.lang-menu {
    position: absolute; top: 100%; right: 0; margin-top: 4px;
    width: 176px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
    padding: .375rem 0; z-index: 50;
}
.lang-option {
    display: block; width: 100%; text-align: left;
    padding: .625rem 1rem; font-size: 14px; color: #3A4B5D; transition: all .15s;
}
.lang-option:hover { color: var(--primary); background: #F0F2F8; }
.lang-active { color: var(--primary) !important; font-weight: 600; background: #F0F2F8; }
.lang-flag { margin-right: .5rem; }

/* CTA Small */
.btn-cta-sm {
    display: none; padding: .625rem 1.25rem;
    background: var(--accent); color: #fff; font-size: 14px;
    font-weight: 700; border-radius: 8px; transition: all .2s;
}
.btn-cta-sm:hover { background: var(--accent-hover); }
@media (min-width: 640px) { .btn-cta-sm { display: inline-flex; } }

/* Mobile Toggle */
.mobile-toggle { padding: .5rem; border-radius: 8px; transition: color .2s; }
.header-transparent .mobile-toggle { color: #fff; }
.header-solid .mobile-toggle, .header-scrolled .mobile-toggle { color: var(--primary); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile Menu */
.mobile-menu {
    display: none; padding: 1.25rem 1.5rem; background: #fff;
    border-top: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
}
.mobile-link {
    display: block; padding: .875rem 0; font-size: 14px;
    font-weight: 600; color: #3A4B5D; border-bottom: 1px solid var(--gray-100);
}
.btn-cta-mobile {
    display: block; text-align: center; margin-top: 1rem;
    padding: .875rem; background: var(--accent); color: #fff;
    font-weight: 700; border-radius: 8px;
}
.mobile-contact {
    display: flex; flex-direction: column; gap: .5rem;
    padding-top: 1rem; font-size: 14px; color: var(--text-light);
}
.mobile-contact span { display: flex; align-items: center; gap: 6px; }

/* ── Page Hero ── */
.page-hero { padding: 5rem 0 4rem; }
.page-hero h1 { color: #fff; }
.hero-home { padding: 7rem 0 5rem; margin-top: -71px; padding-top: calc(71px + 4rem); position: relative; overflow: hidden; }
.hero-mesh-1, .hero-mesh-2, .hero-mesh-3 {
    position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.hero-mesh-1 { top: 40px; left: 10%; width: 500px; height: 500px; background: rgba(77,163,255,.1); }
.hero-mesh-2 { bottom: 0; right: 5%; width: 400px; height: 400px; background: rgba(240,160,48,.08); }
.hero-mesh-3 { top: 40%; left: 60%; width: 300px; height: 300px; background: rgba(255,107,74,.05); }
.hero-inner { position: relative; z-index: 1; padding: 2rem 0; }
.hero-eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.hero-title { color: #fff; max-width: 720px; margin-bottom: 1.25rem; }
.hero-subtitle { color: rgba(255,255,255,.7); font-size: 1.125rem; max-width: 600px; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-sm { padding: 2.5rem 0; }
.bg-white { background: #fff; }
.bg-offwhite { background: var(--offwhite); }
.bg-primary { background: var(--primary); }
.border-b { border-bottom: 1px solid var(--gray-200); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.section-title { margin-bottom: .75rem; }
.section-subtitle { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ── Card Grids ── */
.card-grid-2, .card-grid-3, .card-grid-4 {
    display: grid; gap: 2rem;
}
/* min(X, 100%) 防止小屏视口下 minmax 最小宽度撑破容器导致横向溢出 */
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

.card {
    background: #fff; border-radius: var(--radius-lg); padding: 2rem;
    border: 1px solid var(--gray-100);
}
.card-sm { padding: 1.5rem; }
.card-hover { transition: transform .3s ease, box-shadow .3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon-wrap {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--primary); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.card-glass {
    background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
    border-radius: var(--radius-lg); padding: 1.75rem;
    border: 1px solid rgba(255,255,255,.1); text-align: center;
}
.card-icon-wrap-glass {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(240,160,48,.15); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.card-link { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.card-quote { font-size: 14px; line-height: 1.7; color: var(--text); margin-bottom: 1.5rem; }
.card-quote-sm { font-size: 13px; line-height: 1.6; color: var(--text); margin-bottom: 1rem; }

.card-author { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--gray-100); padding-top: 1rem; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(15,40,71,.08); display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 14px;
}
.author-name { font-weight: 600; color: var(--primary); font-size: 14px; }
.author-role { font-size: 13px; color: var(--text-light); }
.author-company { font-size: 12px; color: var(--text-light); }

.stars-row { display: flex; gap: 2px; margin-bottom: .75rem; }

/* ── Stats Bar ── */
.stats-bar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 2.5rem 0; }
.stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-light); }
.stat-box {
    background: var(--offwhite); border-radius: var(--radius); padding: 1.5rem;
    border: 1px solid var(--gray-100); display: flex; flex-direction: column;
    align-items: center; gap: .25rem; text-align: center;
}

/* ── Steps Grid ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.steps-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.step-card { text-align: center; padding: 1rem; }
.step-number { font-size: 2rem; font-weight: 900; color: var(--accent); margin-bottom: .5rem; }
.step-icon-wrap {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.step-circle-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.125rem;
    margin: 0 auto 1rem;
}

/* ── Categories ── */
.category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem;
}
.category-item {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding: 1.25rem .75rem; background: var(--offwhite);
    border-radius: var(--radius); border: 1px solid var(--gray-100);
    font-size: 13px; font-weight: 500; text-align: center;
}

/* ── Two Column ── */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Timeline ── */
.timeline { max-width: 640px; margin: 0 auto; }
.timeline-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--gray-200); }
.timeline-year { font-size: 1.125rem; font-weight: 800; color: var(--accent); min-width: 60px; }
.timeline-content h4 { margin-bottom: .25rem; }

/* ── Case Studies ── */
.case-card { overflow: hidden; }
.case-photo { margin: -2rem -2rem 1.25rem; overflow: hidden; }
.case-photo img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .3s ease; }
.card-grid-2 .case-photo img { height: 260px; } /* 案例页宽卡片,图片稍高避免过扁 */
.card-hover:hover .case-photo img { transform: scale(1.05); }
.case-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.badge-primary { padding: .25rem .75rem; font-size: 12px; font-weight: 500; border-radius: 20px; background: rgba(15,40,71,.05); color: var(--primary); }
.badge-accent { padding: .25rem .75rem; font-size: 12px; font-weight: 700; border-radius: 20px; background: rgba(240,160,48,.1); color: var(--accent); }
.badge-gray { padding: .25rem .75rem; font-size: 12px; font-weight: 500; border-radius: 20px; background: var(--gray-100); color: var(--text-light); }
.case-section { margin-bottom: 1rem; }
.case-label { font-size: 12px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.result-box {
    background: #fff; border-radius: var(--radius); padding: .75rem;
    text-align: center; border: 1px solid var(--gray-100);
}
.result-value { font-size: 1.125rem; font-weight: 800; color: var(--primary); display: block; }
.result-label { font-size: 11px; color: var(--text-light); }
.case-quote { border-top: 1px solid var(--gray-100); padding-top: 1.25rem; }
.quote-author { font-size: 14px; font-weight: 600; color: var(--primary); margin-top: .5rem; }

/* ── Rating ── */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; text-align: center; }
.rating-stars { display: flex; gap: 4px; }
.rating-big { margin: 0; }
.rating-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.rating-divider { width: 1px; height: 48px; background: var(--gray-200); }

/* ── Features List ── */
.feature-list { padding-left: 0; }
.feature-list li { display: flex; align-items: center; gap: .5rem; font-size: 14px; color: var(--text-light); padding: .375rem 0; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.inquiry-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--primary); }
.required { color: #EF4444; }
.form-input {
    padding: .75rem 1rem; background: var(--offwhite);
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    font-size: 14px; transition: all .2s; width: 100%;
}
.form-input:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(29,95,160,.1); }
.form-textarea { resize: none; min-height: 120px; }
.form-message { padding: 1rem; border-radius: var(--radius); font-size: 14px; margin-top: .5rem; }
.form-message.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-message.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--offwhite); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--gray-100); }
.sidebar-highlight { background: rgba(240,160,48,.05); border-color: rgba(240,160,48,.2); }
.flex-gap { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }

.contact-info-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: var(--offwhite); border-radius: var(--radius); padding: 1.25rem;
    border: 1px solid var(--gray-100);
}
.info-icon-wrap {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(15,40,71,.05); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.info-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.info-value { font-size: 14px; font-weight: 600; color: var(--primary); }
a.info-value:hover { color: var(--primary-light); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--offwhite); border-radius: var(--radius);
    border: 1px solid var(--gray-100); overflow: hidden;
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h4 { font-size: 14px; font-weight: 600; color: var(--primary); padding-right: 1rem; }
.faq-arrow { transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-arrow { transform: rotate(90deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: #fff; }
.footer-accent-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(240,160,48,.4), transparent); }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,.1); }
.newsletter-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.5rem 0; }
@media (min-width: 768px) { .newsletter-inner { flex-direction: row; } }
.newsletter-form { display: flex; gap: .5rem; width: 100%; }
@media (min-width: 768px) { .newsletter-form { width: auto; } }
.newsletter-input {
    padding: .75rem 1rem; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
    color: #fff; font-size: 14px; width: 100%; transition: border-color .2s;
}
@media (min-width: 768px) { .newsletter-input { width: 288px; } }
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { outline: none; border-color: var(--accent); }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.footer-desc { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-btn {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; transition: all .2s;
}
.social-btn:hover { background: var(--accent); }

.footer-heading { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: 1.25rem; }
.footer-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-link {
    color: rgba(255,255,255,.6); font-size: 14px; transition: all .2s;
    display: flex; align-items: center; gap: .5rem;
}
.footer-link:hover { color: #fff; }
.link-arrow { opacity: 0; margin-left: -20px; transition: all .2s; }
.footer-link:hover .link-arrow { opacity: 1; margin-left: 0; }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; font-size: 14px; color: rgba(255,255,255,.6); }
.footer-contact a { color: rgba(255,255,255,.6); transition: color .2s; display: flex; align-items: center; gap: .75rem; }
.footer-contact a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-size: 14px; color: rgba(255,255,255,.4); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; } }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: #fff; }

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 40;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── RTL ── */
[dir="rtl"] .footer-link .link-arrow { transform: rotate(180deg); }
[dir="rtl"] .faq-arrow { transform: rotate(180deg); }
[dir="rtl"] .faq-item[open] .faq-arrow { transform: rotate(90deg); }
[dir="rtl"] .hero-buttons { flex-direction: row-reverse; }

/* ── Mobile Adjustments ── */
@media (max-width: 640px) {
    .section { padding: 3.5rem 0; }
    .section-sm { padding: 2rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .page-hero { padding: 3.5rem 0 3rem; }
    .hero-home { padding-top: calc(71px + 2.5rem); padding-bottom: 3.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .case-photo img, .card-grid-2 .case-photo img { height: 220px; }
    /* ≥16px 防 iOS Safari 聚焦输入框时页面自动缩放 */
    .form-input { font-size: 16px; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .footer-link { padding: .25rem 0; }
}

/* 订阅区纵向断点与 .newsletter-inner 的 768px 断点呼应 */
@media (max-width: 767px) {
    .newsletter-inner > div { text-align: center; }
    /* input+button 改纵向,防小屏横向溢出 */
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn-accent { width: 100%; justify-content: center; }
    /* ≥16px 防 iOS 聚焦缩放 */
    .newsletter-input { font-size: 16px; }
}

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp .7s ease-out forwards; }
