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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html.lang-pending body {
  visibility: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Variables ===== */
:root {
  --syg-red: #b3242b;
  --syg-red-dark: #8b1c22;
  --syg-black: #1a1a1a;
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --border-color: #e8e8e8;
  --border-dark: #d0d0d0;
  --bg-light: #f8f9fa;
  --nav-height: 64px;
  --max-width: 1200px;
}

/* ===== Layout ===== */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .page-container {
    padding: 0 20px;
  }
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--syg-red);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: var(--syg-red-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 24px;
  font-size: 14px;
  transition: background 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-outline-red {
  display: inline-block;
  background: transparent;
  color: var(--syg-red);
  border: 1px solid var(--syg-red);
  padding: 10px 24px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.btn-outline-red:hover {
  background: var(--syg-red);
  color: #fff;
}

/* ===== Tab Buttons ===== */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 13px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-primary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tab-btn {
    padding: 12px 32px;
    font-size: 14px;
  }
}

.tab-btn:hover {
  border-color: var(--syg-red);
  color: var(--syg-red);
}

.tab-btn.active {
  background: var(--syg-red);
  border-color: var(--syg-red);
  color: #fff;
}

/* ===== Tab Content ===== */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .page-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.logo img {
  margin-right: 6px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.logo .logo-black {
  color: var(--syg-black);
}

.logo .logo-red {
  color: var(--syg-red);
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-primary);
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--syg-red);
}

.nav-links a.active {
  color: var(--syg-red);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--syg-red);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 32px;
  }
}

/* Nav Right */
.nav-right {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-right {
    display: flex;
  }
}

.lang-switch {
  font-size: 15px;
  color: var(--text-muted);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s;
}

.lang-toggle:hover {
  color: var(--syg-red);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
}

.nav-icon:hover {
  color: var(--syg-red);
}

/* Mobile Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
}

.mobile-menu.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--syg-red);
}

.mobile-menu a.active {
  color: var(--syg-red);
}

/* ===== Page Title ===== */
.page-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 36px;
  }
}

/* ===== Section Spacing ===== */
.section-padding {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 80px 0;
  }
}

/* ===== Hero Grid ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 55% 45%;
    height: calc(100vh - var(--nav-height));
    min-height: 500px;
  }
}

.hero-grid-item {
  position: relative;
  overflow: hidden;
  height: 200px;
}

@media (min-width: 768px) {
  .hero-grid-item {
    height: 100%;
  }
}

.hero-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-grid-item:hover img {
  transform: scale(1.03);
}

/* Hero Overlay Content */
.hero-slogan {
  position: absolute;
  bottom: 24px;
  left: 20px;
  z-index: 10;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .hero-slogan {
    bottom: 40px;
    left: 40px;
    font-size: 28px;
  }
}

.hero-cta {
  position: absolute;
  bottom: 24px;
  right: 20px;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-cta {
    bottom: 40px;
    right: 40px;
  }
}

/* ===== Stats Overview Section ===== */
.stats-overview {
  background: #fff;
  padding: 48px 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.stats-item {
  text-align: center;
}

.stats-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.stats-number {
  color: #ff1f1f;
  font-size: 42px;
  font-weight: 300;
}

.stats-unit {
  color: #8f8f8f;
  font-size: 34px;
  font-weight: 300;
  margin-left: 4px;
}

.stats-item p {
  margin-top: 18px;
  color: #8f8f8f;
  font-size: 15px;
  line-height: 1.4;
}

.stats-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 44px;
  padding: 0 28px;
  border: 2px solid #7690c5;
  border-radius: 999px;
  color: #264f9c;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 0 3px rgba(118, 144, 197, 0.18);
  transition: all 0.3s ease;
}

.stats-btn:hover {
  background: #264f9c;
  border-color: #264f9c;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(38, 79, 156, 0.16);
}

@media (min-width: 768px) {
  .stats-overview {
    padding: 56px 0 40px;
  }

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

  .stats-number {
    font-size: 50px;
  }

  .stats-unit {
    font-size: 40px;
  }

  .stats-item p {
    font-size: 16px;
  }
}

