:root {
  --primary: #0b5ea8;
  --primary-dark: #083e6f;
  --primary-light: #eff6ff;
  --accent: #38bdf8;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --shadow-sm: 0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 12px 40px rgba(15,23,42,.1);
  --shadow-lg: 0 24px 60px rgba(11,94,168,.14);
  --radius: 16px;
  --radius-lg: 24px;
  --container: min(100% - 32px, 1240px);
  --header-h: 76px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --anim-duration: 0.8s;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--surface-alt);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: var(--container); margin: 0 auto; }

/* Section Titles */
.section-en { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--text); margin: 0 0 12px; line-height: 1.25; }
.section-line { width: 48px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin-bottom: 16px; }
.section-header.center .section-line { margin-left: auto; margin-right: auto; }

/* SVG Icons */
.icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .4s var(--ease-out-expo), box-shadow .4s; }
.icon-wrap svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon-wrap { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 24px rgba(11,94,168,.28); }

/* Ghost button (hero) */
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff; }

/* Floating widgets — 右侧统一竖排：问答 / 电话 / 邮件，下方为回顶 */
.float-contact {
  position: fixed; right: 20px; bottom: 72px; z-index: 110;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.float-contact > * { position: relative; flex: 0 0 auto; }
.js-chat-slot { display: flex; align-items: center; justify-content: flex-end; min-height: 56px; }
.js-chat-slot:empty { display: none; min-height: 0; }
.float-contact a {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--primary); box-shadow: var(--shadow-md);
  border: 1px solid var(--border); transition: transform .3s var(--ease-out-expo), background .3s, color .3s;
  font-size: 18px; text-decoration: none; flex-shrink: 0;
}
.float-contact a:hover { transform: scale(1.08); background: var(--primary); color: #fff; }
.float-contact .float-phone {
  width: auto; height: 48px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  white-space: nowrap; gap: 6px;
}
.back-top {
  position: fixed; right: 20px; bottom: 16px; z-index: 110; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--primary); box-shadow: var(--shadow-md);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease-out-expo), background .3s;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: #fff; }

