/* ===================================================
   佑昇鷹架企業有限公司 - 官網樣式
   深藍 + 淺灰 + 白色 專業工程企業風格
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --primary:       #0d2c52;
  --primary-dark:  #081d38;
  --primary-mid:   #1a4a7a;
  --accent:        #e8a020;
  --accent-dark:   #c8851a;
  --text-dark:     #1a1a2e;
  --text-mid:      #4a5568;
  --text-light:    #718096;
  --bg-light:      #f5f7fa;
  --bg-white:      #ffffff;
  --bg-section:    #eef2f7;
  --border:        #dde3ec;
  --line-green:    #06C755;
  --line-dark:     #04A644;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --header-h:      72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- Section Common ---- */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light .section-label,
.section-header.light h2,
.section-header.light .section-sub { color: white; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-line { background: var(--line-green); color: white; }
.btn-line:hover { background: var(--line-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-email { background: var(--primary); color: white; border: 2px solid var(--primary-mid); }
.btn-email:hover { background: var(--primary-mid); transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline-white { background: transparent; color: white; border: 2px solid white; }
.btn-outline-white:hover { background: white; color: var(--primary); transform: translateY(-2px); }

/* ---- Tags ---- */
.tag {
  display: inline-block;
  background: var(--bg-section);
  color: var(--text-mid);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  line-height: 1.6;
}
.tag-green { background: #e8f8ee; color: #1a7a3a; }
.tag-navy { background: #e8eef8; color: #1a3a7a; }

/* ===================================================
   HEADER
   =================================================== */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s;
}
#main-header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-link { flex-shrink: 0; }
.header-logo {
  height: 44px;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { color: white; background: rgba(255,255,255,0.12); }
.header-line-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--line-green);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}
.header-line-btn:hover { background: var(--line-dark); transform: translateY(-1px); }
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================================
   HERO
   =================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-mid) 70%, #1e5a9e 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(232,160,32,0.08) 0%, transparent 60%),
    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");
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-sub-h1 {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.hero-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ===================================================
   STATS
   =================================================== */
#stats {
  background: var(--primary);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.stat-item:last-child { border-right: none; }
.stat-value-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  height: 56px;           /* 固定數字列高度，確保每欄一致 */
  line-height: 1;
}
.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: inline-block;
}
.stat-unit {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-item p {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  margin-top: 10px;
  white-space: nowrap;
}

/* ===================================================
   ABOUT
   =================================================== */
#about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-label { text-align: left; }
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}
.about-text p { color: var(--text-mid); margin-bottom: 16px; font-size: 0.97rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.about-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}
.about-feat i { color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.about-feat span { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.about-image { position: relative; }

/* ---- About Slider ---- */
.about-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 440px;
  background: #000;
}
.about-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  margin: 0;
}
.about-slide.active { opacity: 1; }
.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 左下角文字敘述 */
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(8,29,56,0.82));
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 32px 16px 14px;
  letter-spacing: 0.03em;
}
/* 左右切換按鈕 */
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
  cursor: pointer;
}
.slider-btn:hover { background: rgba(255,255,255,0.38); }
.slider-btn--prev { left: 12px; }
.slider-btn--next { right: 12px; }
/* 指示點 */
.slider-dots {
  position: absolute;
  bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.slider-dot.active { background: white; transform: scale(1.3); }
.about-cert-badge {
  position: absolute;
  bottom: -20px; right: 24px;
  background: var(--accent);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-cert-badge i { font-size: 1.8rem; }
.about-cert-badge span { font-size: 0.82rem; font-weight: 700; line-height: 1.4; }

/* ===================================================
   SERVICES
   =================================================== */
#services { background: var(--bg-section); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { color: white; font-size: 1.5rem; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; }
.service-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===================================================
   ADVANTAGES
   =================================================== */
#advantages {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.advantage-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  text-align: center;
}
.advantage-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.adv-icon {
  width: 60px; height: 60px;
  background: rgba(232,160,32,0.2);
  border: 2px solid rgba(232,160,32,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.adv-icon i { color: var(--accent); font-size: 1.4rem; }
.advantage-item h3 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.advantage-item p { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.7; }
.advantages-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   PARTNERS
   =================================================== */
#partners { background: var(--bg-white); }
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.partner-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.partner-logo-wrap {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}
.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-info { flex: 1; }
.partner-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.partner-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.partner-info p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.partner-link:hover { background: var(--primary); color: white; }
.partner-link--no-url { color: var(--text-mid); border-color: var(--border); cursor: default; }
.partner-link--no-url:hover { background: var(--bg-section); color: var(--text-mid); }
.partners-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #e8f0f8, #f0f5fb);
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
}
.partners-note i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }

/* ===================================================
   REPAIR SECTION
   =================================================== */
#repair {
  background: var(--bg-section);
  padding: 80px 0;
}
.repair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.repair-text .section-label { text-align: left; }
.repair-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}
.repair-text p { color: var(--text-mid); margin-bottom: 24px; font-size: 0.97rem; line-height: 1.8; }
.repair-features { list-style: none; }
.repair-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.repair-features li:last-child { border-bottom: none; }
.repair-features i { color: var(--line-green); font-size: 1rem; flex-shrink: 0; }