/* ===== 大沣展示 Home Replica ===== */
.home-page {
  background: #fff;
  color: #222;
}

.home-page .page-container {
  max-width: 1280px;
  margin-bottom: 0;
}

.sy-home-nav {
  height: var(--nav-height);
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sy-home-nav .page-container {
  max-width: var(--max-width);
  height: var(--nav-height);
}

.sy-logo,
.home-page .navbar .logo {
  font-size: 24px;
  letter-spacing: 0;
}

.home-page .nav-links {
  gap: 34px;
}

.home-page .nav-links a {
  font-size: 15px;
  color: #2a2a2a;
}

.sy-hero {
  position: relative;
  display: block;
  margin-top: 72px;
  height: calc(100vh - 72px);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #111;
}

.sy-hero-slider,
.sy-hero-slide {
  position: absolute;
  inset: 0;
}

.sy-hero-slide {
  opacity: 0;
  transition: opacity 0.72s ease;
}

.sy-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.sy-hero-slide img,
.sy-business-media img,
.sy-project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.sy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0.06) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 44%, rgba(0, 0, 0, 0.16) 100%);
  pointer-events: none;
}

.sy-project-grid article:hover img,
.sy-business-item:hover img {
  transform: scale(1.045);
}

.sy-hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, calc(100% - 96px));
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.sy-hero-copy h1,
.sy-hero-copy p {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.sy-hero.is-copy-changing .sy-hero-copy h1,
.sy-hero.is-copy-changing .sy-hero-copy p {
  animation: heroCopyIn 0.52s ease both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sy-hero-copy h1 {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(36px, 3.9vw, 58px);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: 0;
  font-weight: 900;
}

.sy-hero-copy p {
  max-width: 1100px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(26px, 1.15vw, 19px);
  line-height: 1.75;
  font-weight: 300;
  white-space: normal;
  font-weight: 600;
}

.sy-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 62px;
  height: 62px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.78);
}

.sy-hero-prev {
  left: clamp(38px, 7vw, 136px);
}

.sy-hero-next {
  right: clamp(38px, 7vw, 136px);
}

.sy-hero-arrow span {
  display: block;
  width: 30px;
  height: 30px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sy-hero-prev span {
  transform: rotate(-45deg);
}

.sy-hero-next span {
  margin-left: auto;
  transform: rotate(135deg);
}

.sy-hero-arrow:hover {
  color: #fff;
}

.sy-hero-prev:hover span {
  transform: translateX(-4px) rotate(-45deg);
}

.sy-hero-next:hover span {
  transform: translateX(4px) rotate(135deg);
}

.sy-business {
  padding: 52px 0 0;
  background: #fff;
}

.sy-business-inner {
  display: grid;
  grid-template-columns: minmax(620px, 57.3vw) minmax(350px, 400px);
  column-gap: clamp(76px, 12vw, 228px);
  align-items: start;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(28px, 2.1vw, 40px);
}

.sy-business-rail {
  position: sticky;
  top: 92px;
  grid-column: 1;
  grid-row: 1 / span 6;
  height: calc(100vh - 114px);
  min-height: 650px;
  overflow: hidden;
  align-self: start;
  background: #f2f2f2;
}

.sy-business-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.sy-business-track img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  will-change: transform, opacity;
}

.sy-business-item {
  grid-column: 2;
  display: block;
  min-height: calc(100vh - 72px);
  padding: 67px 0 72px;
  border-top: 0;
}

.sy-business-item:last-child {
  border-bottom: 0;
}

.sy-business-item:nth-child(even) {
  grid-template-columns: none;
}

.sy-business-item:nth-child(even) .sy-business-media {
  order: 0;
}

.sy-business-media {
  display: none;
  overflow: hidden;
  height: 750px;
  min-height: 750px;
}

.sy-business-text {
  display: block;
  padding: 0;
}

.sy-business-text span,
.sy-eyebrow {
  color: #c31920;
  font-size: 15px;
  letter-spacing: 0;
}

