/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: #1f2937; background: linear-gradient(180deg, rgba(250, 252, 255, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%); background-attachment: fixed; }

.container { width: 92%; max-width: 1100px; margin: 0 auto; }
.page-wrapper { padding: 24px 0 40px; }
.contact-page { padding: 36px 0 72px; }

/* Header */
.site-header { position: sticky; top: 0; background: #ffffffcc; backdrop-filter: blur(6px); border-bottom: 1px solid #e5e7eb; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { font-weight: 700; color: #111827; text-decoration: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.nav a { color: #374151; text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.nav a:hover { background: #f3f4f6; }

/* Hero */
.page-hero { margin: 0; overflow: hidden; position: relative; border-radius: 0 0 32px 32px; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12); }
.page-hero figure { margin: 0; }
.page-hero img { width: 100%; height: min(320px, 45vw); object-fit: cover; display: block; filter: brightness(0.9); }
.home-hero { position: relative; padding: clamp(72px, 18vw, 150px) 0 90px; color: #0f172a; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: -60% -30% auto -40%; height: 180%; background: radial-gradient(circle at center, rgba(191, 219, 254, 0.7) 0%, rgba(59, 130, 246, 0.4) 42%, rgba(37, 99, 235, 0.1) 70%, transparent 100%); transform: rotate(-6deg); z-index: 0; }
.home-hero::after { content: ""; position: absolute; inset: auto -20% -20% auto; width: clamp(220px, 35vw, 420px); height: clamp(220px, 35vw, 420px); border-radius: 46% 54% 60% 40%; background: radial-gradient(circle at 30% 30%, rgba(236, 254, 255, 0.85), rgba(191, 219, 254, 0.35)); filter: blur(0.4px); z-index: 0; }
.home-hero .hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: clamp(32px, 6vw, 80px); }
.home-hero .hero-copy { flex: 1.15; display: flex; flex-direction: column; gap: 20px; }
.home-hero .eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(30, 64, 175, 0.8); font-weight: 700; }
.home-hero h1 { margin: 0; font-size: clamp(34px, 5.4vw, 54px); line-height: 1.05; color: #0b1120; }
.home-hero .lead { margin: 0; font-size: clamp(16px, 2.1vw, 20px); color: #1f2937; max-width: 32ch; }
.home-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero .btn { font-weight: 600; border-radius: 999px; padding: 12px 28px; box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12); }
.home-hero .hero-primary { background: linear-gradient(120deg, #2563eb, #1d4ed8); color: #f8fafc; border: none; }
.home-hero .hero-primary:hover { background: linear-gradient(120deg, #1d4ed8, #1e40af); box-shadow: 0 20px 44px rgba(37, 99, 235, 0.24); }
.home-hero .hero-secondary { background: rgba(255, 255, 255, 0.82); color: #1d4ed8; border: 1px solid rgba(37, 99, 235, 0.25); box-shadow: 0 10px 28px rgba(148, 163, 184, 0.25); backdrop-filter: blur(6px); }
.home-hero .hero-secondary:hover { background: rgba(255, 255, 255, 0.95); border-color: rgba(37, 99, 235, 0.4); color: #1e3a8a; }

.home-hero .hero-aside { flex: 1; display: flex; justify-content: center; }
.home-hero .highlight-grid { display: grid; gap: 18px; width: 100%; max-width: clamp(320px, 34vw, 520px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.home-hero .highlight-card { background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 20px; padding: 24px 26px; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
.home-hero .highlight-card h3 { margin: 0; font-size: 18px; color: #1e3a8a; }
.home-hero .highlight-card p { margin: 0; font-size: 15px; color: #475569; line-height: 1.55; }
.home-hero .highlight-card p + p { margin-top: 6px; font-size: 13px; color: #64748b; }

.home-hero.contact-hero { background: linear-gradient(150deg, rgba(30, 64, 175, 0.9) 0%, rgba(37, 99, 235, 0.78) 45%, rgba(96, 165, 250, 0.68) 100%); }
.home-hero.contact-hero::before { inset: -70% -40% auto -35%; background: radial-gradient(circle at center, rgba(191, 219, 254, 0.7) 0%, rgba(59, 130, 246, 0.35) 42%, rgba(37, 99, 235, 0.12) 70%, transparent 100%); transform: rotate(-3deg); }
.home-hero.contact-hero::after { inset: auto -25% -30% auto; background: radial-gradient(circle at 30% 30%, rgba(236, 254, 255, 0.85), rgba(191, 219, 254, 0.4)); filter: blur(3px); opacity: 0.9; }
.home-hero.contact-hero .hero-primary { background: linear-gradient(125deg, #2563eb, #1d4ed8); }
.home-hero.contact-hero .hero-primary:hover { background: linear-gradient(125deg, #1d4ed8, #1e40af); box-shadow: 0 22px 48px rgba(37, 99, 235, 0.26); }
.home-hero.contact-hero .hero-secondary { color: #1d4ed8; border-color: rgba(37, 99, 235, 0.35); }
.home-hero.contact-hero .hero-secondary:hover { color: #0f172a; border-color: rgba(37, 99, 235, 0.5); }
.home-hero.contact-hero .hero-inner { align-items: stretch; }
.home-hero.contact-hero .hero-copy { max-width: 540px; }
.home-hero.contact-hero .highlight-card { background: rgba(255, 255, 255, 0.96); border-color: rgba(59, 130, 246, 0.22); box-shadow: 0 18px 45px rgba(30, 64, 175, 0.18); }
.home-hero.contact-hero .highlight-card h3 { color: #0f172a; }
.home-hero .highlight-grid.contact-highlights { max-width: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-highlights .highlight-card { flex-direction: row; align-items: center; gap: 18px; padding: 24px 28px; }
.contact-highlights .icon-circle { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(37, 99, 235, 0.24)); font-size: 24px; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35); }
.contact-card-body { display: flex; flex-direction: column; gap: 6px; }
.contact-card-body h3 { margin: 0; font-size: 17px; font-weight: 700; color: #0f172a; }
.contact-card-body .detail { margin: 0; font-size: 16px; color: #0f172a; font-weight: 600; }
.contact-card-body .detail a { color: #0284c7; text-decoration: none; }
.contact-card-body .detail a:hover { text-decoration: underline; }
.contact-card-body .note { margin: 0; font-size: 13px; color: #64748b; }

@media (max-width: 900px) {
	.home-hero { padding-bottom: 70px; }
	.home-hero .hero-inner { flex-direction: column; text-align: center; }
	.home-hero .hero-copy { align-items: center; }
	.home-hero .lead { max-width: 48ch; }
	.home-hero .hero-actions { justify-content: center; }
	.home-hero .hero-aside { width: 100%; }
	.contact-highlights .highlight-card { flex-direction: column; align-items: center; text-align: center; }
	.contact-card-body { align-items: center; }
	.contact-card-body .detail { font-size: 15px; }
}
.contact-hero { margin-bottom: 28px; }

/* Groups */
.product-groups { padding: 30px 0 40px; gap: 22px; display: flex; flex-direction: column; }
.group { margin: 0; }
.group-title { margin: 0 0 6px; font-size: 22px; text-align: center; }
.group-desc { margin: 0 0 14px; color: #6b7280; text-align: center; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 7px; }
.card { background: #ffffff; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 0; overflow: hidden; box-shadow: 0 12px 30px rgba(15,23,42,0.05); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,0.08); }
.card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #f5f7fb; border-radius: 0; transition: transform .25s ease; }
.card:hover img { transform: scale(1.08); }
.card figcaption { display: none; }

/* CTA */
.cta { padding: 10px 0 40px; text-align: center; }
.btn { display: inline-block; background: #111827; color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.btn:hover { background: #0b1220; }

/* Footer */
.site-footer { padding: 24px 0; border-top: 1px solid #e5e7eb; background: #fff; margin-top: 30px; }
.site-footer p { margin: 0; color: #6b7280; font-size: 14px; }

/* Contact gallery tweaks */
.gallery .card img { aspect-ratio: 1 / 1; }

/* Contact page centered typography */
.contact-page header,
.contact-page .content { text-align: center; }

/* Section styling */
.content-section,
.cta.container,
.site-footer {
	position: relative;
	z-index: 0;
}

.content-section::before,
.cta.container::before,
.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 100%;
	z-index: -1;
	background: var(--section-bg, #ffffff);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
}

.content-section {
	--section-bg: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(237,242,255,0.92) 100%);
	padding: 40px 0;
	margin: 0 auto 32px;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
	background: transparent;
}

.content-section h2 {
	margin: 0 0 20px;
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	color: #0f172a;
}

.contact-page .content-section p {
	margin: 0 auto 16px;
	max-width: 64ch;
	line-height: 1.7;
}

.product-groups .group.content-section:nth-of-type(even) {
	--section-bg: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,244,255,0.9) 100%);
}


.contact-page .content-section {
	--section-bg: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(237,242,255,0.9) 100%);
}

.content-section > * {
	padding-left: 4%;
	padding-right: 4%;
}

.cta.container {
	--section-bg: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(232,241,255,0.88) 100%);
	padding: 56px 0 64px;
	margin: 48px auto 0;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
	background: transparent;
}

.site-footer {
	--section-bg: linear-gradient(180deg, rgba(245,247,251,0.9) 0%, rgba(255,255,255,0.85) 100%);
	padding: 36px 0;
	border-top: 1px solid rgba(229, 231, 235, 0.6);
	background: transparent;
}
