/* ==========================================================================
   象联国际 - Corporate Frontend Stylesheet
   Primary: #1677ff | Inspired by evatmaster.com corporate layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --primary-light: #4096ff;
  --primary-bg: #e6f4ff;
  --primary-bg-soft: #f0f7ff;

  --secondary: #001529;
  --secondary-light: #002140;

  --text-primary: #1a1a2e;
  --text-secondary: #595959;
  --text-muted: #8c8c8c;
  --text-light: #bfbfbf;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-dark: #001529;

  --border-color: #e8e8e8;
  --border-light: #f0f0f0;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 4px 20px rgba(22, 119, 255, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --header-height: 72px;
  --container-max: 1200px;
  --section-padding: 80px;
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

::selection {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.bg-gray {
  background-color: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.header-main {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled .header-main {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.logo:hover .logo-text {
  color: var(--primary);
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.header .logo-img {
  height: 36px;
}

.footer-logo .logo-img {
  height: 32px;
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-bg-soft);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 500;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn-outline {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.header-actions .btn-outline:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-height);
}

.hero-swiper {
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.hero-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 21, 41, 0.85) 0%,
    rgba(22, 119, 255, 0.6) 100%
  );
  z-index: 1;
}

.hero-slide-1 {
  background: linear-gradient(135deg, #001529 0%, #003a8c 50%, #1677ff 100%);
}

.hero-slide-2 {
  background: linear-gradient(135deg, #002766 0%, #0050b3 50%, #4096ff 100%);
}

.hero-slide-3 {
  background: linear-gradient(135deg, #001a33 0%, #1677ff 50%, #69b1ff 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(22, 119, 255, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: heroFadeIn 0.8s ease-out;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-content .btn-primary {
  font-size: 16px;
  padding: 14px 40px;
  box-shadow: 0 4px 20px rgba(22, 119, 255, 0.4);
}

.hero-content .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(22, 119, 255, 0.5);
  transform: translateY(-2px);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Pagination */
.hero-pagination {
  bottom: 32px !important;
  z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--text-white);
  width: 48px;
}

/* --------------------------------------------------------------------------
   Stats Bar
   -------------------------------------------------------------------------- */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}

.stat-item:hover {
  background: var(--primary-bg-soft);
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border-light);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-value .counter {
  display: inline;
}

.stat-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-left: 2px;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
  padding-top: calc(var(--section-padding) + 40px);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 4px;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.service-tab:hover {
  color: var(--primary);
  background: rgba(22, 119, 255, 0.06);
}

.service-tab.active {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.service-panels {
  position: relative;
  min-height: 320px;
}

.service-panel {
  display: none;
  animation: panelFadeIn 0.4s ease-out;
}

.service-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.service-panel-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-panel-text > p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.service-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.service-panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, var(--primary-bg), var(--primary-bg-soft));
  border-radius: 50%;
  border: 2px solid rgba(22, 119, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.service-panel.active .service-icon-box {
  animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Advantages Section
   -------------------------------------------------------------------------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Coverage Section
   -------------------------------------------------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.coverage-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.coverage-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-bg);
}

.coverage-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.coverage-number span:last-child {
  font-size: 24px;
}

.coverage-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.coverage-card > p {
  font-size: 14px;
  color: var(--text-muted);
}

.coverage-map {
  margin-top: 16px;
}

.map-placeholder {
  position: relative;
  height: 360px;
  background: linear-gradient(180deg, var(--primary-bg-soft) 0%, var(--bg-gray) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-dots {
  position: absolute;
  inset: 0;
}

.map-dots .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

.map-dots .dot:nth-child(2) { animation-delay: 0.3s; }
.map-dots .dot:nth-child(3) { animation-delay: 0.6s; }
.map-dots .dot:nth-child(4) { animation-delay: 0.9s; }
.map-dots .dot:nth-child(5) { animation-delay: 1.2s; }
.map-dots .dot:nth-child(6) { animation-delay: 1.5s; }
.map-dots .dot:nth-child(7) { animation-delay: 1.8s; }

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.2);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(22, 119, 255, 0.1);
  }
}

.map-text {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 4px;
}