.sy-business-text > span {
  display: inline-block;
  color: #a51e26;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.sy-business-text h2,
.sy-about h2,
.sy-section-head h2 {
  margin-top: 12px;
  color: #222;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
}

.sy-business-text h2 {
  display: inline-block;
  margin: 0 0 0 23px;
  font-size: 30px;
  font-weight: 500;
  vertical-align: middle;
}

.sy-business-text p {
  max-width: 398px;
  margin-top: 44px;
  color: #1f1f1f;
  font-size: 16px;
  line-height: 2.05;
  text-align: justify;
}

.sy-case-links {
  display: grid;
  gap: 29px;
  margin-top: 61px;
}

.sy-case-links a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #333;
  font-size: 14px;
  transition: color 0.25s ease;
}

.sy-case-links a::before {
  content: none;
}

.sy-case-links img {
  width: 160px;
  height: 106px;
  object-fit: cover;
}

.sy-case-links span {
  display: grid;
  gap: 12px;
  color: #333;
}

.sy-case-links strong {
  color: #3d3d3d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.sy-case-links em {
  color: #333;
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
}

.sy-case-links a:hover {
  color: #c31920;
}

.sy-case-links a:hover strong,
.sy-case-links a:hover em {
  color: #c31920;
}

.sy-about {
  position: relative;
  padding: 0 0 0;
  background: #fff;
  margin-top: 104px;
}

.sy-about .page-container {
  max-width: 1080px;
}

.sy-about::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 78.4%;
  height: 100%;
  background: #f6f6f6;
}

.sy-about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 41% 39% 20%;
  grid-template-rows: auto auto;
  min-height: 674px;
  padding-top: 0;
  z-index: 1;
}

.sy-about-title {
  grid-column: 1;
  padding-top: 0;
}

.sy-about-title h2 {
  margin: 0;
  color: #222;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.sy-about-title span {
  display: block;
  width: 128px;
  height: 2px;
  margin-top: 41px;
  background: #222;
}

.sy-about-copy {
  grid-column: 2 / 4;
  max-width: 690px;
  padding-left: 8px;
}

.sy-about-copy h3 {
  margin: 0 0 27px;
  color: #3a3a3a;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.22;
}

.sy-about-copy p {
  margin: 0;
  color: #505050;
  font-size: 18px;
  line-height: 1.45;
}

.sy-about-more {
  grid-column: 3;
  justify-self: end;
  align-self: start;
  margin-top: 95px;
  color: #555;
  font-size: 14px;
  line-height: 1.3;
  border-bottom: 1px solid #bdbdbd;
  padding-bottom: 5px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sy-about-more:hover {
  color: #c31920;
  border-color: #c31920;
}

.sy-about-gallery {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 54px;
  align-items: start;
  position: relative;
  width: 100%;
  height: 392px;
  margin-top: 74px;
}

.sy-about-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd;
}

.sy-about-card-left {
  left: auto;
  width: 100%;
  height: 325px;
}

.sy-about-card-right {
  left: auto;
  right: auto;
  top: 35px;
  width: 100%;
  height: 343px;
}

.sy-about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.sy-about-card::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.sy-about-card span {
  position: absolute;
  right: 35px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.sy-about-card:hover img {
  transform: scale(1.035);
}

.sy-partners {
  position: relative;
  overflow: hidden;
  padding: 72px 0 70px;
  background: #fff;
}

.sy-partners .page-container {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.sy-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 164px);
  justify-content: center;
  gap: 16px 20px;
  padding: 6px 92px 44px 0;
}

.sy-partner-item {
  --offset-x: 0px;
  --partner-border: #c8d7ef;
  --partner-bg: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 142px;
  padding: 16px 18px;
  background: var(--partner-border);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  color: #1f5d86;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transform: translateX(var(--offset-x));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sy-partner-item::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 0;
  background: var(--partner-bg);
  clip-path: inherit;
}

.sy-partner-item:nth-child(n + 6):nth-child(-n + 10),
.sy-partner-item:nth-child(n + 16):nth-child(-n + 20) {
  --offset-x: 92px;
}