/* Hero extras */
.hero-counter { position: absolute; bottom: 28px; right: max(16px, calc((100vw - 1240px) / 2)); z-index: 3; font-size: 14px; font-weight: 600; letter-spacing: .12em; opacity: .75; }
.hero-counter span { font-size: 28px; opacity: 1; color: #fff; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-size: 12px; animation: scrollBounce 2s ease-in-out infinite; pointer-events: none; }
.scroll-hint::after { content: ''; width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* Topbar */
.topbar { background: linear-gradient(90deg, #083e6f, #0b5ea8); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar .sep { opacity: .5; }
.topbar .links { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar .links a { opacity: .92; transition: opacity .2s; }
.topbar .links a:hover { opacity: 1; text-decoration: underline; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .4s var(--ease-out-expo), border-color .4s, background .4s; }
header.scrolled { background: rgba(255,255,255,.98); border-bottom-color: #e5e7eb; box-shadow: 0 4px 24px rgba(15,23,42,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; flex-wrap: wrap; transition: min-height .4s var(--ease-out-expo); }
header.scrolled .header-inner { min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto; transition: transform .3s var(--ease-out-expo); }
.brand:hover { transform: translateX(2px); }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; transition: transform .5s var(--ease-out-expo); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand h1 { margin: 0; font-size: 18px; line-height: 1.15; }
.brand p { margin: 2px 0 0; color: #6b7280; font-size: 12px; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-list a { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: color .25s, background .25s, transform .25s var(--ease-out-expo); white-space: nowrap; position: relative; }
.nav-list a::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px; background: #0b5ea8; border-radius: 2px; transition: width .3s var(--ease-out-expo), left .3s var(--ease-out-expo); }
.nav-list a:hover::after, .nav-list a.active::after { width: 60%; left: 20%; }
.nav-list a:hover, .nav-list a.active { color: #0b5ea8; background: rgba(11,94,168,.08); }
.nav-list a:hover { transform: translateY(-1px); }
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: #1f2937; border-radius: 2px; transition: transform .3s var(--ease-out-expo), opacity .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; transition: transform .3s var(--ease-out-expo), box-shadow .3s, background .3s, border-color .3s, color .3s; font-size: 14px; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease-out-expo); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-outline { border-color: #e5e7eb; background: #fff; }
.btn-outline:hover { border-color: #0b5ea8; color: #0b5ea8; box-shadow: 0 6px 20px rgba(11,94,168,.12); }
.btn-primary { background: linear-gradient(135deg, #0b5ea8, #084d8a); color: #fff; box-shadow: 0 8px 24px rgba(11,94,168,.28); }
.btn-primary:hover { background: linear-gradient(135deg, #0a5496, #073d6f); box-shadow: 0 12px 32px rgba(11,94,168,.35); }
.btn-white { background: #fff; color: #0b5ea8; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.btn-white:hover { background: #eff6ff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* Hero Carousel */
.hero-carousel { position: relative; overflow: hidden; color: #fff; min-height: 520px; }
.hero-carousel::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); z-index: 1; pointer-events: none; opacity: .6; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; background-size: cover; background-position: center; transition: opacity 1s var(--ease-in-out), visibility 1s; }
.hero-slide.active { opacity: 1; visibility: visible; position: relative; animation: heroKenBurns 7s var(--ease-out-expo) forwards; }
@keyframes heroKenBurns { from { background-size: 100% 100%; } to { background-size: 108% 108%; } }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,58,.88) 0%, rgba(11,94,168,.72) 50%, rgba(11,94,168,.35) 100%); z-index: 0; }
.hero-slide-inner { position: relative; z-index: 2; padding: 100px 0 90px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-animate > * { opacity: 0; transform: translateY(28px); }
.hero-slide.active .hero-animate > * { animation: heroFadeUp var(--anim-duration) var(--ease-out-expo) forwards; }
.hero-slide.active .hero-animate > *:nth-child(1) { animation-delay: .1s; }
.hero-slide.active .hero-animate > *:nth-child(2) { animation-delay: .22s; }
.hero-slide.active .hero-animate > *:nth-child(3) { animation-delay: .34s; }
.hero-slide.active .hero-animate > *:nth-child(4) { animation-delay: .46s; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-slide h2 { margin: 0 0 18px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.12; text-shadow: 0 8px 20px rgba(0,0,0,.18); }
.hero-slide p { margin: 0 0 28px; font-size: 17px; color: rgba(255,255,255,.92); max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; transition: transform .15s ease-out; }
.hero-stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 20px; backdrop-filter: blur(8px); transition: transform .4s var(--ease-out-expo), background .4s, border-color .4s; animation: statFloat 4s ease-in-out infinite; }
.hero-stat:nth-child(2) { animation-delay: .5s; }
.hero-stat:nth-child(3) { animation-delay: 1s; }
.hero-stat:nth-child(4) { animation-delay: 1.5s; }
@keyframes statFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero-stat:hover { transform: translateY(-6px) scale(1.02); background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.hero-stat strong { display: block; font-size: 26px; margin-bottom: 6px; }
.hero-stat span { font-size: 13px; opacity: .88; }
.carousel-controls { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; z-index: 3; }
.carousel-dot { width: 36px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.25); cursor: pointer; transition: background .3s, width .3s var(--ease-out-expo); padding: 0; position: relative; overflow: hidden; }
.carousel-dot.active { width: 48px; background: rgba(255,255,255,.35); }
.carousel-dot.progressing::after { content: ''; position: absolute; inset: 0; background: #fff; border-radius: inherit; transform-origin: left; animation: dotProgress 6s linear forwards; }
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(8px); transition: transform .3s var(--ease-out-expo), background .3s, border-color .3s; }
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); transform: translateY(-50%) scale(1.08); }

/* Stats Strip — floating card */
.stats-strip { padding: 0 0 48px; margin-top: -56px; position: relative; z-index: 10; }
.stats-strip .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.stat-item { text-align: center; padding: 32px 20px; position: relative; transition: background .3s; }
.stat-item:hover { background: var(--primary-light); }
.stat-item::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: var(--border); }
.stat-item:last-child::after { display: none; }
.stat-item strong { display: block; font-size: clamp(28px, 3vw, 36px); color: var(--primary); line-height: 1.2; margin-bottom: 6px; font-variant-numeric: tabular-nums; font-weight: 700; }
.stat-item span { font-size: 14px; color: var(--text-muted); }

/* Banner Strip */
.banner-strip { background: linear-gradient(90deg, #083e6f, #0b5ea8, #083e6f); background-size: 200% 100%; animation: bannerGradient 8s ease infinite; color: #fff; }
@keyframes bannerGradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.banner-strip .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 16px 0; font-size: 14px; }
.banner-strip .container > div { transition: transform .3s var(--ease-out-expo), opacity .3s; }
.banner-strip .container > div:hover { transform: translateY(-2px); opacity: .95; }

/* Sections */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--surface); }
.section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(90%, 800px); height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.section:first-of-type::before, .hero-carousel + .stats-strip + .banner-strip + .section::before { display: none; }
.section-header { margin-bottom: 36px; }
.section-header.center { text-align: center; }
.section-header.center .sub { margin-left: auto; margin-right: auto; }
.section h3 { margin: 8px 0 10px; font-size: 32px; line-height: 1.2; }
.section .sub { margin: 0; color: #6b7280; max-width: 720px; font-size: 16px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: #0b5ea8; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; position: relative; padding-left: 28px; }
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: #0b5ea8; transform: translateY(-50%) scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out-expo); }
.revealed .kicker::before, .hero-slide.active .kicker::before { transform: translateY(-50%) scaleX(1); }
.kicker::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0b5ea8; opacity: 0; transform: scale(0); transition: opacity .4s .4s, transform .4s .4s var(--ease-out-expo); }
.revealed .kicker::after, .hero-slide.active .kicker::after { opacity: 1; transform: scale(1); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* Cards */
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(15,23,42,.05); transition: transform .45s var(--ease-out-expo), box-shadow .45s, border-color .45s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(11,94,168,.06), transparent); transform: skewX(-20deg); transition: left .7s var(--ease-out-expo); pointer-events: none; }
.card:hover::before { left: 150%; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,94,168,.12); border-color: rgba(11,94,168,.15); }
.card h4 { margin: 0 0 10px; font-size: 19px; transition: color .3s; }
.card:hover h4 { color: #0b5ea8; }
.card .card-img { border-radius: 14px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/10; background: #f1f5f9; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out-expo); }
.card:hover .card-img img { transform: scale(1.08); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #0b5ea8, #083e6f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; transition: transform .4s var(--ease-out-expo), box-shadow .4s; }
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 20px rgba(11,94,168,.3); }
.muted { color: #6b7280; font-size: 15px; }
.card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: #0b5ea8; font-weight: 600; font-size: 14px; transition: transform .3s var(--ease-out-expo), gap .3s; }
.card-link:hover { text-decoration: none; gap: 8px; }

/* About Block */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-media { border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(15,23,42,.12); position: relative; }
.about-media::after { content: ''; position: absolute; inset: 0; border: 2px solid rgba(11,94,168,.2); border-radius: 22px; opacity: 0; transition: opacity .4s, inset .4s var(--ease-out-expo); pointer-events: none; }
.about-media:hover::after { opacity: 1; inset: 8px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; transition: transform .8s var(--ease-out-expo); }
.about-media:hover img { transform: scale(1.04); }
.feature-list { display: grid; gap: 12px; margin-top: 20px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #f8fafc; border-radius: 12px; border: 1px solid #e5e7eb; transition: transform .3s var(--ease-out-expo), border-color .3s, background .3s; }
.feature-list li:hover { transform: translateX(6px); border-color: rgba(11,94,168,.2); background: #f0f7ff; }
.feature-list li::before { content: '✓'; color: #0b5ea8; font-weight: 700; flex-shrink: 0; }

/* Honor Badges */
.honor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.honor-item { text-align: center; padding: 28px 16px; background: linear-gradient(180deg, #f8fbff, #fff); border: 1px solid #dbeafe; border-radius: 18px; transition: transform .4s var(--ease-out-expo), box-shadow .4s, border-color .4s; position: relative; overflow: hidden; }
.honor-item::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(11,94,168,.06) 0%, transparent 60%); opacity: 0; transition: opacity .4s; }
.honor-item:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(11,94,168,.1); border-color: #93c5fd; }
.honor-item:hover::before { opacity: 1; }
.honor-item strong { display: block; font-size: 22px; color: #0b5ea8; margin-bottom: 8px; position: relative; }
.honor-item span { font-size: 14px; color: #6b7280; position: relative; }

/* Solution Cards */
.solution-card { position: relative; overflow: hidden; }
.solution-card .tag { display: inline-block; padding: 4px 10px; background: rgba(11,94,168,.1); color: #0b5ea8; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 10px; transition: transform .3s var(--ease-out-expo), background .3s; }
.card:hover .tag { transform: translateX(4px); background: rgba(11,94,168,.18); }
.solution-card ul { margin: 12px 0 0; padding-left: 18px; color: #6b7280; font-size: 14px; }
.solution-card ul li { margin: 6px 0; }

/* News List */
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 22px 12px; border-bottom: 1px solid #e5e7eb; transition: background .35s, transform .35s var(--ease-out-expo), box-shadow .35s; border-radius: 12px; }
.news-item:first-child { border-top: 1px solid #e5e7eb; }
.news-item:hover { background: #f8fbff; transform: translateX(6px); box-shadow: -4px 0 0 #0b5ea8; }
.news-date { text-align: center; transition: transform .3s var(--ease-out-expo); }
.news-item:hover .news-date { transform: scale(1.05); }
.news-date strong { display: block; font-size: 28px; color: #0b5ea8; line-height: 1; }
.news-date span { font-size: 13px; color: #9ca3af; }
.news-item h4 { margin: 0 0 6px; font-size: 17px; transition: color .3s; }
.news-item h4 a:hover { color: #0b5ea8; }
.news-tag { display: inline-block; padding: 3px 10px; background: #eff6ff; color: #0b5ea8; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease-out-expo), background .3s; }
.news-item:hover .news-tag { transform: scale(1.05); background: #dbeafe; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #083e6f, #0b5ea8, #0a4a82); background-size: 200% 200%; animation: ctaGradient 10s ease infinite; color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
@keyframes ctaGradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-section::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%); top: -100px; right: -100px; animation: ctaOrb 12s ease-in-out infinite; }
@keyframes ctaOrb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h3 { margin: 0 0 8px; font-size: 28px; }
.cta-inner p { margin: 0; opacity: .9; }

/* Footer */
footer { background: linear-gradient(180deg, #0f172a 0%, #0a1628 100%); color: #cbd5e1; padding: 64px 0 28px; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent), var(--primary)); }
footer h4 { margin: 0 0 16px; color: #fff; font-size: 16px; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 8px 0; font-size: 14px; line-height: 1.85; color: #94a3b8; }
.footer-brand .footer-slogan { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.footer-links li { margin: 8px 0; }
.footer-links a { font-size: 14px; opacity: .85; transition: opacity .25s, color .25s, transform .3s var(--ease-out-expo); display: inline-block; }
.footer-links a:hover { color: #fff; opacity: 1; transform: translateX(4px); }
.footer-contact li { margin: 10px 0; font-size: 14px; display: flex; gap: 8px; }
.footer-contact strong { color: #94a3b8; font-weight: 600; min-width: 42px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Inner Pages */
.breadcrumb { padding: 0; font-size: 14px; color: #6b7280; }
.breadcrumb a:hover { color: #0b5ea8; }
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0a4a82 100%);
  color: #fff; padding: 52px 0 64px; position: relative; overflow: hidden;
}
.page-hero.has-bg {
  background-image:
    linear-gradient(105deg, rgba(8,30,58,.9) 0%, rgba(11,94,168,.82) 42%, rgba(11,94,168,.62) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
.page-hero::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.18) 0%, transparent 68%);
  top: -120px; right: -80px; animation: pageOrb 14s ease-in-out infinite; z-index: 0;
}
.page-hero .breadcrumb { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.88); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 36px; align-items: center;
}
.page-hero-content { max-width: 640px; }
.page-hero-en {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 10px;
}
.page-hero-en::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.page-hero h2 {
  margin: 0 0 14px; font-size: clamp(30px, 4vw, 42px); line-height: 1.15;
  text-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.page-hero p { margin: 0 0 20px; opacity: .92; max-width: 580px; font-size: 16px; line-height: 1.75; }
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero-tags span {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: 12px; font-weight: 600; backdrop-filter: blur(6px);
}
.page-hero-aside { display: grid; gap: 12px; justify-self: end; width: min(100%, 280px); }
.page-hero-stat-card {
  padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px);
  transition: transform .35s var(--ease-out-expo), background .35s;
}
.page-hero-stat-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); }
.page-hero-stat-card strong { display: block; font-size: 24px; margin-bottom: 4px; }
.page-hero-stat-card span { font-size: 13px; opacity: .88; }
.page-hero-icon-card {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px);
}
.page-hero-icon-card .icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
}
.page-hero-icon-card .icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.page-hero-icon-card strong { display: block; font-size: 15px; margin-bottom: 2px; }
.page-hero-icon-card span { font-size: 12px; opacity: .85; }
.page-hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 48px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0 32L48 29.3C96 27 192 21 288 18.7C384 16 480 16 576 18.7C672 21 768 27 864 29.3C960 32 1056 32 1152 29.3C1248 27 1344 21 1392 18.7L1440 16V48H0Z'/%3E%3C/svg%3E") center bottom / 100% 48px no-repeat;
}
.page-hero.is-staff { background-color: #0f172a; }
.page-hero.is-staff.has-bg {
  background-image:
    linear-gradient(105deg, rgba(15,23,42,.92) 0%, rgba(51,65,85,.85) 50%, rgba(71,85,105,.7) 100%),
    var(--hero-bg, none);
}
@keyframes pageOrb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -15px) scale(1.1); } }
.page-hero .container { position: relative; z-index: 1; }
.content { padding: 54px 0 72px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.article { background: #fff; border: 1px solid #e5e7eb; border-radius: 22px; padding: 32px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.article h3 { margin-top: 0; font-size: 24px; }
.article h3:not(:first-child) { margin-top: 32px; }
.article img { border-radius: 16px; margin: 16px 0; }
.quote-box { margin: 20px 0; padding: 20px 22px; border-left: 4px solid #0b5ea8; background: #f8fbff; border-radius: 16px; }
.quote-box span { font-size: 18px; color: #0f172a; font-weight: 700; display: block; margin-bottom: 8px; }
.timeline { display: grid; gap: 14px; margin: 16px 0; }
.timeline div { padding: 16px 18px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 16px; transition: transform .35s var(--ease-out-expo), border-color .35s, box-shadow .35s; }
.timeline div:hover { transform: translateX(8px); border-color: rgba(11,94,168,.2); box-shadow: 0 8px 24px rgba(11,94,168,.08); }
.timeline span { display: inline-block; font-weight: 700; color: #0b5ea8; margin-bottom: 6px; }
.sidebar .card { position: sticky; top: 108px; }
.sidebar img { border-radius: 16px; margin: 12px 0; }
.list { padding-left: 18px; margin: 12px 0; }
.list li { margin: 8px 0; }
.link-list { display: grid; gap: 10px; }
.link-list a { padding: 12px 14px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px; }
.link-list a:hover { border-color: #0b5ea8; color: #0b5ea8; background: #eff6ff; }
.table { width: 100%; border-collapse: collapse; }
.table td, .table th { border-bottom: 1px solid #e5e7eb; padding: 14px 12px; text-align: left; vertical-align: top; }
.table th { width: 120px; color: #6b7280; font-weight: 600; background: #f8fafc; }
.product-detail { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #e5e7eb; }
.product-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-detail h4 { color: #0b5ea8; margin-bottom: 8px; }
.coop-block { margin-bottom: 32px; }
.coop-block h4 { font-size: 20px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid #0b5ea8; display: inline-block; }
.entry-card { text-align: left; }
.entry-card .icon-wrap { margin-bottom: 14px; }

/* Portal dropdown (header) */
.portal-dropdown { position: relative; }
.portal-toggle { gap: 6px; }
.portal-toggle svg { flex-shrink: 0; }
.portal-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .25s, visibility .25s, transform .25s var(--ease-out-expo);
  z-index: 60;
}
.portal-dropdown.open .portal-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.portal-option {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  transition: background .25s, transform .25s var(--ease-out-expo);
}
.portal-option:hover { background: var(--primary-light); transform: translateX(4px); }
.portal-option-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.portal-option-icon.is-user { background: linear-gradient(135deg, #0b5ea8, #083e6f); color: #fff; }
.portal-option-icon.is-staff { background: linear-gradient(135deg, #334155, #1e293b); color: #fff; }
.portal-option-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.portal-option-text { display: flex; flex-direction: column; gap: 2px; }
.portal-option-text strong { font-size: 15px; color: var(--text); }
.portal-option-text small { font-size: 12px; color: var(--text-muted); }
.btn-consult { gap: 6px; }
.btn-consult svg { flex-shrink: 0; }

/* Topbar portal pills */
.portal-links { gap: 10px !important; }
.portal-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 13px;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out-expo);
}
.portal-pill:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.35); transform: translateY(-1px); text-decoration: none; }
.portal-pill.is-staff { background: rgba(255,255,255,.08); }
.portal-pill svg { flex-shrink: 0; opacity: .9; }

/* Portal landing pages */
.portal-login-section { padding: 0 0 64px; margin-top: -32px; position: relative; z-index: 3; }
.portal-login-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.portal-login-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 36px; position: relative; overflow: hidden;
}
.portal-login-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.portal-login-card.is-staff::before { background: linear-gradient(90deg, #334155, #64748b); }
.portal-login-card h3 { margin: 0 0 8px; font-size: 26px; }
.portal-login-card .lead { margin: 0 0 24px; color: var(--text-muted); font-size: 15px; }
.portal-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
.portal-badge.is-staff { background: #f1f5f9; color: #475569; }
.portal-access-btns { display: grid; gap: 12px; margin-bottom: 24px; }
.portal-access-btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface-alt); transition: all .35s var(--ease-out-expo);
}
.portal-access-btn:hover { border-color: var(--primary); background: var(--primary-light); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.portal-access-btn .access-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; flex-shrink: 0;
}
.portal-access-btn.is-disabled { opacity: .72; cursor: default; }
.portal-access-btn.is-disabled:hover { transform: none; border-color: var(--border); background: var(--surface-alt); box-shadow: none; }
.portal-access-btn .access-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.portal-access-btn .access-text small { font-size: 12px; color: var(--text-muted); }
.portal-notice {
  padding: 14px 16px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a;
  font-size: 13px; color: #92400e; line-height: 1.6;
}
.portal-notice.is-info { background: var(--primary-light); border-color: #bfdbfe; color: #1e40af; }
.portal-notice.is-secure { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.portal-side-panel {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #0a4a82 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.portal-side-panel.is-staff { background: linear-gradient(160deg, #0f172a 0%, #334155 55%, #475569 100%); }
.portal-side-panel::after {
  content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%); top: -80px; right: -60px;
}
.portal-side-panel h4 { margin: 0 0 12px; font-size: 22px; position: relative; }
.portal-side-panel p { margin: 0 0 20px; opacity: .9; font-size: 14px; position: relative; }
.portal-side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.portal-side-stat {
  padding: 14px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
}
.portal-side-stat strong { display: block; font-size: 18px; margin-bottom: 4px; }
.portal-side-stat span { font-size: 12px; opacity: .85; }

/* Feature tiles */
.feature-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.feature-tile {
  padding: 22px 20px; border-radius: 16px; background: var(--surface-alt); border: 1px solid var(--border);
  transition: transform .35s var(--ease-out-expo), border-color .35s, box-shadow .35s;
}
.feature-tile:hover { transform: translateY(-4px); border-color: rgba(11,94,168,.2); box-shadow: var(--shadow-sm); }
.feature-tile-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-tile-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-tile h4 { margin: 0 0 6px; font-size: 16px; }
.feature-tile p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Step flow */
.step-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; counter-reset: step; }
.step-item {
  position: relative; padding: 20px 16px 16px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); text-align: center; transition: transform .35s var(--ease-out-expo), box-shadow .35s;
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.step-item h4 { margin: 0 0 6px; font-size: 15px; }
.step-item p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Contact page */
.contact-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.contact-quick-card {
  padding: 28px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
  text-align: center; transition: transform .35s var(--ease-out-expo), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.contact-quick-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,94,168,.04), transparent);
  opacity: 0; transition: opacity .35s;
}
.contact-quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(11,94,168,.2); }
.contact-quick-card:hover::before { opacity: 1; }
.contact-quick-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.contact-quick-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-quick-card h4 { margin: 0 0 8px; font-size: 17px; position: relative; }
.contact-quick-card .contact-value { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 6px; position: relative; word-break: break-all; }
.contact-quick-card .contact-value a { color: inherit; }
.contact-quick-card .contact-value a:hover { text-decoration: underline; }
.contact-quick-card p { margin: 0; font-size: 13px; color: var(--text-muted); position: relative; }

.consult-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.consult-type-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 16px;
  border: 2px solid var(--border); background: var(--surface-alt); cursor: pointer;
  transition: all .35s var(--ease-out-expo); text-align: left;
}
.consult-type-card:hover, .consult-type-card.active { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.consult-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.consult-type-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.consult-type-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.consult-type-card strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.consult-type-card span { font-size: 13px; color: var(--text-muted); }

.contact-form { display: grid; gap: 16px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group label .req { color: #ef4444; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px;
  font-family: inherit; background: var(--surface); color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,94,168,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.form-tip { font-size: 13px; color: var(--text-muted); }
.form-success {
  display: none; padding: 16px 18px; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46; font-size: 14px;
}
.form-success.show { display: block; }

.content-wide { max-width: 900px; }
.table-modern { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.table-modern td, .table-modern th { padding: 16px 18px; }
.table-modern tr:last-child td, .table-modern tr:last-child th { border-bottom: none; }

/* Inline CTA strip */
.inline-cta {
  margin-top: 32px; padding: 28px 32px; border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-light), #fff); border: 1px solid #bfdbfe;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.inline-cta h4 { margin: 0 0 6px; font-size: 18px; }
.inline-cta p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--anim-duration) var(--ease-out-expo), transform var(--anim-duration) var(--ease-out-expo); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.about-media.reveal { transform: translateX(-32px); }
.about-media.reveal.revealed { transform: translateX(0); }
.about-block > div:last-child.reveal { transform: translateX(32px); }
.about-block > div:last-child.reveal.revealed { transform: translateX(0); }
.news-item.reveal { transform: translateX(-20px); }
.news-item.reveal.revealed { transform: translateX(0); }
.news-item.reveal.revealed:hover { transform: translateX(6px); }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-animate > * { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-slide-inner, .about-block, .footer-grid, .grid-4, .honor-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2,1fr); }
  .portal-login-grid, .feature-tiles, .contact-quick-grid { grid-template-columns: 1fr 1fr; }
  .step-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  nav { width: 100%; order: 3; }
  .nav-list { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .nav-list.open { display: flex; }
  .nav-list a { border-radius: 10px; }
  .hero-slide-inner, .about-block, .content-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-aside { justify-self: stretch; width: 100%; grid-template-columns: 1fr 1fr; display: grid; }
  .portal-login-grid, .feature-tiles, .contact-quick-grid, .consult-type-grid, .step-flow, .form-row { grid-template-columns: 1fr; }
  .portal-menu { right: auto; left: 0; min-width: 240px; }
  .carousel-prev, .carousel-next { display: none; }
}
@media (max-width: 640px) {
  .hero-carousel { min-height: auto; }
  .hero-slide-inner { padding: 72px 0 100px; }
  .hero-side-stats, .stats-strip .container, .footer-grid, .grid-4, .honor-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
  .stats-strip { margin-top: -32px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 40px 0 56px; }
  .page-hero-aside { grid-template-columns: 1fr; }
  .page-hero h2 { font-size: 28px; }
  .header-actions { width: 100%; }
  .header-actions .portal-dropdown { flex: 1; }
  .header-actions .portal-toggle { width: 100%; }
  .header-actions .btn-consult { flex: 1; }
  .float-contact { right: 10px; bottom: 64px; gap: 10px; }
  .js-chat-slot { min-height: 48px; }
  .float-contact .float-phone {
    width: 48px; height: 48px; padding: 0; border-radius: 50%; gap: 0; justify-content: center;
  }
  .float-contact .float-phone span { display: none; }
  .back-top { right: 10px; bottom: 10px; width: 42px; height: 42px; }
  .hero-counter, .scroll-hint { display: none; }
  .inline-cta { flex-direction: column; text-align: center; }
}

/* ── AIGEO: Brand Anchor ── */
.brand-anchor {
  margin-top: 24px; padding: 18px 22px; border-radius: 14px;
  background: rgba(11,94,168,.12); border: 1px solid rgba(147,197,253,.25);
  color: #e2e8f0; font-size: 14px; line-height: 1.7;
}
.brand-anchor p { margin: 0; }
.brand-anchor strong { color: #fff; font-weight: 700; }
.brand-anchor.is-light,
footer:not(:has(.footer-grid)) .brand-anchor {
  background: #f0f7ff; border-color: #bfdbfe; color: #1e3a5f;
}
.brand-anchor.is-light strong,
footer:not(:has(.footer-grid)) .brand-anchor strong { color: #0b5ea8; }

/* ── AIGEO: Nav Submenu ── */
.nav-list > li { position: relative; list-style: none; }
.nav-list .has-sub > .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border: 0;
  border-radius: 999px; font-size: 14px; font-weight: 600; background: transparent;
  color: inherit; cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav-list .has-sub > .nav-sub-toggle:hover,
.nav-list .has-sub.open > .nav-sub-toggle,
.nav-list .has-sub.active > .nav-sub-toggle {
  color: #0b5ea8; background: rgba(11,94,168,.08);
}
.nav-list .has-sub > .nav-sub-toggle::after { content: "▾"; font-size: 10px; opacity: .7; }
.nav-sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 180px;
  padding: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15,23,42,.12); z-index: 40;
}
.nav-list .has-sub.open > .nav-sub { display: block; }
.nav-sub a {
  display: block; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #334155; white-space: nowrap;
}
.nav-sub a:hover, .nav-sub a.active { background: rgba(11,94,168,.08); color: #0b5ea8; }
.nav-sub a::after { display: none !important; }

/* ── AIGEO: Advantage / Process / FAQ / Case ── */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.advantage-item {
  padding: 22px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
}
.advantage-item h4 { margin: 0 0 8px; font-size: 17px; color: #0b5ea8; }
.advantage-item p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }

.process-steps { display: grid; gap: 14px; counter-reset: step; margin: 16px 0; }
.process-steps .step {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px;
}
.process-steps .step::before {
  counter-increment: step; content: counter(step); width: 40px; height: 40px;
  border-radius: 12px; background: linear-gradient(135deg, #0b5ea8, #083e6f); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.process-steps .step h4 { margin: 0 0 6px; font-size: 16px; }
.process-steps .step p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }

.service-block { margin: 28px 0; padding-bottom: 8px; }
.service-block h3 { margin: 0 0 12px; font-size: 22px; color: #0f172a; }
.service-block p { line-height: 1.8; color: #334155; }

.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.faq-cats a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff;
  font-size: 13px; font-weight: 600; color: #475569; text-decoration: none;
}
.faq-cats a:hover { border-color: #0b5ea8; color: #0b5ea8; }

.faq-group { margin-bottom: 36px; }
.faq-group > h3 {
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #0b5ea8;
  font-size: 20px; color: #0f172a;
}
.faq-item {
  border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; color: #0f172a;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: #0b5ea8; font-size: 18px; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a {
  padding: 0 18px 16px; color: #475569; font-size: 14px; line-height: 1.8; border-top: 1px solid #f1f5f9;
}
.faq-item .faq-a p { margin: 12px 0 0; }

.case-cat { margin: 40px 0 20px; scroll-margin-top: 100px; }
.case-cat h3 {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 22px; color: #0f172a;
}
.case-cat h3 span {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(11,94,168,.1);
  color: #0b5ea8; font-size: 12px; font-weight: 700;
}
.case-detail {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 24px;
  margin-bottom: 18px;
}
.case-detail h4 { margin: 0 0 14px; font-size: 19px; color: #0b5ea8; }
.case-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-quad > div {
  padding: 14px 16px; background: #f8fafc; border-radius: 12px; border: 1px solid #eef2f7;
}
.case-quad strong {
  display: block; margin-bottom: 6px; color: #0f172a; font-size: 13px;
}
.case-quad p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }

.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cred-item {
  padding: 20px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff;
}
.cred-item h4 { margin: 0 0 8px; color: #0b5ea8; }
.cred-item p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
  .nav-sub {
    position: static; box-shadow: none; border: 0; padding: 4px 0 4px 12px; background: transparent;
  }
  .nav-list .has-sub.open > .nav-sub { display: block; }
  .advantage-grid, .case-quad, .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .advantage-grid { grid-template-columns: 1fr; }
}

/* ── AIGEO polish / bugfix ── */
.nav-list, .nav-sub { margin: 0; padding: 0; list-style: none; }
.nav-list > li > a.active { color: #0b5ea8; background: rgba(11,94,168,.08); }
@media (min-width: 901px) {
  .nav-list .has-sub:hover > .nav-sub,
  .nav-list .has-sub:focus-within > .nav-sub { display: block; }
  .nav-list .has-sub:hover > .nav-sub-toggle,
  .nav-list .has-sub:focus-within > .nav-sub-toggle {
    color: #0b5ea8; background: rgba(11,94,168,.08);
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-list a, .nav-list .has-sub > .nav-sub-toggle { padding: 6px 8px; font-size: 13px; }
}
.home-faq-preview { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.home-faq-preview details {
  border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; padding: 0;
}
.home-faq-preview summary {
  list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; color: #0f172a;
}
.home-faq-preview summary::-webkit-details-marker { display: none; }
.home-faq-preview details p {
  margin: 0; padding: 0 16px 14px; color: #64748b; font-size: 14px; line-height: 1.7;
}
.aigeo-banner {
  margin: 0 0 24px; padding: 16px 18px; border-radius: 14px;
  background: #f0f7ff; border: 1px solid #bfdbfe; color: #1e3a5f; font-size: 14px; line-height: 1.7;
}
.aigeo-banner a { color: #0b5ea8; font-weight: 700; }

/* ── Smart Chat Widget ── */
.js-chat-root {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  overflow: visible; font-family: inherit; pointer-events: none; z-index: 140;
}
.js-chat-send:disabled { opacity: .55; cursor: not-allowed; }
.js-chat-form textarea:disabled { background: #f1f5f9; }
/* 头像 + 对话一体胶囊 */
.js-chat-launcher {
  position: relative; display: inline-flex; align-items: center; padding: 4px 4px 4px 4px;
  height: 56px; gap: 0; flex-shrink: 0;
  border: 0; border-radius: 999px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #0b5ea8 0%, #0870c9 55%, #0a7fd4 100%);
  box-shadow: 0 10px 28px rgba(11, 94, 168, .38);
  transition: transform .25s var(--ease-out-expo), box-shadow .25s;
  pointer-events: auto; overflow: visible;
}
.js-chat-launcher:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 34px rgba(11, 94, 168, .48);
}
.js-chat-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.95);
  box-shadow: 0 2px 8px rgba(8, 62, 111, .25);
  background: #e2e8f0;
}
.js-chat-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js-chat-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: -2px;
}
.js-chat-icon svg { display: block; }
.js-chat-launcher-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  padding: 6px 10px; border-radius: 8px; background: #0f172a; color: #fff;
  font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
}
.js-chat-launcher:hover .js-chat-launcher-label,
.js-chat-launcher:focus-visible .js-chat-launcher-label { opacity: 1; visibility: visible; }
.js-chat-panel {
  position: fixed; right: 20px; bottom: 250px; width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18); overflow: hidden;
  pointer-events: auto; z-index: 140;
}
.js-chat-panel[hidden] { display: none !important; }
.js-chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: linear-gradient(135deg, #083e6f, #0b5ea8); color: #fff;
}
.js-chat-head-text strong { display: block; font-size: 15px; }
.js-chat-head-text small { opacity: .85; font-size: 12px; }
.js-chat-close {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255,255,255,.14);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.js-chat-list { flex: 1; overflow: auto; padding: 16px; background: #f8fafc; display: flex; flex-direction: column; gap: 12px; }
.js-chat-msg { display: flex; }
.js-chat-msg.is-user { justify-content: flex-end; }
.js-chat-bubble {
  max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.65;
  white-space: pre-wrap; word-break: break-word;
}
.js-chat-msg.is-assistant .js-chat-bubble { background: #fff; border: 1px solid #e5e7eb; color: #0f172a; border-bottom-left-radius: 4px; }
.js-chat-msg.is-user .js-chat-bubble { background: #0b5ea8; color: #fff; border-bottom-right-radius: 4px; }
.js-chat-form {
  display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e5e7eb; background: #fff; align-items: flex-end;
}
.js-chat-form textarea {
  flex: 1; resize: none; min-height: 42px; max-height: 96px; padding: 10px 12px;
  border: 1px solid #e5e7eb; border-radius: 12px; font: inherit; font-size: 14px; line-height: 1.5;
}
.js-chat-send {
  width: 42px; height: 42px; border: 0; border-radius: 12px; background: #0b5ea8; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.js-chat-dots { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.js-chat-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: #94a3b8;
  animation: jsChatDot 1.2s ease-in-out infinite;
}
.js-chat-dots i:nth-child(2) { animation-delay: .15s; }
.js-chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes jsChatDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-3px); opacity: 1; }
}
@media (max-width: 640px) {
  /* 移动端改为圆形头像按钮，与电话/邮件对齐，减少遮挡 */
  .js-chat-launcher-label { display: none; }
  .js-chat-launcher {
    width: 48px; height: 48px; padding: 0;
    justify-content: center; border-radius: 50%;
    box-shadow: 0 8px 22px rgba(11, 94, 168, .36);
  }
  .js-chat-launcher:hover,
  .js-chat-launcher:active {
    transform: scale(1.06);
  }
  .js-chat-avatar {
    width: 48px; height: 48px; border-width: 2px;
  }
  .js-chat-icon {
    position: absolute; right: -1px; bottom: -1px;
    width: 18px; height: 18px; margin: 0;
    border-radius: 50%;
    background: #0b5ea8;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(8, 62, 111, .28);
  }
  .js-chat-icon svg { width: 10px; height: 10px; }
  .js-chat-panel {
    right: 10px; left: 10px; bottom: 10px; width: auto;
    height: min(72vh, 560px); border-radius: 16px;
  }
}
