/* ============================================================
   SHANGRUI LOGISTICS - MAIN STYLESHEET
   ============================================================ */

:root {
  --primary: #0a4c8c;
  --primary-dark: #073a6b;
  --primary-light: #1a6db5;
  --accent: #e8a020;
  --accent-dark: #c8861a;
  --text-dark: #1a202c;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 6px 0;
  position: relative;
  z-index: 1001;
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar-inner span { display: flex; align-items: center; gap: 6px; }
.top-bar-inner .fa { color: var(--accent); }
.lang-switcher { margin-left: auto; display: flex; gap: 4px; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.78rem;
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255,255,255,0.97);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; border-radius: 6px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.logo-sub { font-size: 0.68rem; color: var(--text-light); letter-spacing: 0.5px; white-space: nowrap; }

.nav-menu { margin-left: auto; }
.nav-menu > ul { display: flex; align-items: center; gap: 4px; }
.nav-menu > ul > li { position: relative; }
.nav-menu > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu > ul > li > a:hover { background: var(--bg-light); color: var(--primary); }
.nav-menu > ul > li.has-dropdown:hover > a { color: var(--primary); }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  overflow: hidden;
  animation: dropDown 0.2s ease;
  border: 1px solid var(--border);
}
@keyframes dropDown { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.dropdown li a:hover { background: var(--bg-light); color: var(--primary); border-left-color: var(--primary); }
.dropdown li a .fa { width: 16px; color: var(--primary); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10,76,140,0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,76,140,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light .section-tag,
.section-header.light h2,
.section-header.light .section-desc { color: #fff !important; }
.section-header.light .section-tag { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.section-tag {
  display: inline-block;
  background: rgba(10,76,140,0.08);
  color: var(--primary);
  border: 1px solid rgba(10,76,140,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-desc { font-size: 1rem; color: var(--text-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("images/hero_bg.jpg") center 50% / cover no-repeat;
  overflow: hidden;
  padding: 100px 24px 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 20, 50, 0.65) 0%,
    rgba(2, 30, 70, 0.55) 50%,
    rgba(2, 15, 40, 0.75) 100%
  );
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2,27,58,0.5) 0%, transparent 40%, rgba(2,27,58,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-tag {
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: center;
  gap: 0;
  z-index: 1;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.8;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,76,140,0.06);
  color: var(--primary);
  border: 1px solid rgba(10,76,140,0.15);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.badge .fa { color: var(--accent); }
.about-images {
  display: grid;
  grid-template-rows: auto;
  gap: 0;
}
.about-img-main img {
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================================
   CULTURE
   ============================================================ */
.culture-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
}
.culture-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.culture-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.culture-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.culture-icon {
  width: 68px; height: 68px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(232,160,32,0.4);
}
.culture-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.culture-card p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--bg-light); }
.service-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
  border-radius: 4px 0 0 4px;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block.reverse::before { left: auto; right: 0; border-radius: 0 4px 4px 0; }
.service-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.service-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
}
.service-icon-wrap.sea { background: linear-gradient(135deg, #0575E6, #021B79); }
.service-icon-wrap.air { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.service-icon-wrap.inland { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.service-icon-wrap.warehouse { background: linear-gradient(135deg, #fa709a, #fee140); }
.service-icon-wrap.customs { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

.service-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-content p { color: var(--text-mid); margin-bottom: 16px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.service-list li {
  color: var(--text-mid);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-list li .fa { color: var(--primary); font-size: 0.75rem; }

.service-img {
  width: 260px;
  flex-shrink: 0;
}
.service-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 180px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.customs-quote {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(10,76,140,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.customs-quote p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 4px;
}

/* ============================================================
   ROUTES  (新设计：左侧公告列表 + 右侧GIF图)
   ============================================================ */
.routes-section { background: var(--bg-white); }

.routes-new-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  height: 445px;
}

/* 左栏：航线条目列表 */
.routes-advisory-list {
  background: #fff;
  border-right: 1px solid var(--border);
  height: 445px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.route-advisory-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  height: calc(445px / 11);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), border-left-color var(--transition);
  border-left: 4px solid transparent;
  box-sizing: border-box;
  white-space: nowrap;
}
.route-advisory-item:last-child { border-bottom: none; }

.route-advisory-item:hover {
  background: #f0f6ff;
  border-left-color: var(--primary-light);
}
.route-advisory-item.active {
  background: var(--primary);
  border-left-color: var(--accent);
}
.route-advisory-item.active .route-advisory-code { color: var(--accent); }
.route-advisory-item.active .route-advisory-name { color: rgba(255,255,255,0.92); }

.route-advisory-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  flex-shrink: 0;
  min-width: 34px;
}
.route-advisory-name {
  font-size: 0.78rem;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右栏：GIF展示 */
.routes-gif-panel {
  position: relative;
  background: #dce8f5;
  height: 445px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-gif-wrap {
  display: none;
  width: 100%;
  height: 445px;
}
.route-gif-wrap.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s ease;
}
.route-gif-wrap img {
  width: 100%;
  height: 445px;
  object-fit: contain;
  display: block;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-section { background: var(--bg-light); }

/* Slideshow */
.slideshow-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  background: #000;
}
.slideshow { position: relative; height: 420px; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.slide-btn:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.1); }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slide-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.slide-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Partners scroll */
.partners-scroll {
  overflow: hidden;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 0;
  border: 1px solid var(--border);
}
.partners-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollPartners 30s linear infinite;
  align-items: center;
  padding: 0 20px;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes scrollPartners {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-logo {
  flex-shrink: 0;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0.3);
  transition: var(--transition);
}
.partner-logo:hover { filter: none; transform: scale(1.08); }
.partner-logo img { max-width: 100%; max-height: 50px; object-fit: contain; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg-white); }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.offices-three {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}
.office-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.office-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.office-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.office-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.office-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.office-addr {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.office-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.office-contact a { color: var(--primary-light); }
.office-contact .fa { width: 14px; color: var(--accent); margin-right: 4px; }

/* Contact Form */
.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,76,140,0.1);
}
.contact-form textarea { display: block; margin-bottom: 20px; resize: vertical; }
.contact-form .btn-primary { width: 100%; justify-content: center; font-size: 1rem; padding: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img {
  height: 40px;
  border-radius: 6px;
}
/* Logo 纯白色处理：新Logo本身为白色，无需filter */
.footer-logo-white .footer-logo-img {
  filter: none;
}
.footer-brand .footer-logo img {
  height: 56px;
  border-radius: 0;
  object-fit: contain;
}
.footer-brand .footer-logo span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
/* 二维码锐角 */
.footer-qr-sharp {
  border-radius: 0 !important;
}
.footer-qr-sharp img {
  border-radius: 0 !important;
}
.footer-links h4,
.footer-services h4,
.footer-qr-section h4 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links ul li,
.footer-services ul li { margin-bottom: 8px; }
.footer-links ul li a,
.footer-services ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links ul li a:hover,
.footer-services ul li a:hover { color: #fff; padding-left: 4px; }
.footer-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-info .fa { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* Footer QR Codes */
.footer-qr-section {}
.footer-qr-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 0;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  min-width: 120px;
}
.footer-qr-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.footer-qr-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-qr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-qr-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.footer-dept-name {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-person-name {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.footer-qr-lang-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-three { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .routes-new-layout { grid-template-columns: 1fr; height: auto; }
  .routes-advisory-list { height: auto; overflow: visible; }
  .routes-gif-panel { min-height: 260px; height: auto; }
  .route-gif-wrap { height: auto; }
  .route-gif-wrap img { height: 260px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .culture-cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .service-block { grid-template-columns: auto 1fr; }
  .service-img { display: none; }
  .routes-layout { grid-template-columns: 1fr; }
  .routes-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat-item { padding: 16px 24px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-inner { flex-wrap: nowrap; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    padding: 80px 20px 20px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    overflow-y: auto;
  }
  .nav-menu.open { display: block; }
  .nav-menu > ul { flex-direction: column; gap: 4px; }
  .nav-menu > ul > li > a { padding: 12px 16px; border-radius: 8px; }
  .dropdown { position: static; box-shadow: none; border: none; background: var(--bg-light); display: none; }
  .has-dropdown > a::after { content: ''; }
  .hero { min-height: 90vh; }
  .hero-stats { position: static; flex-wrap: wrap; justify-content: center; }
  .stat-item { border: none; padding: 16px; }
  .offices-grid { grid-template-columns: 1fr; }
  .offices-three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner { flex-wrap: wrap; gap: 8px; }
  .routes-new-layout { grid-template-columns: 1fr; height: auto; }
  .routes-advisory-list { height: auto; overflow: visible; }
  .routes-advisory-list { border-right: none; border-bottom: 1px solid var(--border); }
  .route-gif-wrap { height: auto; }
  .route-gif-wrap img { height: 200px; }
  .footer-qr-cards { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .hero-content h1 { font-size: 1.8rem; }
  .service-block { grid-template-columns: 1fr; }
  .service-icon-wrap { width: 60px; height: 60px; font-size: 1.4rem; }
  .routes-list { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