.sy-partner-item:hover {
  filter: drop-shadow(0 14px 18px rgba(70, 103, 148, 0.14));
  transform: translateX(var(--offset-x)) translateY(-5px) scale(1.04);
}

.sy-partner-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 132px;
  max-height: 114px;
  object-fit: contain;
}

.sy-partner-item:first-child img,
.sy-partner-item:nth-child(6) img {
  max-width: 132px;
  max-height: 114px;
}

.sy-partners h2 {
  margin-top: 0;
  color: #1f5d86;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.sy-section-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 42px;
  border: 1px solid #c31920;
  color: #c31920;
  font-size: 14px;
  transition: all 0.25s ease;
}

.sy-section-head a:hover {
  background: #c31920;
  color: #fff;
}

.sy-project-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.sy-project-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 42px;
  border: 1px solid #c31920;
  color: #c31920;
  font-size: 14px;
  transition: all 0.25s ease;
}

.sy-project-more a:hover {
  background: #c31920;
  color: #fff;
}

.sy-projects,
.sy-news {
  padding: 94px 0;
  background: #fff;
}

.sy-projects .page-container {
  max-width: none;
  padding: 0;
}

.sy-projects .sy-section-head {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}

.sy-news {
  border-top: 1px solid #eee;
}

.sy-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}

.sy-section-head h2 {
  margin-top: 0;
}

.sy-project-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.sy-project-carousel.is-dragging {
  cursor: grabbing;
}

