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

:root {
  --primary: #00009C;
  --primary-dark: #000084;
  --accent: #FF5800;
  --accent-dark: #D54A00;
  --secondary: #FACA16;
  --bg-navy: #050B14;
  --bg-navy-mid: #0A1628;
  --bg-gray: #F8FAFC;
  --bg-light: #fafbfc;
  --text-light: #1E293B;
  --text-muted: #64748B;
  --white: #ffffff;
  --font-header: 'Archivo', sans-serif;
  --font-body: 'Lato', sans-serif;
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.1);
}

html { scroll-behavior: smooth; background: var(--bg-gray); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-light);
  background: var(--bg-gray);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bg-navy-mid);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 88, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 88, 0, 0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 156, 0.2);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 156, 0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(20px + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 20px env(safe-area-inset-left, 0px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}
nav.scrolled {
  padding: calc(14px + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 14px env(safe-area-inset-left, 0px);
  background: rgba(5, 11, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.25s;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { width: 100%; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-header);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg-navy);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 11, 20, 0.88) 0%, rgba(5, 11, 20, 0.4) 50%, rgba(5, 11, 20, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 88, 0, 0.15);
  border: 1px solid rgba(255, 88, 0, 0.35);
  color: var(--accent);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.hero-route-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-route-item svg { color: var(--accent); flex-shrink: 0; }
.hero-route-arrow { color: rgba(255, 255, 255, 0.3); }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  z-index: 3;
}
.hero-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.hero-dot:hover::before { background: rgba(255, 255, 255, 0.7); }
.hero-dot.active::before { background: var(--accent); transform: scale(1.3); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-in { animation: fadeInUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; opacity: 0; }
.delay-2 { animation-delay: 0.3s; opacity: 0; }
.delay-3 { animation-delay: 0.45s; opacity: 0; }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text-light); margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.2rem; font-weight: 400; line-height: 1.7; }

/* ── ABOUT ── */
.about { padding: 140px 0; background: #fff; position: relative; overflow: hidden; }
.about::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 168, 240, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-premium); }
.about-img-main img { width: 100%; height: 460px; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 210px;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-content { color: var(--text-light); }
.about-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; color: var(--text-light); }
.about-content p { color: var(--text-muted); font-size: 1.2rem; font-weight: 400; line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-gray);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.about-value-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.about-value-icon svg { width: 18px; height: 18px; color: var(--accent); }
.about-value span { font-weight: 700; font-size: 0.9rem; color: var(--text-light); }

/* ── OPERATIONS ── */
.operations { padding: 120px 0; background: var(--bg-gray); }
.operations-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.operations-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.operations-gallery-item:hover { transform: translate3d(0, -8px, 0) scale(1.02); box-shadow: var(--shadow-premium); }
.operations-gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform: translateZ(0);
}
.operations-gallery-item:hover img { transform: translateZ(0) scale(1.04); }

/* ── LOCATION ── */
.location-section { padding: 100px 0; background: var(--bg-light); position: relative; }
.location-section .section-title { color: var(--bg-navy-mid); }
.location-section .section-desc { max-width: 680px; margin: 0 auto 64px; }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-benefits { display: flex; flex-direction: column; gap: 32px; }

.location-benefit {
  padding: 28px 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-benefit:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }

.location-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00009C 0%, #FF5800 100%);
  color: #fff;
  flex-shrink: 0;
}
.location-benefit-icon svg { width: 26px; height: 26px; }

.location-benefit h3 {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-navy-mid);
  margin-bottom: 10px;
}
.location-benefit p { color: var(--text-muted); font-size: 1.05rem; font-weight: 400; line-height: 1.7; }

.location-benefit-address { background: linear-gradient(165deg, var(--bg-navy-mid) 0%, var(--bg-navy) 100%); }
.location-benefit-address h3 { color: #fff; }
.location-benefit-address p { color: rgba(255, 255, 255, 0.7); }

.location-address-cn {
  font-size: 1.1rem !important;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.location-address-en {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 16px;
  line-height: 1.5 !important;
}
.location-operator {
  font-size: 0.85rem !important;
  color: #FACA16 !important;
  font-weight: 600;
  margin-bottom: 2px;
}
.location-operator-en {
  font-size: 0.75rem !important;
  color: rgba(250, 202, 22, 0.6) !important;
  margin-bottom: 20px;
}

.location-links { display: flex; flex-wrap: wrap; gap: 10px; }
.location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}
.location-link:hover {
  background: rgba(255, 88, 0, 0.2);
  border-color: rgba(255, 88, 0, 0.4);
  color: #FF5800;
  transform: translateY(-2px);
}
.location-link svg { flex-shrink: 0; }

/* ── MAP ── */
.location-map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}