/* Repair photo grid */
.repair-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.repair-photo-main {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.repair-photo-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}
.repair-photo-main:hover img { transform: scale(1.03); }
.repair-photo-sub {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.repair-photo-sub img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
}
.repair-photo-sub:hover img { transform: scale(1.03); }
figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(8,29,56,0.8));
  color: white;
  font-size: 0.78rem;
  padding: 20px 12px 10px;
  font-weight: 600;
}

/* ===================================================
   CASES
   =================================================== */
#cases { background: var(--bg-white); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card--blue   { border-top-color: #2563eb; }
.case-card--teal   { border-top-color: #0d9488; }
.case-card--orange { border-top-color: #ea580c; }
.case-card--purple { border-top-color: #7c3aed; }
.case-card--green  { border-top-color: #16a34a; }
.case-card--red    { border-top-color: #dc2626; }
.case-icon { font-size: 2rem; margin-bottom: 10px; }
.case-card--blue   .case-icon { color: #2563eb; }
.case-card--teal   .case-icon { color: #0d9488; }
.case-card--orange .case-icon { color: #ea580c; }
.case-card--purple .case-icon { color: #7c3aed; }
.case-card--green  .case-icon { color: #16a34a; }
.case-card--red    .case-icon { color: #dc2626; }
.case-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.case-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.case-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===================================================
   ARTICLES
   =================================================== */
#articles { background: var(--bg-section); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.article-cat {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.article-date {
  background: var(--bg-section);
  color: var(--text-mid);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.article-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.article-intro { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.article-content { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-content h4 { font-size: 0.92rem; font-weight: 700; color: var(--primary); margin: 16px 0 8px; }
.article-content p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }
.article-content .article-cta-text {
  background: #e8f0f8;
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.87rem;
}
.article-read-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 700;
  padding: 8px 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
  transition: var(--transition);
}
.article-read-btn:hover { color: var(--accent); }
.article-read-btn i { transition: transform 0.3s; }
.article-read-btn.open i { transform: rotate(180deg); }

/* ===================================================
   FAQ
   =================================================== */
#faq {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.faq-list { max-width: 800px; margin: 0 auto 48px; }
.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { background: rgba(255,255,255,0.09); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  color: white;
  font-size: 0.97rem;
  font-weight: 600;
  text-align: left;
  gap: 12px;
}
.faq-question i {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 20px;
  display: none;
}
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.8; }
.faq-answer strong { color: var(--accent); }
.faq-cta { text-align: center; }
.faq-cta p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 1rem; }
.faq-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   RECRUITMENT
   =================================================== */
#recruitment { background: var(--bg-section); }
.recruitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.job-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom-color: var(--primary); }
.job-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.job-icon i { color: white; font-size: 1.5rem; }
.job-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.job-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.job-requirements { text-align: left; }
.job-requirements li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 5px 0;
}
.job-requirements i { color: var(--line-green); font-size: 0.8rem; }
.recruitment-benefits {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: 40px;
}
.recruitment-benefits h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}
.benefit-item i { font-size: 1.4rem; color: var(--primary); }
.benefit-item span { font-size: 0.78rem; font-weight: 600; color: var(--text-dark); }
.recruitment-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   CONTACT
   =================================================== */
#contact {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.contact-logo {
  height: 48px;
  filter: brightness(0) invert(1);
}
.contact-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.contact-details { margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-item > i {
  font-size: 1rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-value {
  display: block;
  font-size: 0.95rem;
  color: white;
  font-weight: 500;
  margin-top: 2px;
}
.contact-value:hover { color: var(--accent); }
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.contact-form-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-section);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.required { color: #e53e3e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,44,82,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}
.form-note i { color: var(--accent); }

/* ===================================================
   FOOTER
   =================================================== */
#main-footer {
  background: var(--primary-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: white; }
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links ul li,
.footer-services ul li {
  font-size: 0.83rem;
  padding: 5px 0;
  color: rgba(255,255,255,0.65);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  padding: 6px 0;
  color: rgba(255,255,255,0.65);
}
.footer-contact i { color: var(--accent); width: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===================================================
   FLOATING CTA
   =================================================== */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(80px);
  transition: all 0.35s ease;
}
.floating-cta.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.float-btn-line { background: var(--line-green); }
.float-btn-line:hover { background: var(--line-dark); transform: scale(1.05); }
.float-btn-phone { background: var(--primary); }
.float-btn-phone:hover { background: var(--primary-mid); transform: scale(1.05); }
.float-btn i { font-size: 1.1rem; }

/* Back to top */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-size: 0.9rem;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--primary-mid); transform: translateY(-3px); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid, .repair-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 320px; }
  .services-grid, .cases-grid, .articles-grid, .recruitment-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  section { padding: 60px 0; }
  .main-nav, .header-line-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--primary-dark);
    padding: 20px 24px 32px;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; justify-content: flex-start; }
  .main-nav.open a { font-size: 1rem; padding: 10px 14px; display: block; }
  .services-grid, .cases-grid, .articles-grid, .recruitment-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-card { flex-direction: column; gap: 16px; }
  .partner-logo-wrap { width: 100px; height: 100px; }
  .repair-photo-grid { grid-template-columns: 1fr; }
  .repair-photo-main img { height: 240px; }
  .repair-photo-sub img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ===== Animation ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