.sy-project-grid {
  display: flex;
  gap: 20px;
  background: transparent;
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sy-project-grid article {
  position: relative;
  flex: 0 0 calc((100vw - 60px) / 4);
  overflow: hidden;
  background: transparent;
}

.sy-project-grid article img {
  width: 100%;
  height: 383px;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.sy-project-grid article:hover img {
  transform: scale(1.035);
}

.sy-project-grid p,
.sy-project-grid h3 {
  position: static;
  color: #4a4a4a;
}

.sy-project-grid p {
  display: none;
}

.sy-project-grid h3 {
  min-height: 44px;
  margin: 0;
  padding: 10px 18px 8px 20px;
  border-left: 1px solid #333;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.sy-project-grid article::after {
  content: none;
}

.sy-project-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
}

.sy-project-list a {
  padding: 20px 22px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  color: #555;
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.sy-project-list a:hover {
  background: #fafafa;
  color: #c31920;
}

.sy-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
}

.sy-news-grid a {
  display: grid;
  gap: 16px;
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  color: #2d2d2d;
  font-size: 17px;
  line-height: 1.55;
  transition: background 0.25s ease, color 0.25s ease;
}

.sy-news-grid a:hover {
  background: #c31920;
  color: #fff;
}

.sy-news-grid time,
.sy-news-grid span {
  color: #9b9b9b;
  font-size: 13px;
  transition: color 0.25s ease;
}

.sy-news-grid a:hover time,
.sy-news-grid a:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.sy-footer {
  padding: 54px 0 34px;
  background: #242424;
  color: rgba(255, 255, 255, 0.74);
}

.sy-footer .logo .logo-black,
.sy-footer .logo .logo-red {
  color: #fff;
}

.sy-footer-top,
.sy-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.sy-footer-top {
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sy-footer-top p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  text-align: right;
}

.sy-footer-bottom {
  align-items: center;
  padding-top: 28px;
}

.sy-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.sy-footer-bottom a,
.sy-footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

@media (max-width: 1023px) {
  .sy-hero {
    height: 620px;
    min-height: 620px;
  }

  .sy-hero-copy p {
    white-space: normal;
  }

  .sy-business-inner {
    display: block;
    padding: 0;
  }

  .sy-business-rail {
    display: none;
  }

  .sy-business-item,
  .sy-business-item:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .sy-business-item:nth-child(even) .sy-business-media {
    order: 0;
  }

  .sy-business-media {
    display: block;
    height: 330px;
    min-height: 330px;
  }

  .sy-business-text {
    padding: 40px 28px 56px;
  }

  .sy-split,
  .sy-news-grid {
    grid-template-columns: 1fr;
  }

  .sy-about::before {
    width: 100%;
    height: 100%;
  }

  .sy-about-inner {
    display: block;
    min-height: 0;
    padding-top: 64px;
  }

  .sy-about-copy {
    max-width: none;
    padding-left: 0;
    margin-top: 42px;
  }

  .sy-about-more {
    display: inline-block;
    margin-top: 34px;
  }

  .sy-about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: auto;
    margin-top: 72px;
  }

  .sy-about-card,
  .sy-about-card-left,
  .sy-about-card-right {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 300px;
  }

  .sy-partners {
    padding: 64px 0 58px;
  }

  .sy-partners-grid {
    grid-template-columns: repeat(4, 142px);
    gap: 14px 18px;
    padding: 4px 80px 36px 0;
  }

  .sy-partner-item {
    --offset-x: 0px;
    width: 142px;
    height: 124px;
    padding: 14px 16px;
  }

  .sy-partner-item:nth-child(n + 5):nth-child(-n + 8),
  .sy-partner-item:nth-child(n + 13):nth-child(-n + 16),
  .sy-partner-item:nth-child(n + 21):nth-child(-n + 24) {
    --offset-x: 80px;
  }

  .sy-partner-item img {
    max-width: 114px;
    max-height: 99px;
  }

  .sy-project-grid article {
    flex-basis: calc((100vw - 20px) / 2);
  }

  .sy-project-grid article img {
    height: 320px;
  }

  .sy-project-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .sy-home-nav,
  .sy-home-nav .page-container {
    height: 64px;
  }

  .sy-hero {
    margin-top: 64px;
    height: 520px;
    min-height: 520px;
  }

  .sy-hero-copy {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    transform: translate(-50%, -50%);
  }

  .sy-hero-copy h1 {
    font-size: 34px;
  }

  .sy-hero-copy p {
    font-size: 16px;
    line-height: 1.8;
  }

  .sy-hero-arrow {
    width: 44px;
    height: 44px;
  }

  .sy-hero-prev {
    left: 18px;
  }

  .sy-hero-next {
    right: 18px;
  }

  .sy-hero-arrow span {
    width: 22px;
    height: 22px;
  }

  .sy-business,
  .sy-about,
  .sy-projects,
  .sy-news {
    padding: 56px 0;
  }

  .sy-about {
    padding: 0 0 56px;
    margin-top: 20px;
  }

  .sy-about-inner {
    padding-top: 48px;
  }

  .sy-about-title h2 {
    font-size: 30px;
  }

  .sy-about-title span {
    width: 92px;
    margin-top: 24px;
  }

  .sy-about-copy h3 {
    font-size: 25px;
  }

  .sy-about-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 46px;
  }

  .sy-about-card,
  .sy-about-card-left,
  .sy-about-card-right {
    height: 240px;
  }

  .sy-partners {
    padding: 44px 0 42px;
  }

  .sy-partners-grid {
    --partner-mobile-size: clamp(98px, 30vw, 116px);
    grid-template-columns: repeat(6, calc(var(--partner-mobile-size) / 2));
    justify-content: center;
    gap: 8px 0;
    width: 100%;
    padding: 0 0 26px;
  }

  .sy-partners-grid .sy-partner-item,
  .sy-partners-grid .sy-partner-item:nth-child(n),
  .sy-partners-grid .sy-partner-item:nth-child(n + 5):nth-child(-n + 8),
  .sy-partners-grid .sy-partner-item:nth-child(n + 13):nth-child(-n + 16),
  .sy-partners-grid .sy-partner-item:nth-child(n + 21):nth-child(-n + 24) {
    --offset-x: 0px;
    width: var(--partner-mobile-size);
    height: calc(var(--partner-mobile-size) * 0.86);
    padding: 10px 12px;
    font-size: 13px;
  }

  .sy-partners-grid .sy-partner-item:nth-child(5n + 1) {
    grid-column: 1 / span 2;
  }

  .sy-partners-grid .sy-partner-item:nth-child(5n + 2) {
    grid-column: 3 / span 2;
  }

  .sy-partners-grid .sy-partner-item:nth-child(5n + 3) {
    grid-column: 5 / span 2;
  }

  .sy-partners-grid .sy-partner-item:nth-child(5n + 4) {
    grid-column: 2 / span 2;
  }

  .sy-partners-grid .sy-partner-item:nth-child(5n + 5) {
    grid-column: 4 / span 2;
  }

  .sy-partners-grid .sy-partner-item img,
  .sy-partners-grid .sy-partner-item:first-child img,
  .sy-partners-grid .sy-partner-item:nth-child(6) img {
    max-width: calc(var(--partner-mobile-size) * 0.8);
    max-height: calc(var(--partner-mobile-size) * 0.69);
  }

  .sy-partners h2 {
    font-size: 24px;
  }

  .sy-business-text {
    padding: 32px 20px 42px;
  }

  .sy-business-media {
    display: block;
    height: 250px;
    min-height: 250px;
  }

  .sy-section-head,
  .sy-footer-top,
  .sy-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .sy-project-list {
    grid-template-columns: 1fr;
  }

  .sy-project-grid article {
    flex-basis: 82vw;
  }

  .sy-project-grid article img {
    height: 260px;
  }

  .sy-project-grid h3 {
    min-height: 40px;
    padding: 9px 14px 7px 16px;
    font-size: 16px;
  }

  .sy-footer-top p {
    text-align: left;
  }
}