.location-map {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(5, 11, 20, 0.2);
  background: #e8e8e8;
  z-index: 1;
}
.location-map .leaflet-container {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.location-map-attribution {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
}
.location-map-attribution a { color: var(--text-muted); text-decoration: underline; }

.location-map-image {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(5, 11, 20, 0.12);
}

.location-map-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.location-map-image:hover img {
  transform: scale(1.03);
}

/* Custom Leaflet marker */
.map-marker-wrapper { background: none !important; border: none !important; }
.map-marker-drfree24 {
  width: 36px;
  height: 36px;
  background: #FF5800;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 16px rgba(255, 88, 0, 0.5), 0 0 0 4px rgba(12, 168, 228, 0.3);
  position: relative;
}
.map-marker-drfree24::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Leaflet popup override */
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}
.leaflet-popup-content {
  margin: 14px 16px !important;
  font-family: var(--font-body) !important;
}
.leaflet-popup-tip { background: #fff !important; }

/* ── DISTANCE CALCULATOR SECTION ── */
.distance-section { padding: 100px 0; background: var(--bg-light); }

/* ── SERVICES SECTION ── */
.services { padding: 120px 0; background: #fff; }

/* ── DISTANCE CALCULATOR ELITE ── */
.distance-dashboard {
  display: grid;
  grid-template-columns: 400px 1fr;
  background: var(--bg-navy);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  min-height: 620px;
}

.distance-controls {
  padding: 48px 40px;
  background: linear-gradient(165deg, rgba(10, 22, 40, 1) 0%, rgba(5, 11, 20, 1) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

/* Map Animations */
.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 88, 0, 0.4);
  border-radius: 50%;
  animation: markerPing 2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes markerPing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.animated-route-line {
  stroke-dasharray: 10, 10;
  animation: routeFlow 20s linear infinite;
}

@keyframes routeFlow {
  from { stroke-dashoffset: 500; }
  to { stroke-dashoffset: 0; }
}

.input-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.distance-visualizer {
  position: relative;
  background: #050b14;
}

.distance-map {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 80px rgba(5, 11, 20, 0.35);
}

/* Distance Form */
.distance-form { position: relative; z-index: 2; }
.distance-inputs { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.calc-group { display: flex; flex-direction: column; }

.calc-group input,
.calc-group select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.calc-group input::placeholder { color: rgba(255, 255, 255, 0.5); }

.calc-group input:hover,
.calc-group select:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.calc-group input:focus,
.calc-group select:focus {
  border-color: #FF5800;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 88, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.25);
}

.calc-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.calc-group select option {
  background: #050B14;
  color: #fff;
  padding: 12px 8px;
  font-weight: 500;
}

.distance-hint {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  margin-left: 4px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.calc-btn { width: 100%; margin-top: 16px; padding: 16px 24px; }

/* Loading */
.distance-loading, .distance-error, .distance-results { position: relative; z-index: 2; margin-top: 24px; }
.distance-loading { display: flex; flex-direction: column; align-items: center; padding: 32px 16px; }
.distance-loading p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.distance-spinner { width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--accent); border-radius: 50%; animation: distanceSpin 0.8s linear infinite; margin-bottom: 16px; }
@keyframes distanceSpin { to { transform: rotate(360deg); } }

/* Error */
.distance-error { display: flex; align-items: center; gap: 12px; padding: 16px; background: rgba(255,88,0,0.1); border: 1px solid rgba(255,88,0,0.3); border-radius: 14px; color: #FFB888; font-size: 0.9rem; }
.distance-error p { margin: 0; }

/* Results */
.distance-results { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
.distance-result-header { text-align: center; margin-bottom: 20px; }
.distance-result-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.distance-result-value { font-family: var(--font-header); font-size: 2.8rem; font-weight: 900; background: linear-gradient(135deg, #FF5800 0%, #FACA16 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.distance-result-details { display: flex; flex-direction: column; gap: 14px; }
.distance-detail { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.distance-detail:last-child { border-bottom: none; padding-bottom: 0; }
.distance-detail-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; flex-shrink: 0; }
.distance-detail-value { color: #fff; font-weight: 600; font-size: 0.92rem; text-align: right; word-break: break-word; max-width: 65%; }

/* Suggestion */
.distance-suggestion { margin-top: 20px; padding: 16px; background: rgba(255,88,0,0.08); border: 1px solid rgba(255,88,0,0.25); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.distance-suggestion-badge { display: inline-block; align-self: flex-start; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.distance-suggestion p { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.6; }

.map-overlay-info {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(5, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.distance-result-value {
  font-family: var(--font-header);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF5800 0%, #FACA16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── DEVICES 3D STACK ── */
.services-portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  perspective: 1000px;
}

.devices-3d-stack {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 0, 156, 0.18) 0%, transparent 75%);
  z-index: 0;
  filter: blur(60px);
}

.device {
  position: absolute;
  border-radius: 24px;
  background: #0c121e;
  padding: 10px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.device-screen {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.device img {
  width: 100%;
  height: auto;
  display: block;
}

.device-pc {
  width: 700px;
  z-index: 2;
  transform: translate(0, 0);
}

.device-tablet {
  width: 360px;
  z-index: 3;
  transform: translate(-280px, 30px) scale(0.92);
}

.device-phone {
  width: 180px;
  z-index: 4;
  transform: translate(260px, 50px) scale(0.92);
  border-radius: 28px;
  padding: 10px;
}

.device-phone .device-screen { border-radius: 22px; }

/* .device:hover — removed: mockups are decorative, not interactive */

.btn-portal-cta {
  padding: 20px 48px;
  font-size: 1.1rem;
  border-radius: 16px;
  font-weight: 800;
}

.portal-actions {
  margin-bottom: 60px;
}

/* ── STATS ── */
.stats-section { padding: 100px 0; position: relative; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 11, 20, 0.93) 0%, rgba(10, 22, 40, 0.88) 100%);
}
.stats-content { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item { padding: 16px; }
.stat-number {
  font-family: var(--font-header);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 120px 0; background: var(--bg-gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  opacity: 0.25;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--text-light); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ── CONTACT ── */
.contact { padding: 120px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.contact-info { color: var(--text-light); }
.contact-info h3 { font-size: 1.15rem; margin-bottom: 32px; font-family: var(--font-body); font-weight: 700; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon.orange { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.contact-icon.blue { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.contact-icon svg { width: 18px; height: 18px; color: #fff; }
.contact-item-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.contact-item-text strong { color: var(--text-light); display: block; font-size: 0.9rem; margin-bottom: 2px; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 24px;
  transition: all 0.3s;
}
.whatsapp-btn:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
.whatsapp-btn svg { width: 20px; height: 20px; }
.contact-form {
  background: var(--bg-gray);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group select option { background: #fff; color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── FLOATING WHATSAPP ── */
.floating-whatsapp { position: fixed; bottom: 96px; right: 24px; z-index: 90; }
.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  animation: floatPulse 3s ease-in-out infinite;
}
.floating-whatsapp a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  animation: floatPulseRing 3s ease-in-out infinite;
  pointer-events: none;
}
.floating-whatsapp a:hover { background: #1fb855; transform: scale(1.08); }
.floating-whatsapp svg { width: 28px; height: 28px; color: #fff; }
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes floatPulseRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg-navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, background 0.2s;
}
.footer-social a:hover { color: var(--accent); background: rgba(255, 88, 0, 0.1); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a { color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.25); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .operations-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .devices-showcase { height: auto; flex-wrap: wrap; gap: 16px; padding: 0; justify-content: center; }
  .device-pc { width: 100%; max-width: 600px; margin: 0; }
  .device-tablet { width: 220px; margin: 0; }
  .device-phone { width: 130px; margin: 0; }
  .distance-dashboard { grid-template-columns: 1fr; min-height: 0; }
  .distance-controls { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 32px 24px; }
  .distance-visualizer { min-height: 360px; }
  .location-grid { grid-template-columns: 1fr; gap: 48px; }
  .location-map-wrapper { min-height: 480px; }
  .location-map { height: 420px; flex: none; }
  .location-map-image { height: 300px; flex: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .devices-showcase { height: auto; flex-wrap: wrap; gap: 12px; padding: 0; justify-content: center; }
  .device-pc { width: 100%; max-width: 480px; margin: 0; }
  .device-tablet { width: 180px; margin: 0; }
  .device-phone { width: 100px; margin: 0; }
  .hero h1 { font-size: 2.8rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-route { gap: 20px; }
  .about-img-secondary { display: none; }
  .about-values { grid-template-columns: 1fr; }
  .operations-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .distance-controls { padding: 24px 20px; }
  .distance-visualizer { min-height: 320px; }
  .distance-result-value { font-size: 2.2rem; }
  .services-portal { gap: 32px; margin-top: 24px; }
  .devices-3d-stack { height: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; }
  .devices-3d-stack, .device { position: relative !important; }
  .device-pc, .device-tablet, .device-phone { transform: none !important; width: 100%; max-width: 400px; margin: 0; animation: none !important; }
  [data-float="type-1"], [data-float="type-2"], [data-float="type-3"] { animation: none; }
  .portal-actions { margin-bottom: 40px; }
  .location-section { padding: 64px 0; }
  .location-grid { gap: 32px; }
  .location-map-wrapper { min-height: 400px; }
  .location-map { height: 360px; }
  .location-map-image { height: 260px; }
  .location-benefit { padding: 20px 20px; }
  .location-address-cn { font-size: 0.98rem !important; }
  .location-address-en { font-size: 0.78rem !important; }
  .location-links { gap: 8px; }
  .location-link { min-height: 44px; font-size: 0.72rem; padding: 8px 10px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2.6rem; }
  .floating-whatsapp { bottom: 16px; left: 20px; right: auto; }
  .distance-visualizer { min-height: 280px; }
  .location-map-wrapper { min-height: 340px; }
  .location-map { height: 300px; }
  .location-map-image { height: 220px; }
}