/* --------------------------------------------------------------------------
   Partners Section
   -------------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  padding: 16px;
  text-align: center;
}

.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Security Section
   -------------------------------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.security-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.2);
}

.security-icon {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1;
}

.security-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.security-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   News Section
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--primary);
  border-radius: 2px;
}

.news-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card h3 a {
  color: inherit;
  transition: color var(--transition-fast);
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.news-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  display: block;
}

.contact-info .section-title::after {
  margin-left: 0;
}

.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  transition: background var(--transition);
}

.contact-item:hover {
  background: var(--primary-bg-soft);
}

.contact-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-item a,
.contact-item span {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c8c8c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn-primary {
  margin-top: 8px;
  padding: 14px;
  font-size: 16px;
}

.contact-form.success .btn-primary {
  background: #52c41a;
  border-color: #52c41a;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.form-message.show {
  display: block;
  animation: panelFadeIn 0.3s ease-out;
}

.form-message.success {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.form-message.error {
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: var(--text-white);
}

.footer-brand > p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(22, 119, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive: Large Tablet (≤1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px;
  }

  .hero-swiper {
    height: 480px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-panel-inner {
    padding: 36px;
    gap: 32px;
  }

  .service-icon-box {
    width: 160px;
    height: 160px;
    font-size: 64px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (≤768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: 56px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  /* Header Mobile */
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .nav-link.active::after {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero-swiper {
    height: 420px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* Stats */
  .stats-bar {
    margin-top: -40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    display: block;
  }

  .stat-value {
    font-size: 28px;
  }

  /* Services */
  .service-tabs {
    gap: 4px;
    padding: 4px;
  }

  .service-tab {
    padding: 10px 16px;
    font-size: 13px;
  }

  .service-panel-inner {
    grid-template-columns: 1fr;
    padding: 28px;
    text-align: center;
  }

  .service-panel-text h3 {
    font-size: 24px;
  }

  .service-features {
    align-items: center;
  }

  .service-features li {
    justify-content: center;
  }

  .service-icon-box {
    width: 140px;
    height: 140px;
    font-size: 56px;
  }

  /* Grids */
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (≤480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .hero-swiper {
    height: 380px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-content .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
  }

  .stats-bar {
    padding: 0 16px;
    margin-top: -30px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
  }

  .stat-item {
    padding: 20px 12px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-unit {
    font-size: 16px;
  }

  .service-tabs {
    flex-direction: column;
    background: transparent;
    gap: 8px;
  }

  .service-tab {
    width: 100%;
    text-align: center;
    background: var(--bg-gray);
  }

  .service-tab.active {
    background: var(--primary);
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card {
    padding: 24px 20px;
  }

  .map-placeholder {
    height: 240px;
  }

  .map-text {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .partner-item {
    height: 64px;
    font-size: 13px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 22px;
  }
}

/* --------------------------------------------------------------------------
   Sub Pages - International Logistics
   -------------------------------------------------------------------------- */
.page-hero {
  margin-top: var(--header-height);
  padding: 80px 0;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 55%, #13c2c2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 28px;
}

.page-hero .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.logistics-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: all var(--transition);
}

.logistics-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(22, 119, 255, 0.25);
}

.logistics-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.logistics-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(19, 194, 194, 0.12));
  border-radius: 12px;
  flex-shrink: 0;
}

.logistics-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.logistics-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(22, 119, 255, 0.08);
  color: var(--primary);
  border-radius: 12px;
  font-size: 12px;
}

.logistics-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.logistics-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.logistics-features li {
  padding: 6px 12px;
  background: var(--bg-gray);
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.logistics-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.logistics-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
}

.logistics-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.logistics-table th,
.logistics-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.logistics-table th {
  background: #fafafa;
  font-weight: 600;
  color: var(--text-secondary);
}

.logistics-table tr:last-child td {
  border-bottom: none;
}

.logistics-adv-grid {
  grid-template-columns: repeat(4, 1fr);
}

.logistics-cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.06), rgba(19, 194, 194, 0.08));
  border: 1px solid rgba(22, 119, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.logistics-cta-box h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.logistics-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.logistics-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .logistics-grid {
    grid-template-columns: 1fr;
  }

  .logistics-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-hero-contact .page-hero-content {
  max-width: 820px;
}

.page-hero-contact .page-hero-desc {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-page-section {
  padding-top: 64px;
}

/* --------------------------------------------------------------------------
   EU REP Page
   -------------------------------------------------------------------------- */
.eurep-page {
  background: var(--bg-gray);
}

.eurep-banner {
  margin-top: var(--header-height);
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 55%, #fff 100%);
}

.eurep-banner-visual {
  width: 100%;
  max-width: 2500px;
  margin: 0 auto;
  aspect-ratio: 2500 / 1000;
  overflow: hidden;
  line-height: 0;
  background: #eef5ff;
}

.eurep-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.eurep-banner-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(22, 119, 255, 0.06);
}

.eurep-banner-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0 28px;
  flex-wrap: wrap;
}