/* ===== Business Intro Section ===== */
.business-intro {
  background: #fff;
}

.business-intro .number {
  font-size: 48px;
  font-weight: 300;
  color: var(--syg-red);
  line-height: 1;
}

@media (min-width: 768px) {
  .business-intro .number {
    font-size: 60px;
  }
}

.business-intro h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-top: 16px;
}

.business-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
  /* max-width: 800px; */
}

/* ===== About Page ===== */
.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-hero-text h1 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.4;
}

.about-hero-text h1.red {
  color: var(--syg-red);
}

@media (min-width: 768px) {
  .about-hero-text h1 {
    font-size: 32px;
  }
}

.about-since {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .about-since {
    margin-top: 0;
  }
}

.about-since .since-text {
  font-size: 40px;
  font-weight: 200;
  color: #e0e0e0;
  letter-spacing: 6px;
}

.about-since .since-year {
  font-size: 56px;
  font-weight: 600;
  color: var(--syg-red);
}

@media (min-width: 768px) {
  .about-since .since-text {
    font-size: 60px;
    letter-spacing: 8px;
  }
  .about-since .since-year {
    font-size: 72px;
  }
}

.about-hero-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-hero-img {
    height: 400px;
  }
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro {
  background: #fff;
}

.about-intro h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.about-intro .highlight-red {
  color: var(--syg-red);
  font-weight: 500;
}

.about-intro .highlight-dark {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== Business Page ===== */
.business-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .business-item {
    padding: 60px 0;
    flex-direction: row;
    gap: 48px;
  }

  .business-item.reverse {
    flex-direction: row-reverse;
  }
}

.business-item .biz-image {
  width: 100%;
}

@media (min-width: 768px) {
  .business-item .biz-image {
    width: 50%;
    flex-shrink: 0;
  }
}

.business-item .biz-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .business-item .biz-image img {
    height: 320px;
  }
}

.business-item .biz-content {
  flex: 1;
}

.business-item .biz-number {
  font-size: 48px;
  font-weight: 300;
  color: var(--syg-red);
  line-height: 1;
}

@media (min-width: 768px) {
  .business-item .biz-number {
    font-size: 60px;
  }
}

.business-item h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-top: 16px;
}

.business-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
}

.business-item .btn-wrap {
  margin-top: 24px;
}

/* ===== Factory Page ===== */
.factory-title {
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .factory-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .equipment-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.equipment-item {
  text-align: center;
}

.equipment-item .eq-img {
  background: #fff;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.equipment-item .eq-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .equipment-item .eq-img img {
    height: 180px;
  }
}

