/* ============================================
   闫宝龙西班牙语网站建设 - 主样式表
   配色：工业蓝 + 科技铜
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* 主色调 */
    --color-primary: #0B5FFF;
    --color-primary-dark: #0848CC;
    --color-primary-light: #3D7FFF;
    --color-primary-soft: #E8F0FF;

    /* 辅助色 - 科技铜 */
    --color-copper: #C8A572;
    --color-copper-dark: #A8895C;
    --color-copper-light: #E5D2A8;

    /* 强调色 */
    --color-accent: #FF6B35;
    --color-accent-dark: #E55525;

    /* 中性色 */
    --color-text: #1A2238;
    --color-text-2: #4A5470;
    --color-text-3: #8B92A8;
    --color-border: #E5E8F0;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F5F7FA;
    --color-bg-dark: #0F1729;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(11, 95, 255, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 95, 255, 0.10);
    --shadow-lg: 0 16px 48px rgba(11, 95, 255, 0.16);
    --shadow-copper: 0 8px 24px rgba(200, 165, 114, 0.20);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 字体 */
    --font-display: 'Manrope', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    /* 过渡 */
    --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --t-mid: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* 间距 */
    --container-pad: 24px;
    --section-py: 100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--t-fast);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 95, 255, 0.30);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 95, 255, 0.40);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.60);
    transform: translateY(-2px);
}

/* ---------- Section ---------- */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-cn);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--t-mid), box-shadow var(--t-mid), padding var(--t-mid);
    padding: 16px 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(11, 95, 255, 0.08);
    padding: 10px 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-cn);
    font-weight: 800;
    font-size: 19px;
    transition: color var(--t-fast);
    white-space: nowrap;
}

.site-header.scrolled .logo {
    color: var(--color-text);
}

.logo-main {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    line-height: 1;
}

.logo-r {
    color: var(--color-copper);
    font-size: 11px;
    margin-left: 2px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(2px);
}

.logo-divider {
    color: var(--color-copper);
    font-weight: 300;
    opacity: 0.7;
}

.logo-sub {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-copper-light);
    letter-spacing: 0.02em;
}

.site-header.scrolled .logo-sub {
    color: var(--color-primary);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-block;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
    position: relative;
}

.site-header.scrolled .nav-link {
    color: var(--color-text-2);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--t-fast);
}

.site-header.scrolled .nav-toggle span {
    background: var(--color-text);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 120px 0 80px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-top: 40px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(200, 165, 114, 0.20);
    border: 1px solid rgba(200, 165, 114, 0.40);
    color: var(--color-copper-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-cn);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.20);
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-copper-light);
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.86);
    margin-bottom: 36px;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    max-width: 720px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-copper-light);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-copper-light);
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 32px;
    height: 4px;
    background: rgba(255,255,255,0.30);
    border-radius: 2px;
    transition: all var(--t-fast);
    cursor: pointer;
}

.dot.active {
    background: var(--color-copper);
    width: 48px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll span {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0.3; }
}

/* ---------- Services ---------- */
.section-services {
    background: var(--color-bg);
    position: relative;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.service-card {
    display: block;
    padding: 36px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-copper));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-mid);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: all var(--t-mid);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(-6deg);
}

.service-title {
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

.service-desc {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--t-fast);
    display: inline-block;
}

.service-card:hover .service-link {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* ---------- Process ---------- */
.section-process {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
}

.process-track {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 32px 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--t-mid);
    position: relative;
    z-index: 1;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 16px;
    height: 2px;
    background: var(--color-copper);
    transform: translateY(-50%);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-copper) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 50%;
    transition: all var(--t-mid);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.process-step:hover .step-icon {
    background: var(--color-copper);
    color: #fff;
    transform: scale(1.08) rotate(8deg);
}

.step-title {
    font-family: var(--font-cn);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step-desc {
    font-size: 13px;
    color: var(--color-text-2);
    line-height: 1.6;
}

/* ---------- Advantages ---------- */
.section-advantages {
    background: var(--color-bg);
}

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

.advantage-card {
    padding: 32px 26px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--t-mid);
}