.eurep-banner-desc {
  flex: 1;
  min-width: 280px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

.eurep-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.eurep-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.eurep-section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.eurep-section-head h2 {
  font-size: 32px;
  color: var(--text-primary);
}

.eurep-duties {
  background: #fff;
  padding-top: 88px;
  padding-bottom: 88px;
}

.eurep-duty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.eurep-duty-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  overflow: hidden;
}

.eurep-duty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.eurep-duty-card--1::before { background: linear-gradient(90deg, #1677ff, #4096ff); }
.eurep-duty-card--2::before { background: linear-gradient(90deg, #13c2c2, #36cfc9); }
.eurep-duty-card--3::before { background: linear-gradient(90deg, #722ed1, #9254de); }
.eurep-duty-card--4::before { background: linear-gradient(90deg, #fa8c16, #ffc53d); }

.eurep-duty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 119, 255, 0.15);
}

.eurep-duty-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.eurep-duty-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--primary-bg-soft);
  border-radius: 14px;
}

.eurep-duty-index {
  font-size: 36px;
  font-weight: 800;
  color: rgba(22, 119, 255, 0.1);
  line-height: 1;
}

.eurep-duty-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.eurep-duty-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

.eurep-bottom {
  padding-top: 0;
  padding-bottom: 88px;
}

.eurep-bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.eurep-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.eurep-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.eurep-panel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--primary-bg-soft);
  border-radius: 12px;
  flex-shrink: 0;
}

.eurep-panel-icon--warn {
  background: rgba(255, 77, 79, 0.1);
}

.eurep-panel-head h2 {
  font-size: 22px;
  margin: 0;
  color: var(--text-primary);
}

.eurep-panel-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.eurep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eurep-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-bg-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(22, 119, 255, 0.12);
  transition: all var(--transition-fast);
}

.eurep-tag:hover {
  background: var(--primary-bg);
  border-color: rgba(22, 119, 255, 0.25);
}

.eurep-panel--risk {
  background: linear-gradient(160deg, #fff5f5 0%, #fff 60%);
  border-color: rgba(255, 77, 79, 0.18);
}

.eurep-risk-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.eurep-risk-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eurep-risk-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid rgba(255, 77, 79, 0.12);
  color: #cf1322;
  font-size: 15px;
  font-weight: 500;
}

.eurep-risk-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 77, 79, 0.12);
  border-radius: 50%;
  font-size: 10px;
  color: #ff4d4f;
}

.eurep-cta {
  padding-bottom: 88px;
}

.eurep-cta-box {
  text-align: center;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.eurep-cta-box h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}

.eurep-cta-box p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 16px;
  margin-bottom: 28px;
}

.eurep-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.eurep-cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.eurep-cta-box .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.eurep-cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 1024px) {
  .eurep-bottom-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .eurep-banner-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 24px;
  }

  .eurep-banner-actions {
    width: 100%;
  }

  .eurep-banner-actions .btn {
    flex: 1;
    text-align: center;
  }

  .eurep-duty-grid {
    grid-template-columns: 1fr;
  }

  .eurep-panel {
    padding: 24px;
  }

  .eurep-cta-box {
    padding: 40px 24px;
  }
}

/* Consult Modal (WeChat QR) */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.consult-modal.open {
  opacity: 1;
  visibility: visible;
}

.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.consult-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.consult-modal.open .consult-modal-dialog {
  transform: translateY(0) scale(1);
}

.consult-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
}

.consult-modal-close:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.consult-modal-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.consult-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}