.equipment-item p {
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 12px;
}

/* ===== Service Page ===== */
.service-sub-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.service-sub-tab {
  font-size: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-muted);
  transition: all 0.3s;
  cursor: pointer;
}

.service-sub-tab:hover {
  color: var(--text-primary);
}

.service-sub-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--syg-red);
}

.service-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .service-layout {
    flex-direction: row;
    gap: 48px;
  }
}

.service-layout .service-image {
  width: 100%;
}

@media (min-width: 768px) {
  .service-layout .service-image {
    width: 50%;
  }
}

.service-layout .service-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .service-layout .service-image img {
    height: 400px;
  }
}

.service-layout .service-text {
  flex: 1;
}

.service-layout .service-text .lead {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.6;
}

.service-layout .service-text .detail {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 24px;
}

/* ===== Products Page ===== */
.products-page {
  background: var(--bg-light);
  min-height: 100vh;
}

.products-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .products-layout {
    flex-direction: row;
    gap: 32px;
  }
}

/* Product Sidebar */
.product-sidebar {
  width: 100%;
}

@media (min-width: 768px) {
  .product-sidebar {
    width: 240px;
    flex-shrink: 0;
  }
}

.sidebar-inner {
  background: #fff;
  padding: 24px;
}

.sidebar-inner h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  text-align: left;
  color: var(--text-secondary);
  background: none;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.cat-item:hover {
  color: var(--text-primary);
}

.cat-item.active {
  color: var(--text-primary);
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  flex-shrink: 0;
  transition: all 0.2s;
}

.cat-item.active .cat-dot {
  background: var(--syg-red);
  border-color: var(--syg-red);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.product-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .product-card img {
    height: 200px;
  }
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card p {
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 12px;
}

/* ===== Contact Page ===== */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-layout {
    flex-direction: row;
    gap: 48px;
  }
}

.contact-map-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-map-wrap {
    width: 45%;
  }
}

.contact-map {
  position: relative;
  height: 280px;
  background: #f0f4f8;
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-map {
    height: 400px;
  }
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 10;
}

.map-pin-label {
  background: var(--syg-red);
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-pin-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--syg-red);
  margin: 0 auto;
}

.contact-info-wrap {
  flex: 1;
}

.contact-company {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--syg-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 24px 0;
}

/* Contact Form */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.form-row label {
  font-size: 14px;
  color: var(--text-primary);
  min-width: 80px;
}

.form-row .required {
  color: var(--syg-red);
}

.form-row input,
.form-row textarea {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--syg-red);
}

.form-row textarea {
  height: auto;
  min-height: 120px;
  padding: 12px;
  resize: none;
}

/* ===== Content spacing (for pages with fixed navbar) ===== */
.page-content {
  padding-top: var(--nav-height);
}


/* ===== Stats Overview Section ===== */
.stats-overview {
  background: #fff;
  padding: 48px 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.stats-item {
  text-align: center;
}

.stats-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.stats-number {
  color: #ff1f1f;
  font-size: 42px;
  font-weight: 300;
}

.stats-unit {
  color: #8f8f8f;
  font-size: 34px;
  font-weight: 300;
  margin-left: 4px;
}

.stats-item p {
  margin-top: 18px;
  color: #8f8f8f;
  font-size: 15px;
  line-height: 1.4;
}

.stats-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 44px;
  padding: 0 28px;
  border: 2px solid #7690c5;
  border-radius: 999px;
  color: #264f9c;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 0 3px rgba(118, 144, 197, 0.18);
  transition: all 0.3s ease;
}

.stats-btn:hover {
  background: #264f9c;
  border-color: #264f9c;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(38, 79, 156, 0.16);
}

@media (min-width: 768px) {
  .stats-overview {
    padding: 56px 0 40px;
  }

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

  .stats-number {
    font-size: 50px;
  }

  .stats-unit {
    font-size: 40px;
  }

  .stats-item p {
    font-size: 16px;
  }
}
