/* ============================
   徽之商企业管理 - 官网首页
   Brand Colors from PDF:
   Primary Blue: #2E7AE8
   Deep Blue:    #1E5BC6
   Light Blue:   #5BA0FF
   Red:          #E54545
   Orange:       #FF7B3E
   Teal:         #3DB8AC
============================= */

:root {
  --primary: #2E7AE8;
  --primary-deep: #1E5BC6;
  --primary-light: #5BA0FF;
  --primary-pale: #EAF2FE;
  --primary-bg: #F5F8FE;
  --red: #E54545;
  --red-light: #FFEAEA;
  --orange: #FF7B3E;
  --orange-light: #FFF1E8;
  --teal: #3DB8AC;
  --teal-light: #E4F8F5;
  --dark: #0F2D5C;
  --gray-900: #1A2238;
  --gray-700: #3D4A66;
  --gray-500: #6B7693;
  --gray-300: #B5BFD1;
  --gray-100: #EDF0F7;
  --gray-50:  #F7F9FC;
  --white: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(46,122,232,0.06);
  --shadow-md: 0 8px 24px rgba(46,122,232,0.08);
  --shadow-lg: 0 20px 60px rgba(46,122,232,0.12);
  --shadow-xl: 0 30px 80px rgba(46,122,232,0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --t: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--t); }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ============================ Navigation ============================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(46,122,232,0.06);
  transition: all .3s var(--t);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 4px 20px rgba(46,122,232,0.08);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { line-height: 1.1; }
.brand-name {
  font-size: 18px; font-weight: 700; color: var(--gray-900);
  letter-spacing: .5px;
}
.brand-pinyin {
  font-size: 10px; color: var(--gray-500);
  letter-spacing: 2px; margin-top: 2px; font-weight: 500;
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .2s var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-pale); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 50%; bottom: -2px;
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: translateX(-50%);
}
.nav-links .nav-cta {
  margin-left: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--primary-deep); transform: translateY(-1px); }
.nav-links .nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all .3s var(--t);
}

/* ============================ Hero ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #F5F8FE 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg svg {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
}
.hero-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,122,232,0.08);
  border: 1px solid rgba(46,122,232,0.15);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--primary-deep);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 28px;
}
.hero-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--gray-700);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46,122,232,0.3);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46,122,232,0.4);
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid rgba(46,122,232,0.2);
}
.btn-ghost:hover {
  background: var(--primary-pale);
  border-color: var(--primary);
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 36px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46,122,232,0.06);
  width: fit-content;
  max-width: 100%;
}
.stat { min-width: 80px; }
.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  animation: float 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================ Section Base ============================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  margin-bottom: 60px;
}
.section-header.center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-eyebrow.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================ About Section ============================ */
.section-about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}
.about-img-deco {
  position: absolute;
  top: -20px; left: -20px;
  width: 80%; height: 80%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  z-index: 1;
}
.about-floating-card {
  position: absolute;
  bottom: -32px; right: -16px;
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.afc-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 24px; font-weight: 700;
}
.afc-title { font-weight: 700; color: var(--gray-900); font-size: 15px; }
.afc-sub { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

.about-content { padding-left: 8px; }
.about-desc {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-desc strong { color: var(--primary); font-weight: 600; }
.about-features {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-title {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 15px;
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================ Brands Section ============================ */
.section-brands {
  background: var(--gray-50);
  position: relative;
}
.section-brands::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
  opacity: 0.3;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.brand-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--t);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46,122,232,0.06);
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--brand-color, var(--primary));
  opacity: 0;
  transition: opacity .35s var(--t);
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.brand-card:hover::before { opacity: 1; }

.brand-shangyi { --brand-color: var(--primary); }
.brand-jingwei { --brand-color: var(--teal); }
.brand-qinpei { --brand-color: var(--orange); }
.brand-sanli { --brand-color: var(--orange); }

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.brand-logo-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale);
  box-shadow: 0 4px 12px rgba(46,122,232,0.08);
}
.brand-logo-wrap.blue { background: var(--primary-pale); }
.brand-logo-wrap.medical { background: var(--teal-light); }
.brand-logo-wrap.qinpei { background: var(--orange-light); }
.brand-logo-wrap.sanli { background: var(--orange-light); }

.brand-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-pale);
  color: var(--primary);
}
.brand-tag.medical-tag { background: var(--teal-light); color: var(--teal); }
.brand-tag.qinpei-tag { background: var(--orange-light); color: var(--orange); }
.brand-tag.sanli-tag { background: var(--orange-light); color: var(--orange); }

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.brand-pinyin {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 16px;
}
.brand-desc {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 20px;
}
.brand-points {
  list-style: none;
  margin-bottom: 24px;
}
.brand-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.brand-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--brand-color, var(--primary));
  border-radius: 50%;
  opacity: 0.6;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap .2s var(--t);
}
.brand-link:hover { gap: 6px; color: var(--primary-deep); }

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