.consult-modal-qrcode {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.consult-modal-qrcode img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.consult-modal-empty {
  padding: 32px 16px;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   News List & Detail Pages
   -------------------------------------------------------------------------- */
.news-page-hero {
  margin-top: var(--header-height);
  padding: 56px 0 48px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
}

.news-page-hero-inner {
  max-width: 820px;
}

.news-page-hero h1 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.news-page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.news-page-list {
  padding-top: 40px;
  padding-bottom: 80px;
}

.news-feed {
  max-width: 920px;
}

.news-feed-item {
  border-bottom: 1px solid var(--border);
}

.news-feed-link {
  display: block;
  padding: 28px 0;
  color: inherit;
  transition: all var(--transition);
}

.news-feed-link:hover {
  padding-left: 8px;
}

.news-feed-link:hover .news-feed-title {
  color: var(--primary);
}

.news-feed-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.news-feed-summary {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.news-feed-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.news-feed-author {
  color: var(--primary);
  font-weight: 500;
}

.news-feed-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}

.news-detail-page {
  margin-top: var(--header-height);
  padding: 32px 0 80px;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.news-breadcrumb a {
  color: var(--text-secondary);
}

.news-breadcrumb a:hover {
  color: var(--primary);
}

.news-breadcrumb .current {
  color: var(--text-muted);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.news-detail-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.news-detail-date {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-detail-header h1 {
  font-size: 34px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.news-detail-author {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.news-detail-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  padding: 16px 20px;
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 36px 0 16px;
  line-height: 1.4;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 12px;
  line-height: 1.45;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.article-body ul {
  margin: 0 0 20px 20px;
}

.article-body li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.news-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.news-sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.news-sidebar-contact-item {
  margin-bottom: 14px;
}

.news-sidebar-contact-item .label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.news-sidebar-contact-item a,
.news-sidebar-contact-item span {
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
}

.news-sidebar-card .btn {
  margin-top: 8px;
}

.news-related-list {
  list-style: none;
}

.news-related-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.news-related-list li:last-child {
  border-bottom: none;
}

.news-related-list a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 6px;
}

.news-related-list a:hover {
  color: var(--primary);
}

.news-related-list span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .news-detail-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .news-page-hero h1,
  .news-detail-header h1 {
    font-size: 26px;
  }

  .news-feed-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .logistics-adv-grid {
    grid-template-columns: 1fr;
  }

  .logistics-meta {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .back-to-top,
  .mobile-menu-btn,
  .hero-pagination,
  .contact-form {
    display: none !important;
  }

  .hero {
    margin-top: 0;
  }

  .section {
    padding: 32px 0;
    break-inside: avoid;
  }

  body {
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   404 / Error page
   -------------------------------------------------------------------------- */
.error-not-found {
  position: relative;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 56px 24px 88px;
  overflow: hidden;
  background: linear-gradient(165deg, #f0f7ff 0%, #ffffff 42%, #e6f4ff 100%);
}

.error-not-found-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.error-not-found-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.error-not-found-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.error-not-found-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(22, 119, 255, 0.22);
}

.error-not-found-orb--2 {
  width: 320px;
  height: 320px;
  bottom: -60px;
  left: -100px;
  background: rgba(19, 194, 194, 0.18);
}

.error-not-found-orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 35%;
  background: rgba(64, 150, 255, 0.12);
}

.error-not-found-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 480px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  max-width: 1080px;
}

.error-not-found-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-not-found-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  animation: error-not-found-float 5s ease-in-out infinite;
}

.error-not-found-path-dash {
  animation: error-not-found-dash 12s linear infinite;
}

@keyframes error-not-found-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes error-not-found-dash {
  to { stroke-dashoffset: -120; }
}

.error-not-found-panel {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 24px rgba(22, 119, 255, 0.08),
    0 24px 64px rgba(0, 21, 41, 0.06);
}

.error-not-found-code {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: clamp(64px, 12vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.12) 0%, rgba(19, 194, 194, 0.08) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.error-not-found-tag {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: var(--primary-bg);
  border-radius: var(--radius-full);
  border: 1px solid rgba(22, 119, 255, 0.15);
}

.error-not-found-panel h1 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.error-not-found-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.error-not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.error-not-found-actions .btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.error-not-found-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.error-not-found-links a {
  color: var(--primary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.error-not-found-links a:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.error-not-found-links a:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--border-color);
  pointer-events: none;
}

@media (max-width: 900px) {
  .error-not-found-layout {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .error-not-found-visual {
    order: -1;
  }

  .error-not-found-illustration {
    max-width: 300px;
  }

  .error-not-found-actions {
    justify-content: center;
  }

  .error-not-found-links {
    justify-content: center;
  }

  .error-not-found-code {
    right: 50%;
    transform: translateX(50%);
    top: -24px;
  }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