.advantage-card:hover {
    border-color: var(--color-copper);
    box-shadow: var(--shadow-copper);
    transform: translateY(-4px);
}

.advantage-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--color-bg-soft);
    line-height: 1;
    z-index: 0;
    transition: color var(--t-mid);
}

.advantage-card:hover .advantage-num {
    color: var(--color-copper-light);
}

.advantage-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    padding-right: 50px;
}

.advantage-card p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ---------- Cases ---------- */
.section-cases {
    background: var(--color-bg-soft);
}

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

.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-mid);
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.case-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    transition: opacity var(--t-mid);
}

.case-card:hover .case-img::before {
    background: linear-gradient(180deg, transparent 30%, rgba(11, 95, 255, 0.5) 100%);
}

.case-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.95);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 2;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
}

.case-body {
    padding: 24px 22px;
}

.case-body h3 {
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-body p {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.65;
    margin-bottom: 12px;
}

.case-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-3);
    font-weight: 500;
}

.cases-cta {
    text-align: center;
    margin-top: 48px;
}

/* ---------- SEO Section ---------- */
.section-seo {
    background: var(--color-bg);
}

.seo-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.seo-text p {
    font-size: 16px;
    color: var(--color-text-2);
    line-height: 1.8;
    margin-bottom: 32px;
}

.seo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-bottom: 36px;
}

.seo-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.seo-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.seo-list strong {
    display: block;
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 4px;
    font-weight: 700;
}

.seo-list p {
    font-size: 13.5px;
    color: var(--color-text-2);
    line-height: 1.6;
    margin: 0;
}

.seo-visual {
    position: relative;
}

.seo-card {
    background: linear-gradient(135deg, #1A2238 0%, #0F1729 100%);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.seo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 165, 114, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.seo-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.seo-dots {
    display: flex;
    gap: 6px;
}

.seo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
}

.seo-dots span:nth-child(1) { background: #FF5F57; }
.seo-dots span:nth-child(2) { background: #FEBC2E; }
.seo-dots span:nth-child(3) { background: #28C840; }

.seo-url {
    font-family: var(--font-display);
    font-size: 13px;
    color: rgba(255,255,255,0.60);
    font-weight: 500;
}

.seo-metric {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
}

.metric-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-copper);
    display: inline;
}

.metric-suffix {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-copper);
}

.metric-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.60);
    margin-top: 6px;
    font-weight: 500;
}

.seo-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: flex-end;
    height: 140px;
    position: relative;
    z-index: 1;
}

.bar {
    position: relative;
    background: rgba(255,255,255,0.04);
    border-radius: 8px 8px 0 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.bar span {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 8px 8px 0 0;
    transition: height 1.5s ease;
}

.bar.bar-active span {
    background: linear-gradient(180deg, var(--color-copper-light) 0%, var(--color-copper) 100%);
}

.bar em {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-style: normal;
    font-size: 12px;
    color: rgba(255,255,255,0.50);
    font-weight: 600;
}

/* ---------- About ---------- */
.section-about {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
    position: relative;
    overflow: hidden;
}

.section-about::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 95, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: center;
    position: relative;
}

.about-photo {
    position: relative;
}

.photo-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: var(--color-bg-soft);
    z-index: 2;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.96);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.photo-decor {
    position: absolute;
    top: 32px;
    left: 32px;
    right: -32px;
    bottom: -32px;
    border: 2px solid var(--color-copper);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 17px;
    color: var(--color-text-2);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.highlight {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hi-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-copper) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hi-num small {
    font-size: 18px;
    font-weight: 700;
}

.hi-label {
    font-size: 12px;
    color: var(--color-text-2);
    font-weight: 500;
    line-height: 1.4;
}

.about-sub {
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-sub::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--color-copper);
    border-radius: 2px;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin-bottom: 8px;
}

.about-list li {
    font-size: 14.5px;
    color: var(--color-text-2);
    line-height: 1.7;
    padding-left: 4px;
}