.business-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.business-showcase.reverse {
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}
.business-showcase.reverse > * { direction: ltr; }

.business-showcase-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.business-en {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.business-desc {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 32px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.business-grid.two-col { gap: 18px; }
.biz-item {
  background: var(--gray-50);
  border: 1px solid rgba(46,122,232,0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all .25s var(--t);
  position: relative;
  overflow: hidden;
}
.biz-item:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.biz-item.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-color: transparent;
}
.biz-item.highlight .biz-desc-sm { color: rgba(255,255,255,0.9); }
.biz-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}
.biz-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.biz-item.highlight .biz-title { color: #fff; }
.biz-en {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}
.biz-card { background: var(--gray-50); }
.biz-desc-sm {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
}

.business-showcase-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.business-showcase-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.img-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  box-shadow: var(--shadow-md);
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.st {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s var(--t);
}
.st:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================ Tech Section ============================ */
.section-tech {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tech-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.tech-bg svg { width: 100%; height: 100%; }
.section-tech .container { position: relative; z-index: 2; }

.tech-main {
  margin-top: 60px;
}
.tech-intro {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
}

.tech-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.flow-step {
  text-align: center;
  padding: 28px 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(91,160,255,0.15);
  border-radius: var(--radius-md);
  min-width: 140px;
  transition: all .3s var(--t);
}
.flow-step.active {
  background: rgba(91,160,255,0.15);
  border-color: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(46,122,232,0.3);
}
.flow-icon { color: var(--primary-light); margin-bottom: 12px; }
.flow-step.active .flow-icon { color: #fff; }
.flow-title { font-size: 22px; font-weight: 800; color: #fff; }
.flow-en {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-transform: uppercase;
}
.flow-arrow {
  font-size: 32px;
  color: var(--primary-light);
  opacity: 0.5;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(91,160,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all .3s var(--t);
  text-align: center;
}
.tech-feature:hover {
  background: rgba(91,160,255,0.12);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}
.tf-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.tf-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.tf-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ============================ Culture Section ============================ */
.section-culture { background: var(--gray-50); }

.culture-quote {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 800px;
  position: relative;
}
.cq-text {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.5;
  letter-spacing: -0.5px;
  position: relative;
}
.cq-mark {
  font-size: 80px;
  color: var(--primary-light);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
  vertical-align: -20px;
}
.cq-mark.end {
  vertical-align: -30px;
}
.cq-author {
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 1px;
}

.culture-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}
.pillar {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(46,122,232,0.06);
  transition: all .3s var(--t);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.pillar h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pillar p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

.culture-timeline {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46,122,232,0.06);
}
.timeline-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tl-item {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all .3s var(--t);
  text-align: center;
}
.tl-item:hover {
  background: var(--primary-pale);
  transform: translateY(-3px);
}
.tl-dot {
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 14px;
  position: relative;
}
.tl-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--primary-light);
  border-radius: 50%;
  opacity: 0.4;
}
.tl-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 15px;
  margin-bottom: 4px;
}
.tl-en {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}

/* ============================ Contact Section ============================ */
.section-contact {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.contact-bg svg { width: 100%; height: 100%; }
.section-contact .container { position: relative; z-index: 2; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin: 20px 0 32px;
  max-width: 460px;
}
.contact-items { display: grid; gap: 16px; }
.ci {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ci-title {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}
.ci-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.contact-form-wrap {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.cf-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field { margin-bottom: 16px; }
.cf-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--gray-900);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s var(--t);
  font-size: 14px;
}
.cf-field textarea { resize: vertical; min-height: 100px; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--primary-deep);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.contact-form .btn { width: 100%; padding: 16px; }

/* ============================ Footer ============================ */
.footer {
  background: #0A1F44;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name { color: #fff; }
.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 340px;
  color: rgba(255,255,255,0.6);
}
.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255,255,255,0.6);
  transition: color .2s var(--t);
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.fb-right { display: flex; align-items: center; gap: 8px; }
.dot-sep { color: rgba(255,255,255,0.3); }

/* ============================ Back to top ============================ */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--t);
  z-index: 50;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover {
  background: var(--primary-deep);
  transform: translateY(-3px);
}

/* ============================ Animations ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .about-grid,
  .business-showcase,
  .business-showcase.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .business-showcase.reverse { direction: ltr; }
  .brands-grid { grid-template-columns: 1fr; }
  .tech-features { grid-template-columns: repeat(2, 1fr); }
  .culture-pillars { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform .35s var(--t);
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: flex; }
  .nav-links .nav-cta { text-align: center; margin-left: 0; }
  .hero { padding-top: 100px; }
  .hero-stats { gap: 20px; padding: 20px; }
  .stat-num { font-size: 28px; }
  .about-img-wrap img { height: 380px; }
  .business-grid { grid-template-columns: 1fr; }
  .tech-features { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .culture-timeline { padding: 30px 20px; }
}