/* ================== ShinSRun Style (Updated: Design Polish) ================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --bg-body: #F4F7F9;
  --bg-white: #FFFFFF;
  --primary: #0F172A;
  --header-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #1B263B;
  --accent-yellow: #FFC300;
  --accent-hover: #FFD60A;
  /* 极光变量 */
  --aurora: linear-gradient(135deg, #00C6FF 0%, #0072FF 50%, #9D50BB 100%);
  --aurora-soft: linear-gradient(180deg, rgba(224, 242, 254, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
  --header-h: 80px;
}

html { 
  font-size: 16px; 
  scroll-behavior: smooth; 
  scroll-padding-top: var(--header-h); 
}

body {
  margin: 0; padding: 0;
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-body);
  color: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  zoom: 1; 
}

/* Contact page background (livelier, non-yellow) */
body.page-contact{
  background: radial-gradient(circle at 10% 0%, #E0F2FE 0%, #FFFFFF 55%, #EEF2FF 100%);
}
body.page-contact .section{ background: transparent; }

/* 强制白色背景工具类 */
.bg-white { background-color: var(--bg-white) !important; }

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { display: block; width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
* { box-sizing: border-box; }

/* 核心容器 */
.container {
  width: 90% !important;
  max-width: 2000px !important;
  margin: 0 auto !important;
  position: relative;
}

.section { padding: 80px 0; }
.section-soft { background: var(--bg-white); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 9999; background: var(--header-bg); backdrop-filter: blur(20px); border-bottom: 2px solid var(--accent-yellow); height: var(--header-h); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }

/* Anchor offset so index.html#services aligns correctly under sticky header */
#services { scroll-margin-top: calc(var(--header-h) + 20px); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: flex-start;  padding: 0 22px; }
.brand { display: flex; align-items: center; margin-right: auto; margin-left: 44px; text-decoration: none; }
.brand-stack { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-logo-wrap { display: block; line-height: 0; }
/*
  NOTE: 你的 SVG Logo 文件内部如果留白很大，会导致“看起来很小”。
  这里用固定宽高 + object-fit: cover 来裁掉边缘留白，让 Logo 视觉更接近你截图红框的占位效果。
*/
.brand-logo {
  height: 42px;
  width: 125px;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.brand-text { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; color: #000; letter-spacing: -1px; }
.brand-sub{display:none;}

/* 导航位置 */
.nav-links { 
  display: flex; gap: 45px; align-items: center; height: 100%; 
  margin-left: auto; 
  margin-right: 15vw; 
}

.nav-links > a, .dropdown > a { 
  font-weight: 600; font-size: 16px; color: #334155 !important; 
  position: relative; display: inline-block; line-height: 1.5; padding: 8px 0; 
  transition: color 0.2s ease; 
}
.nav-links > a:hover, .dropdown:hover > a { color: #334155 !important; }
.nav-links > a.is-active, .dropdown.is-active > a { color: #0072FF !important; }

/* 极光光标 */
.nav-links > a::after, .dropdown > a::after { 
  content: ''; position: absolute; bottom: 0; left: 0; 
  width: 0; height: 3px; 
  background: var(--aurora); 
  transition: width 0.3s; 
  border-radius: 4px 4px 0 0; 
}
.nav-links > a:hover::after, .nav-links > a.is-active::after, .dropdown:hover > a::after, .dropdown.is-active > a::after { 
  width: 100%; 
}

/* Dropdown styling */
.dropdown { position: relative; height: auto; display: flex; align-items: center; cursor: default; }
.dropdown > a { cursor: pointer; } 

.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: white; min-width: 240px; padding: 10px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); opacity: 0; visibility: hidden; transition: all 0.2s; z-index: 10000; margin-top: 15px; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 12px 16px; border-radius: 8px; color: #475569; font-size: 14px; font-weight: 500; cursor: pointer; }
.dropdown-menu a:hover { background: #F8FAFC; color: #0072FF; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; margin-left: auto; }

/* Banner & Slider */
.slider { position: relative; width: 100%; height: 650px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #fff 0%, #F0F4FF 100%); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide a { width: 100%; height: 100%; display: block; }
.slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.slider-dots { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #CBD5E1; cursor: pointer; transition: all 0.3s; border: none; }
.dot.is-active { background: var(--accent-yellow); transform: scale(1.2); }

/* Offer Grid */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; font-family: 'Montserrat', sans-serif; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.offer-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,114,255,0.15); }
.offer-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--aurora); opacity: 0; transition: opacity 0.3s; }
.offer-card:hover::before { opacity: 1; }
.offer-thumb { height: 320px; padding: 30px; background: radial-gradient(circle, #fff 40%, #f1f5f9 100%); display: flex; align-items: center; justify-content: center; }
.offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s;
  mix-blend-mode: multiply;
}
.offer-card:hover .offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s;
  mix-blend-mode: multiply;
}
.offer-name { padding: 20px; text-align: center; font-weight: 700; font-size: 16px; color: #1e293b; border-top: 1px solid #f1f5f9; }
.tag { position: absolute; top: 16px; left: 16px; background: #0F172A; color: var(--accent-yellow); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; z-index: 5; }

/* Products Toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: white; padding: 20px 30px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin: 40px auto; max-width: 900px; border: 1px solid #F1F5F9; }
.filter-group, .search-group { flex: 1; position: relative; min-width: 200px; }

.tech-select, .tech-input { 
  width: 100%; padding: 12px 20px; border-radius: 30px; 
  border: 1px solid #E2E8F0; 
  background: #FFFFFF;
  font-size: 15px; font-weight: 600; color: #334155; 
  font-family: 'Open Sans', sans-serif;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tech-select:hover, .tech-input:hover {
  border-color: #0072FF; 
  box-shadow: 0 4px 12px rgba(0, 114, 255, 0.08); 
}

.tech-select:focus, .tech-input:focus {
  outline: none;
  border-color: #00C6FF; 
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2); 
}

.tech-input { padding-left: 45px; cursor: text; }
.icon-search { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #64748B; display: flex; align-items: center; pointer-events: none; }
.icon-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #64748B; pointer-events: none; display: flex; align-items: center; }
.result-count { font-size: 14px; font-weight: 600; color: #64748B; min-width: 100px; text-align: right; }

/* Products Toolbar "All" dropdown visual fix */
.toolbar .filter-group{
  border: 1px solid #E2E8F0;
  border-radius: 30px;
  background: #FFFFFF;
  overflow: hidden;
}
.toolbar .filter-group .tech-select{
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-right: 52px;
}
.toolbar .filter-group:hover{
  border-color: #0072FF;
  box-shadow: 0 4px 12px rgba(0, 114, 255, 0.08);
}
.toolbar .filter-group:focus-within{
  border-color: #00C6FF;
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
}
.toolbar .filter-group .tech-select:hover,
.toolbar .filter-group .tech-select:focus{
  border: 0;
  box-shadow: none;
}
.toolbar .filter-group .icon-arrow{
  right: 18px;
}


/* Hero Aurora */
.hero-aurora {
  background: var(--aurora-soft);
  padding-top: 40px;
}

/* Services */
/* Services Section Background */
#services.section{
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 198, 255, 0.12), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(0, 114, 255, 0.10), transparent 50%),
    linear-gradient(180deg, #F0FAFF 0%, #FFFFFF 85%);
}

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border-left: 5px solid var(--accent-yellow); }
.card-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; color: #0F172A; }
.list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 15px; color: #475569; }
.list li::before { content: "➤"; position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--accent-yellow); background: none; box-shadow: none; width: auto; height: auto; border-radius: 0; }
.flowline { display: flex; justify-content: space-between; margin-top: 60px; position: relative; }
.flowline::before { content: ""; position: absolute; top: 22px; left: 40px; right: 40px; height: 2px; background: #e2e8f0; z-index: 0; }
.flowstep { position: relative; z-index: 1; text-align: center; }
.flowdot { width: 48px; height: 48px; background: white; border: 2px solid var(--accent-yellow); border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-weight: 700; color: #0F172A; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.flowbox { margin-top: 12px; font-size: 14px; font-weight: 600; }

/* Footer */
.footer { margin-top: 100px; background: var(--footer-bg); color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.6fr 1.2fr; gap: 50px; }
.footer-brand { 
  font-size: 24px; font-weight: 800; color: white; margin-bottom: 16px; font-family: 'Montserrat', sans-serif;
  margin-top: -10px; 
}
.footer-desc { color: #94A3B8; font-size: 14px; line-height: 1.8; max-width: 300px; }
.social-icons { display: flex; gap: 12px; margin-top: 24px; }
.social-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s; }
.social-icon:hover { background: var(--accent-yellow); color: #000; transform: translateY(-3px); }
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }
.footer-title { color: var(--accent-yellow); font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 24px; letter-spacing: 1px; text-align: left; }
.footer-links a, .footer-contact div { display: block; margin-bottom: 14px; color: #CBD5E1; font-size: 14px; text-align: left; }
.footer-links a:hover { color: var(--accent-yellow); transform: translateX(5px); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: #64748B; }

@media (max-width: 1024px) {
  .nav-links { display: none; margin-right: 0; }
  .nav-toggle { display: block; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .container { width: 92%; }
}

/* About Styles */
.about-hero-wrapper { display: flex; width: 100%; min-height: 550px; background: radial-gradient(circle at 0% 0%, #FFFFFF 0%, #F1F5F9 100%); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.03); margin: 30px 0; }
.about-hero-left { flex: 0.8; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; }
.about-hero-title { font-size: 42px; font-weight: 900; margin-bottom: 24px; color: #0F172A; font-family: 'Montserrat', sans-serif; }
.about-hero-sub { font-size: 16px; color: #475569; margin-bottom: 40px; line-height: 1.6; }
.about-hero-right { flex: 1.2; position: relative; background: #E2E8F0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-hero-right img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn { position: absolute; width: 80px; height: 80px; background: rgba(255,255,255,0.3); backdrop-filter: blur(8px); border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; }
.video-play-btn::after { content: ''; border-left: 18px solid #0F172A; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.hero-overlay-text { position: absolute; bottom: 30px; right: 40px; font-size: 40px; font-weight: 900; color: white; text-align: right; z-index: 2; line-height: 1; }

.section-title-tech { text-align: center !important; font-size: 32px; font-weight: 900; margin-bottom: 50px; color: #0F172A; position: relative; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }
.section-title-tech::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent-yellow); margin: 15px auto 0; border-radius: 2px; }

/* About page: remove the yellow underline when requested */
.section-title-tech.no-underline::after { display: none; }
.section-title-tech.tight-title { margin-bottom: 20px !important; }

/* Narrow container for CERTIFIED EXCELLENCE */
.container.excellence-narrow { max-width: 980px !important; }

/* ========================================================
   ABOUT PAGE REFINEMENTS (page-about)
   ======================================================== */
.page-about .about-hero-wrapper { margin: 2px 0 20px; }

/* Reduce top empty space inside "About ShinSRun Technology" (hero) content */
.page-about .about-hero-left { justify-content: flex-start; padding: 52px 50px; }

/* About hero: reduce top empty space a bit more */
.page-about .about-hero-wrapper { scroll-margin-top: calc(var(--header-h, 86px) + 16px); }

.page-about .journey-notes {
  margin: 8px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-about .journey-note {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}
.page-about .journey-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-yellow);
}

/* Factory Production Line section background (white) */
.page-about .about-factory-section { background: #fff; }

/* Factory Production Line: make images bigger */
.page-about #factoryTrack .tech-slide { flex: 0 0 40%; }
.page-about #factoryTrack .tech-slide img { height: 320px; }

@media (max-width: 900px) {
  .page-about #factoryTrack .tech-slide img { height: 300px; }
}

/* Factory Journey iframe overlay */
.page-about .about-hero-right { position: relative; }
.page-about .journey-iframe {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 0;
}
.page-about .journey-iframe-el {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CERTIFIED EXCELLENCE badges: static, tighter, and visually consistent size */
.page-about .badges-section-static { padding: 6px 0 8px; }
.page-about .badges-grid-static { gap: 34px; padding: 0; align-items: center; }
.page-about .badge-item {
  width: 150px;
  height: 76px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  filter: none;
  opacity: 1;
  transition: none;
}
.page-about .badge-item:hover { transform: none; box-shadow: none; border-color: transparent; }
.page-about .badge-item.badge-rohs { transform: scale(1.18); }

.page-about .badge-item.badge-iso9001 { transform: scale(1.18); }

/* Move CERTIFIED EXCELLENCE content slightly upward, and keep a bit more air below before EXHIBITIONS */
.page-about .about-excellence-section .container.excellence-narrow { margin-top: -10px; }
.page-about .about-excellence-section { padding-bottom: 120px; }

/* EXHIBITIONS: match background with CERTIFICATIONS & COMPLIANCE */
.page-about .about-exhibitions-section { padding-top: 100px; background: #F8FAFC; }
.page-about .expo-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.page-about .expo-row { display: grid; gap: 18px; }
.page-about .expo-row-top { grid-template-columns: repeat(2, 1fr); }
.page-about .expo-row-bottom { grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0 auto; }
.page-about .expo-card { height: auto; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #fff; }
.page-about .expo-card.expo-wide { aspect-ratio: 16 / 9; }
.page-about .expo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: none; display: block; }
.page-about .expo-card:hover img { transform: none; }
.page-about .expo-overlay { display: none; }

/* CERTIFICATIONS & COMPLIANCE: larger certificates, less bottom whitespace, consistent background */
.page-about .about-certifications-section { background: #F8FAFC !important; padding-bottom: 60px; }
.page-about .about-certifications-section .tech-slider-track { padding-bottom: 10px; }
/* Make the certificate image flush with the border (no inner padding / no extra frame space) */
.page-about .cert-slide {
  flex: 0 0 30%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.page-about .cert-slide img {
  width: 100% !important;
  height: auto !important;
  display: block;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  object-fit: contain;
}

/* CERTIFICATIONS & COMPLIANCE: CE / ROHS docs don't need to be ultra-clear */
.page-about .cert-slide.cert-soft img {
  filter: none;
  opacity: 1;
}

.stats-bar { width: 100%; margin: 30px 0; background: var(--accent-yellow); padding: 50px 0; border-radius: 16px; color: #0F172A; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr) !important; gap: 10px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 900; margin-bottom: 5px; line-height: 1; font-family: 'Montserrat', sans-serif; }
.stat-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; }

.badges-section-static { text-align: center; padding: 20px 0; }
.badges-grid-static { display: flex; justify-content: center; flex-wrap: wrap; gap: 60px; padding: 20px 0; }
.badge-item { height: 80px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.8; transition: all 0.3s; background: #fff; padding: 10px; border-radius: 8px; border: 1px solid #E2E8F0; }
.badge-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--accent-yellow); }

.tech-slider-wrap { position: relative; padding: 0 50px; }
.tech-slider-track { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 10px 0 20px; }
.tech-slider-track::-webkit-scrollbar { display: none; }
.tech-slide { flex: 0 0 32%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.tech-slide img { width: 100%; height: 260px; object-fit: cover; }
.cert-slide { flex: 0 0 24%; background: transparent; box-shadow: none; }
.cert-slide img { height: 320px; object-fit: contain; border: 1px solid #E2E8F0; background: white; padding: 10px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: white; border: 1px solid #E2E8F0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-size: 20px; z-index: 10; }
.slider-prev { left: 0; } .slider-next { right: 0; }

.expo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expo-card { position: relative; border-radius: 12px; overflow: hidden; height: 260px; }
.expo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.expo-card:hover img { transform: scale(1.1); }
.expo-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: white; padding: 15px; font-weight: 600; transform: translateY(100%); transition: transform 0.3s ease; }
.expo-card:hover .expo-overlay { transform: translateY(0); }

@media (max-width: 900px) {
  .about-hero-wrapper { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px; }
  .tech-slide { flex: 0 0 85%; }
  .cert-slide { flex: 0 0 60%; }
  .expo-grid { grid-template-columns: 1fr; }

  /* About page: keep exhibitions 3+2 layout responsive and certificates readable */
  .page-about .expo-row-top,
  .page-about .expo-row-bottom { grid-template-columns: 1fr; }
  .page-about .cert-slide { flex: 0 0 85%; }
  .page-about .cert-slide img { height: 360px; }
}

/* ========================================================
   PRODUCT DETAIL 
   ======================================================== */
.pd-section-top { padding-top: 60px; padding-bottom: 20px; }

/* Product Detail page should be pure white (only this page) */
body.page-product-detail{ background: #fff; }
body.page-product-detail .section,
body.page-product-detail .pd-section-details,
body.page-product-detail .pd-reco-section{ background: #fff; }

/* Keep Product Detail content width reasonable so the right column isn't glued to the screen edge */
body.page-product-detail .pd-section-top .container,
body.page-product-detail .pd-section-details .container,
body.page-product-detail .pd-reco-section .container{
  max-width: 1320px !important;
  width: 92% !important;
}

/* Gallery */
.pd-gallery { display: flex; flex-direction: column; gap: 15px; }
.pd-main-image-wrap {
  position: relative; background: #fff; border-radius: 16px; border: 1px solid #E2E8F0;
  height: 500px; display: flex; align-items: center; justify-content: center;
  padding: 14px; overflow: hidden;
  /* Wider than current, but still not over-stretched */
  max-width: 740px; width: 100%; margin: 0 auto;
}
.pd-main-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pd-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid #E2E8F0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; color: #334155;
  transition: all 0.2s; z-index: 5;
}
.pd-arrow:hover { background: #007AFF; color: #fff; border-color: #007AFF; }
.pd-arrow-prev { left: 15px; }
.pd-arrow-next { right: 15px; }

.pd-thumbs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 740px; margin: 0 auto; }
.pd-thumb-item {
  width: 80px; height: 80px; border: 2px solid transparent; border-radius: 10px;
  cursor: pointer; background: #fff; padding: 5px; opacity: 0.6;
  transition: all 0.2s; border: 1px solid #E2E8F0;
}
.pd-thumb-item.active, .pd-thumb-item:hover { border-color: #007AFF; opacity: 1; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15); }
.pd-thumb-item img { width: 100%; height: 100%; object-fit: contain; }

/* Info */
.pd-title { font-size: 32px; font-weight: 800; line-height: 1.1; margin: 0 0 10px; color: #0F172A; font-family: 'Montserrat', sans-serif; }
.pd-model { font-size: 16px; font-weight: 600; color: #64748B; margin-bottom: 20px; }
.pd-subtitle { font-size: 16px; font-weight: 700; color: #0F172A; margin: 0 0 10px; }

/* Features */
.pd-features { margin: 0 0 20px; padding: 0; list-style: none; }
.pd-features li { 
  position: relative; 
  padding-left: 12px;
  margin: 6px 0; 
  color: #334155; 
  line-height: 1.6; 
  font-size: 15px;
}
.pd-features li::before { 
  content: "·"; 
  position: absolute; 
  left: 0; 
  top: 0; 
  font-weight: 900; 
  font-size: 20px; 
  line-height: 1.5; 
  color: #0F172A; 
}

.pd-meta-line { 
  display: flex; 
  gap: 6px;
  align-items: baseline; 
  margin: 8px 0; 
  font-size: 15px; 
}
.pd-meta-label { font-weight: 800; color: #0F172A; white-space: nowrap; }
.pd-meta-value { font-weight: 600; color: #334155; }

.pd-inquiry-btn {
  display: inline-block; margin-top: 30px; padding: 16px 40px; border-radius: 12px;
  background: #007AFF; color: #fff; text-decoration: none; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25); transition: transform 0.2s ease;
}
.pd-inquiry-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 122, 255, 0.35); }

/* Details */
.pd-section-details { padding-top: 16px; padding-bottom: 70px; border-top: 1px solid #F1F5F9; margin-top: 40px; }
/* Details should look like a continuous long page (no card-like gaps) */
.pd-details-global { text-align: center; max-width: 800px; margin: 0 auto; }
.pd-details-title { font-size: 21px; font-weight: 800; color: #0F172A; margin-bottom: 16px; text-align: center; font-family: 'Montserrat', sans-serif; }
.pd-detail-img { width: 100%; max-width: 800px; height: auto; display: block; margin: 0 auto; border-radius: 0; }

@media (max-width: 768px) {
  .pd-detail-img { width: 100%; }
}

.pd-details-empty { text-align: center; color: #94A3B8; padding: 40px; background: #fff; }

.pd-split-layout { display: flex; flex-direction: column; gap: 40px; }

@media (min-width: 1024px) {
  .pd-split-layout {
    display: grid;
    /* Make the gallery a bit wider, and pull the right column closer */
    grid-template-columns: minmax(0, 740px) 420px;
    gap: 46px;
    align-items: start; 
  }
  .pd-right-col { margin-top: 0; }
  .pd-info-sticky { position: sticky; top: 110px; }
}

/* ========================================================
   CONTACT LAYOUT
   ======================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  margin-top: 40px;
}

.contact-info-panel {
  background: #0F172A;
  color: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info-panel h2 { font-family: 'Montserrat', sans-serif; font-size: 28px; margin-bottom: 30px; color: #FFC300; }
.contact-info-panel p { opacity: 0.9; margin-bottom: 24px; font-size: 15px; line-height: 1.8; }
.contact-info-panel strong { color: #FFC300; display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

.contact-form-panel {
  padding: 50px 40px;
}
.contact-form-panel h2 { font-family: 'Montserrat', sans-serif; font-size: 28px; margin-bottom: 10px; color: #0F172A; }
.contact-form-panel .sub-text { margin-bottom: 30px; color: #64748B; font-size: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

.form-group label { display: block; font-weight: 700; font-size: 13px; color: #334155; margin-bottom: 8px; }
.form-group label span { color: #EF4444; margin-left: 4px; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: 0.2s;
  background: #F8FAFC;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #007AFF;
  outline: none;
  background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  background: #007AFF;
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-submit:hover { background: #005BB5; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2); }

@media (max-width: 800px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   HOME: HOW WE WORK (Wide, White BG, No Gap)
   - Scoped to .page-home so Products/About/Contact/Product Details keep old layout
   ========================================================== */

/* 1) Full-width pure white background */
.page-home .how-we-work-section{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 150px; /* +30px for more space before footer */
  margin-bottom: -2px; /* pull footer up to remove any seam */
  z-index: 1;
}

/* 2) Inner layout width (wider than normal so it doesn't feel cramped) */
.page-home .how-we-work-section .section-head,
.page-home .how-we-work-section .flow-chart-wrapper{
  width: 90%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-home .how-we-work-section .section-head{
  margin-bottom: 0; /* keep head tight; spacing handled by wrapper margin-top */
}

.page-home .how-we-work-section .section-head h2{
  color: #2C3E50;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  text-transform: none;
}

/* 3) Flow layout */
.page-home .how-we-work-section .flow-chart-wrapper{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
}

/* 4) Yellow connecting line */
.page-home .how-we-work-section .flow-chart-wrapper::before{
  content: '';
  position: absolute;
  top: 40px;           /* center line through 80px circles */
  left: 50px;
  right: 50px;
  height: 4px;
  background-color: var(--accent-yellow);
  z-index: 0;
}

/* 5) Each step */
.page-home .how-we-work-section .flow-step{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  text-align: center;
}

/* 6) Icon circle */
.page-home .how-we-work-section .step-icon-box{
  width: 80px;
  height: 80px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 195, 0, 0.4);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.page-home .how-we-work-section .flow-step:hover .step-icon-box{
  transform: translateY(-5px);
}

/* 7) SVG size */
.page-home .how-we-work-section .step-icon-box svg{
  width: 32px;
  height: 32px;
  stroke: #0F172A;
  stroke-width: 2;
}

/* 8) Text */
.page-home .how-we-work-section .step-content h3{
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2C3E50;
  margin: 0;
  line-height: 1.5;
}

/* 9) Footer seam fix ONLY on Home */
.page-home .footer{
  margin-top: 0 !important;
}

/* Responsive */
@media (max-width: 1024px){
  .page-home .how-we-work-section .flow-chart-wrapper{
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .page-home .how-we-work-section .flow-chart-wrapper::before{
    display: none;
  }
  .page-home .how-we-work-section{
    padding-bottom: 100px;
  }
}

@media (max-width: 520px){
  .page-home .how-we-work-section .flow-step{
    width: 140px;
  }
}

/* Recommended Items (Product Detail) - 6 items, 3 per page */
.page-product-detail .pd-reco-section{
  padding-top: 56px;
  padding-bottom: 120px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}
.page-product-detail .footer{ margin-top: 0; }
.page-product-detail .pd-reco-head{ margin-bottom: 34px; }
.page-product-detail .pd-reco-head h2{ font-size: 32px; }

.page-product-detail .pd-reco-wrap{
  position: relative;
  padding: 0 56px;
}
.page-product-detail .pd-reco-viewport{
  overflow: hidden;
}
.page-product-detail .pd-reco-track{
  display: flex;
  gap: 24px;
  transition: transform 0.28s ease;
  will-change: transform;
}

.page-product-detail .pd-reco-track > .pd-reco-card{
  flex: 0 0 calc((100% - 48px) / 3);
}

.page-product-detail .pd-reco-card{
  flex: 0 0 calc((100% - 48px)/3);
}
.page-product-detail .pd-reco-card .offer-thumb{
  height: 280px;
  padding: 34px;
}

.page-product-detail .pd-reco-card .offer-thumb img{
  transform: scale(0.96) !important; /* unify visual size */
}
.page-product-detail .pd-reco-card:hover .offer-thumb img{
  transform: scale(1.0) !important;
}

.page-product-detail .pd-reco-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -32px; /* optical center align */
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;      /* use SVG, avoid font baseline offsets */
  line-height: 0;
  color: #0F172A;
  cursor: pointer;
  z-index: 2;
}
.page-product-detail .pd-reco-nav svg{
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-product-detail .pd-reco-prev{ left: 12px; }
.page-product-detail .pd-reco-next{ right: 12px; }

.page-product-detail .pd-reco-nav:disabled{
  opacity: 0.35;
  cursor: not-allowed;
}

/* Keep arrows inside container on smaller screens */
@media (max-width: 900px){
  .page-product-detail .pd-reco-prev{ left: 0; }
  .page-product-detail .pd-reco-next{ right: 0; }
  .page-product-detail .pd-reco-card{ flex-basis: calc((100% - 48px)/3); }
}

/* Contact – Company name (bigger & more premium) */
.page-contact .contact-info-panel .company-name{
  font-family: 'Manrope', 'Montserrat', 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: clamp(22px, 2.0vw, 28px) !important;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.15;
  margin: 26px 0 20px;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 420px){
  .page-contact .contact-info-panel .company-name{
    white-space: normal; /* prevent overflow on very small screens */
  }
}


/* =========================
   PRODUCTS GROUPING + MODEL
   ========================= */
.product-groups { display: block; }

.product-group { margin-bottom: 56px; }
.product-group-title{
  margin: 0 0 18px 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0F172A;
  font-family: 'Montserrat', sans-serif;
}
.product-group .offer-grid{ margin-top: 0; }

.offer-meta{
  padding: 14px 18px;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}
.offer-meta .offer-name{
  padding: 0;
  border-top: 0;
}
.offer-model{
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.offer-card.boost-image .offer-thumb img{
  transform: scale(1.18);
}

/* wide image visual fix (hf-01 etc.) */
.offer-thumb img.is-wide{
  transform: scale(1.10);
}

/* tall image visual fix */
.offer-thumb img.is-tall{
  transform: scale(1.12);
}

/* hf-01 cover is not square: tighten padding + stronger scale so it doesn't look "too small" */
.offer-card.boost-hf01 .offer-thumb{
  padding: 8px;
}
.offer-card.boost-hf01 .offer-thumb img{
  transform: scale(1.55);
}

/* If hf-01 cover is extra wide/tall, keep the same stronger boost */
.offer-card.boost-hf01 .offer-thumb img.is-wide,
.offer-card.boost-hf01 .offer-thumb img.is-tall{
  transform: scale(1.55);
}

/* =========================================
   [NEW ADDED SECTIONS] - ADDED AT THE END
   Only adding NEW classes, NOT overwriting
   ========================================= */

/* 1. Why Partner Styles */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.value-item { padding: 40px 20px; background: #F8FAFC; border-radius: 16px; transition: transform 0.3s; height: 100%; }
.value-item:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.value-icon { font-size: 40px; margin-bottom: 20px; display: inline-block; }
.value-item h3 { font-size: 18px; font-weight: 700; color: #0F172A; margin-bottom: 12px; }
.value-item p { font-size: 14px; color: #64748B; line-height: 1.6; }

/* 2. Testimonials Styles */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testi-card { background: white; padding: 30px; border-radius: 16px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid #F1F5F9; display: flex; flex-direction: column; }
.testi-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: #F1F5F9; flex-shrink: 0; display:flex; align-items:center; justify-content:center; }
.testi-avatar svg { width: 32px; height: 32px; fill: #94A3B8; }
.testi-info { display: flex; flex-direction: column; }
.testi-name { font-weight: 800; color: #0F172A; font-size: 16px; line-height: 1.2; }
.testi-role { font-size: 12px; color: #64748B; font-weight: 600; margin-top: 2px; }
.testi-text { font-style: italic; color: #475569; font-size: 14px; line-height: 1.6; }

/* 3. Product Spotlight Banner Styles */
/* Scheme B base: darker tech canvas + neon glow, bigger subject */
.spotlight-banner {
  background:
    radial-gradient(1100px circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(900px circle at 100% 10%, rgba(168, 85, 247, 0.16), transparent 55%),
    #0B1220;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  color: white;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  margin-top: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.spotlight-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 10px);
  opacity: 0.35;
  pointer-events: none;
}
.spotlight-content { flex: 1; position: relative; z-index: 2; text-align: left; }
.spotlight-tag { background: var(--accent-yellow); color: #000; padding: 5px 12px; border-radius: 4px; font-weight: 800; font-size: 12px; margin-bottom: 20px; display: inline-block; letter-spacing: 1px; }
.spotlight-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; color: white; line-height: 1.2; }
.spotlight-content p { color: #CBD5E1; margin-bottom: 30px; font-size: 16px; max-width: 95%; line-height: 1.8; }
.spotlight-img {
  flex: 0.92;
  height: 340px;
  /* Add breathing room so the media isn't stuck to the banner edges */
  padding: 14px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* The media wrapper gives us a consistent glow + lets us enlarge the subject */
.spotlight-media {
  position: relative;
  width: min(460px, 100%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Rectangular frame crop */
  border-radius: 22px;
  /* Keep the glow visible outside the frame */
  overflow: visible;
}
.spotlight-media::before {
  content: "";
  position: absolute;
  inset: -14%;
  background:
    radial-gradient(circle at 35% 35%, rgba(56, 189, 248, 0.30), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.24), transparent 60%);
  filter: blur(18px);
  opacity: 0.95;
  z-index: 0;
}
.spotlight-media::after {
  content: "";
  position: absolute;
  inset: 10% 12% 12% 10%;
  border-radius: 22px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: 0;
}

.spotlight-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  /* Crop square source images into a clean rectangle */
  object-fit: cover;
  border-radius: 22px;
  transform: none;
  transition: none;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,0.45));
  mix-blend-mode: normal;
}
/* Keep static on hover */
.spotlight-banner:hover .spotlight-img img { transform: none; }
.btn-spotlight { background: white; color: #0F172A; padding: 14px 32px; border-radius: 30px; font-weight: 700; display: inline-block; transition: all 0.2s; }
.btn-spotlight:hover { background: var(--accent-yellow); transform: translateX(5px); }

.secondary-banner {
  background:
    radial-gradient(900px circle at 100% 0%, rgba(56, 189, 248, 0.10), transparent 60%),
    #F1F5F9;
  flex-direction: row-reverse;
  /* pull the right media a little closer (less "stuck" to the edge) */
  padding-right: 42px;
  padding-left: 46px;
  gap: 38px;
}
.secondary-banner::after { background: none; }
.secondary-banner .spotlight-img { flex: 0.88; }
.secondary-banner .spotlight-media::before {
  background:
    radial-gradient(circle at 35% 35%, rgba(2, 132, 199, 0.20), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(37, 99, 235, 0.16), transparent 60%);
}
.secondary-banner .spotlight-img img {
  /* Slightly bigger subject as requested */
  transform: scale(1.06);
}
.secondary-banner:hover .spotlight-img img { transform: scale(1.06); }
.secondary-banner .spotlight-content h2 { color: #0F172A; }
.secondary-banner .spotlight-content p { color: #475569; }
.secondary-banner .dark-btn { background: #0F172A; color: white; }
.secondary-banner .dark-btn:hover { background: #334155; }

/* 4. Contact Hero Styles */
.contact-hero-image { position: relative; width: 100%; height: 350px; overflow: hidden; }
.contact-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.8) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; }
.contact-overlay h1 { font-size: 48px; font-weight: 900; margin-bottom: 10px; font-family: 'Montserrat', sans-serif; }
.contact-overlay p { font-size: 18px; font-weight: 500; opacity: 0.9; }

@media (max-width: 900px) {
  .values-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .spotlight-banner { flex-direction: column-reverse; padding: 30px; text-align: center; }
  .spotlight-content p { margin: 0 auto 20px; }
  .spotlight-img { height: 220px; margin-bottom: 20px; }
  .contact-hero-image { height: 250px; }
  .contact-overlay h1 { font-size: 32px; }
}