/* ---------- FAQ ---------- */
.section-faq {
    background: var(--color-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.faq-item {
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--t-mid);
}

.faq-item:hover {
    border-color: var(--color-primary-light);
    background: #fff;
}

.faq-item.open {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-cn);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
    transition: color var(--t-fast);
}

.faq-q:hover {
    color: var(--color-primary);
}

.faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform var(--t-mid);
}

.faq-arrow::before,
.faq-arrow::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    border-radius: 1px;
    transition: all var(--t-mid);
}

.faq-arrow::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-arrow::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.open .faq-arrow::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-mid);
}

.faq-a p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.8;
}

/* ---------- Contact ---------- */
.section-contact {
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--t-mid);
    cursor: pointer;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card:hover .contact-icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(-6deg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--color-text-3);
    font-weight: 500;
}

.contact-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    word-break: break-all;
}

.contact-card:hover .contact-value {
    color: var(--color-primary);
}

.qrcode-area {
    display: flex;
    justify-content: center;
}

.qrcode-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.qrcode-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-copper));
    border-radius: 0 0 8px 8px;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--color-border);
}

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

.qrcode-tip {
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 1.7;
    font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 32px;
}

.footer-services {
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 32px;
}

.footer-services-title {
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-services-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--color-copper);
    border-radius: 2px;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px 16px;
}

.footer-services-grid a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
    text-align: center;
    border: 1px solid transparent;
}

.footer-services-grid a:hover {
    color: var(--color-copper-light);
    background: rgba(200, 165, 114, 0.08);
    border-color: rgba(200, 165, 114, 0.30);
}

.footer-services-grid a.active {
    color: var(--color-copper);
    background: rgba(200, 165, 114, 0.10);
    border-color: rgba(200, 165, 114, 0.40);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
}

.copyright, .beian {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
    line-height: 1.7;
}

.copyright a {
    color: var(--color-copper-light);
    font-weight: 600;
    transition: color var(--t-fast);
}

.copyright a:hover {
    color: #fff;
}

.beian a {
    color: rgba(255,255,255,0.55);
    transition: color var(--t-fast);
}

.beian a:hover {
    color: var(--color-copper-light);
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    :root {
        --section-py: 80px;
        --container-pad: 20px;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .process-track { grid-template-columns: repeat(4, 1fr); }
    .process-step:nth-child(4)::after { display: none; }
    .process-step { padding: 24px 12px; }

    .seo-wrap { grid-template-columns: 1fr; gap: 48px; }
    .about-wrap { grid-template-columns: 1fr; gap: 56px; }

    .photo-frame { max-width: 380px; margin: 0 auto; }
    .about-text { text-align: center; }
    .about-text .section-title { text-align: center; }
    .about-sub { justify-content: center; }
    .about-list { text-align: left; }

    .footer-services-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: -8px 0 24px rgba(0,0,0,0.10);
        padding: 80px 24px 24px;
        transition: right var(--t-mid);
        z-index: 105;
    }
    .primary-nav.open { right: 0; }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-link {
        color: var(--color-text) !important;
        padding: 14px 18px;
        font-size: 15px;
    }
    .nav-toggle { display: flex; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .stat-num { font-size: 26px; }
    .cases-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root {
        --section-py: 60px;
        --container-pad: 16px;
    }

    .nav-container { gap: 12px; }
    .logo { font-size: 15px; gap: 6px; }
    .logo-sub { font-size: 12px; }
    .logo-r { font-size: 9px; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-dots { bottom: 20px; right: 20px; }

    .services-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
    .seo-list { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px; }
    .hi-num { font-size: 26px; }
    .about-list { grid-template-columns: 1fr; }

    .footer-services-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head { margin-bottom: 40px; }
}

/* ---------- Print Styles ---------- */
@media print {
    .site-header, .hero-dots, .hero-scroll, .site-footer { display: none; }
    .hero { min-height: auto; padding: 40px 0; color: #000; }
    body { color: #000; }
}
