/* 国际业务页面（page-solution-international.php）专用样式 */

:root {
  --intl-blue: #107BB3;
  --intl-navy: #00466A;
  --intl-ink: #061B25;
  --intl-sky: #A1DFFF;
  --intl-cyan: #5FD0FF;
  --intl-gold: #D4A024;
  --intl-text: #333333;
  --intl-muted: #666666;
  --intl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.intl-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
@media (min-width: 768px) { .intl-wrap { padding: 0 40px; } }

/* ---------- 标题 ---------- */
.intl-h2 { font-size: 1.5rem; line-height: 1.35; font-weight: 700; text-align: center; color: #111827; }
.intl-h2 span { color: var(--intl-blue); }
.intl-h2--light { color: #fff; }
.intl-h2--light span { color: var(--intl-sky); }
.intl-h2--left { text-align: left; }
@media (min-width: 768px) { .intl-h2 { font-size: 2.25rem; } }
.intl-sub { margin: 20px auto 0; max-width: 720px; text-align: center; color: var(--intl-muted); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .intl-sub { font-size: 1.25rem; } }

/* ---------- 按钮 ---------- */
.intl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-size: 1.05rem; font-weight: 700; line-height: 1.3;
  transition: transform 0.25s var(--intl-ease), box-shadow 0.25s var(--intl-ease), background-color 0.25s, color 0.25s;
  cursor: pointer; white-space: nowrap;
}
.intl-btn:active { transform: scale(0.97); }
.intl-btn--primary { background: #fff; color: var(--intl-navy); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.intl-btn--primary:hover { box-shadow: 0 10px 30px rgba(95, 208, 255, 0.35); }
.intl-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.intl-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.intl-btn--block { width: 100%; }
.intl-panel-cta .relative { display: block; }

/* ---------- Hero ---------- */
.intl-hero { position: relative; overflow: hidden; color: #fff; padding: 110px 0 120px; background: var(--intl-ink); }
@media (min-width: 1024px) { .intl-hero { padding-top: 168px; } }
.intl-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 62%, rgba(16, 123, 179, 0.35) 0%, rgba(16, 123, 179, 0) 70%),
    radial-gradient(ellipse 40% 40% at 85% 10%, rgba(0, 70, 106, 0.6) 0%, rgba(0, 70, 106, 0) 70%),
    linear-gradient(180deg, #061B25 0%, #072636 55%, #061B25 100%);
}
.intl-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}
.intl-hero .intl-wrap { position: relative; }
.intl-hero-head { text-align: center; max-width: 860px; margin: 0 auto; }
.intl-eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid rgba(161, 223, 255, 0.35); border-radius: 999px; color: var(--intl-sky); font-size: 0.875rem; letter-spacing: 0.08em; }
.intl-h1 { margin-top: 22px; font-size: 2rem; line-height: 1.25; font-weight: 700; text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.intl-h1 span { color: var(--intl-sky); }
@media (min-width: 768px) { .intl-h1 { font-size: 3.25rem; } }
.intl-lead { margin: 22px auto 0; max-width: 760px; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.8; }
@media (min-width: 768px) { .intl-lead { font-size: 1.2rem; } }
.intl-hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.intl-map-head { margin-top: 84px; text-align: center; scroll-margin-top: 120px; }
.intl-map-sub { margin-top: 12px; color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }

/* ---------- 地图布局 ---------- */
.intl-map-layout { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1024px) {
  .intl-map-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; }
  .intl-map-layout > .intl-map-card { grid-column: 1; grid-row: 1; }
  .intl-map-layout > .intl-panel { grid-column: 2; grid-row: 1; }
  .intl-map-layout > .intl-chips { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1023px) {
  .intl-map-layout:not(.has-selection) .intl-panel { display: none; }
  .intl-chips { margin-top: 0 !important; }
}
/* 手机：地图可横向拖动，标签更易读 */
@media (max-width: 767px) {
  .intl-map-stage { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .intl-map-stage::-webkit-scrollbar { display: none; }
  .intl-map { width: 760px !important; max-width: none; }
  .intl-map-card { padding: 6px 6px 10px; }
}

.intl-map-card {
  position: relative; border-radius: 18px; padding: 10px 10px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(161, 223, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px rgba(0, 0, 0, 0.25);
}
.intl-map-stage { position: relative; width: 100%; border-radius: 12px; overflow: hidden; }
@media (min-width: 1024px) { .intl-map-card { display: flex; flex-direction: column; justify-content: center; } .intl-legend { position: absolute; right: 14px; bottom: 12px; } }
.intl-map { display: block; width: 100%; height: auto; overflow: hidden; }

.intl-land { fill: rgba(161, 223, 255, 0.07); stroke: rgba(161, 223, 255, 0.28); stroke-width: 0.5; transition: fill 0.35s, stroke 0.35s; }
.intl-land--region { fill: rgba(95, 208, 255, 0.13); stroke: rgba(161, 223, 255, 0.42); cursor: pointer; }
.intl-land--active { fill: rgba(95, 208, 255, 0.34); stroke: rgba(190, 236, 255, 0.85); stroke-width: 0.7; cursor: pointer; }
.intl-land--region:hover, .intl-land--active:hover { fill: rgba(95, 208, 255, 0.5); }
.intl-land.is-selected { fill: rgba(212, 160, 36, 0.55); stroke: #F3C860; }

.intl-route { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.35s, stroke 0.35s; }
.intl-route--sea-base { stroke: rgba(95, 208, 255, 0.22); stroke-width: 2.4; }
.intl-route--sea { stroke: rgba(161, 223, 255, 0.75); stroke-width: 1.2; stroke-dasharray: 2 7; animation: intl-flow 2.2s linear infinite; }
.intl-route--air { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; stroke-dasharray: 5 6; animation: intl-flow 3s linear infinite; }
@keyframes intl-flow { to { stroke-dashoffset: -36; } }

.intl-origin-dot { fill: var(--intl-gold); stroke: #fff; stroke-width: 1.6; }
.intl-marker { cursor: pointer; outline: none; }
.intl-marker-hit { fill: transparent; }
.intl-marker-dot { fill: #fff; stroke: var(--intl-cyan); stroke-width: 2; transition: r 0.25s, fill 0.25s; }
.intl-marker:hover .intl-marker-dot, .intl-marker:focus-visible .intl-marker-dot { fill: var(--intl-cyan); }
.intl-marker:focus-visible .intl-marker-hit { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 3 3; }
.intl-marker.is-selected .intl-marker-dot { fill: var(--intl-gold); stroke: #fff; }
.intl-pulse { transform-box: fill-box; transform-origin: center; animation: intl-pulse 2.6s ease-out infinite; }
@keyframes intl-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

.intl-label { fill: rgba(255, 255, 255, 0.86); font-size: 13px; font-weight: 600; paint-order: stroke; stroke: rgba(6, 27, 37, 0.85); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; transition: fill 0.3s; }
.intl-label--origin { fill: #F3C860; font-size: 15px; }
.intl-marker.is-selected .intl-label { fill: #F3C860; }
@media (max-width: 767px) { .intl-label { font-size: 17px; stroke-width: 4px; } .intl-label--origin { font-size: 19px; } }

/* 选中某目的地时，弱化其他航线 */
.intl-map-layout.has-selection .intl-route { opacity: 0.12; }
.intl-map-layout.has-selection .intl-route.is-selected { opacity: 1; }
.intl-map-layout.has-selection .intl-route--sea.is-selected { stroke: #F3C860; }
.intl-map-layout.has-selection .intl-route--sea-base.is-selected { stroke: rgba(243, 200, 96, 0.3); stroke-width: 3.2; }
.intl-map-layout.has-selection .intl-route--air.is-selected { stroke: rgba(255, 255, 255, 0.85); }
.intl-map-layout.has-selection .intl-marker:not(.is-selected) { opacity: 0.55; }
.intl-vehicle { transition: opacity 0.35s; }
.intl-map-layout.has-selection .intl-vehicle { opacity: 0.15; }
.intl-map-layout.has-selection .intl-vehicle.is-selected { opacity: 1; }

.intl-legend { display: flex; gap: 22px; justify-content: flex-end; padding: 8px 10px 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.intl-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.intl-legend-sea, .intl-legend-air { display: inline-block; width: 26px; height: 0; border-top: 2px dotted rgba(161, 223, 255, 0.9); }
.intl-legend-air { border-top: 2px dashed rgba(255, 255, 255, 0.7); }

/* ---------- 信息面板 ---------- */
.intl-panel {
  position: relative; border-radius: 18px; padding: 26px 24px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(161, 223, 255, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 320px;
}
.intl-panel-item { animation: intl-panel-in 0.45s var(--intl-ease); }
.intl-panel-item[hidden] { display: none; }
@keyframes intl-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intl-panel-kicker { color: var(--intl-sky); font-size: 0.8rem; letter-spacing: 0.08em; }
.intl-panel-title { margin-top: 6px; font-size: 1.75rem; font-weight: 700; }
.intl-panel-hint { margin-top: 10px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.intl-panel-desc { margin-top: 12px; color: rgba(255, 255, 255, 0.78); line-height: 1.75; font-size: 0.95rem; }
.intl-panel-regions { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.intl-panel-regions li { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.intl-panel-region-name { display: block; font-weight: 700; font-size: 1rem; }
.intl-panel-region-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.intl-link { color: rgba(161, 223, 255, 0.9); font-size: 0.95rem; cursor: pointer; border-bottom: 1px dashed rgba(161, 223, 255, 0.4); transition: color 0.2s, border-color 0.2s; }
.intl-link:hover { color: #fff; border-color: #fff; }

.intl-panel-facts { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intl-fact { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.intl-fact--wide { grid-column: 1 / -1; }
.intl-fact dt { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.intl-fact dd { margin-top: 4px; font-size: 0.95rem; line-height: 1.5; }
.intl-fact-num { font-size: 1.15rem !important; font-weight: 700; color: #F3C860; }
.intl-panel-label { margin-top: 16px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.intl-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.intl-tags li { padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; background: rgba(95, 208, 255, 0.14); color: var(--intl-sky); }
.intl-panel-cta { margin-top: 20px; }
.intl-panel-note { margin-top: 10px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }

/* ---------- 标签 ---------- */
.intl-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.intl-chip {
  padding: 8px 16px; border-radius: 999px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(161, 223, 255, 0.25); background: rgba(255, 255, 255, 0.03); cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.intl-chip:hover { border-color: var(--intl-sky); color: #fff; }
.intl-chip:active { transform: scale(0.96); }
.intl-chip.is-active { background: #fff; color: var(--intl-navy); border-color: #fff; font-weight: 700; }

/* ---------- 数据条 ---------- */
.intl-stats-wrap { position: relative; z-index: 2; margin-top: -60px; }
.intl-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(16, 70, 106, 0.15); padding: 0 !important;
  max-width: calc(1280px - 80px); width: calc(100% - 40px);
}
@media (min-width: 768px) { .intl-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.intl-stat { padding: 26px 18px; text-align: center; }
.intl-stat + .intl-stat { border-left: 1px solid #EEF1F5; }
@media (max-width: 767px) { .intl-stat:nth-child(3) { border-left: 0; } .intl-stat:nth-child(n+3) { border-top: 1px solid #EEF1F5; } }
.intl-stat-value { font-size: 2.25rem; font-weight: 700; color: var(--intl-blue); line-height: 1.1; }
.intl-stat-value small { margin-left: 4px; font-size: 1rem; font-weight: 600; color: var(--intl-navy); }
.intl-stat-label { margin-top: 8px; font-size: 0.9rem; color: var(--intl-muted); }

/* ---------- 服务 ---------- */
.intl-section { padding: 96px 0; }
.intl-section--tint { background: #F5F6FA; }
.intl-services { margin-top: 52px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .intl-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .intl-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.intl-service {
  position: relative; padding: 30px 28px; border-radius: 16px; background: #fff; border: 1px solid #E6EBF0;
  transition: transform 0.35s var(--intl-ease), box-shadow 0.35s var(--intl-ease), border-color 0.35s;
}
.intl-service:hover { transform: translateY(-6px); border-color: #629BB9; box-shadow: 0 18px 40px rgba(98, 155, 185, 0.22); }
.intl-service-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 14px; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #107BB3, #00466A); transition: transform 0.35s var(--intl-ease); }
.intl-service:hover .intl-service-icon { transform: rotate(-6deg) scale(1.06); }
.intl-service-title { margin-top: 20px; font-size: 1.25rem; font-weight: 700; color: #111827; }
.intl-service-desc { margin-top: 10px; color: var(--intl-muted); line-height: 1.75; font-size: 0.95rem; }

/* ---------- 优势 ---------- */
.intl-adv { position: relative; padding: 110px 0; background-size: cover; background-position: center; color: #fff; }
.intl-adv-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 27, 37, 0.88) 0%, rgba(6, 27, 37, 0.7) 50%, rgba(6, 27, 37, 0.9) 100%); }
.intl-adv-inner { position: relative; }
.intl-adv-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .intl-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .intl-adv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.intl-adv-card {
  padding: 30px 26px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--intl-ease), background-color 0.35s, border-color 0.35s;
}
.intl-adv-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.13); border-color: rgba(161, 223, 255, 0.45); }
.intl-adv-card:first-child { border-color: rgba(212, 160, 36, 0.6); }
.intl-adv-icon { display: inline-flex; width: 50px; height: 50px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(161, 223, 255, 0.16); color: var(--intl-sky); }
.intl-adv-card:first-child .intl-adv-icon { background: rgba(212, 160, 36, 0.2); color: #F3C860; }
.intl-adv-title { margin-top: 18px; font-size: 1.25rem; font-weight: 700; }
.intl-adv-desc { margin-top: 10px; color: rgba(255, 255, 255, 0.78); line-height: 1.75; font-size: 0.95rem; }

/* ---------- 流程 ---------- */
.intl-steps { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; counter-reset: none; }
@media (min-width: 1024px) { .intl-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } }
.intl-step { position: relative; text-align: center; }
.intl-step-num {
  position: relative; z-index: 1; display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 700; color: var(--intl-blue); background: #fff; border: 2px solid rgba(16, 123, 179, 0.25);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--intl-ease);
}
.intl-step:hover .intl-step-num { background: var(--intl-blue); color: #fff; transform: scale(1.08); }
@media (min-width: 1024px) {
  .intl-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 40px); width: calc(100% - 80px + 18px); border-top: 2px dashed rgba(16, 123, 179, 0.3); }
}
.intl-step-title { margin-top: 16px; font-size: 1.1rem; font-weight: 700; color: #111827; }
.intl-step-desc { margin-top: 8px; font-size: 0.9rem; line-height: 1.65; color: var(--intl-muted); }

/* ---------- 报价 CTA ---------- */
.intl-quote { position: relative; padding: 110px 0; background-size: cover; background-position: center right; color: #fff; }
.intl-quote-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 27, 37, 0.92) 0%, rgba(6, 27, 37, 0.75) 45%, rgba(6, 27, 37, 0.25) 100%); }
.intl-quote-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .intl-quote-inner { grid-template-columns: minmax(0, 1fr) 260px; } }
.intl-quote-desc { margin-top: 20px; max-width: 620px; color: rgba(255, 255, 255, 0.85); line-height: 1.85; font-size: 1.05rem; }
.intl-quote-card { justify-self: center; width: 240px; padding: 22px; border-radius: 18px; background: #fff; color: #111827; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.intl-quote-card img { display: block; width: 180px; height: 180px; object-fit: cover; margin: 0 auto; border-radius: 8px; }
.intl-quote-card-title { margin-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--intl-navy); }
.intl-quote-card-tip { margin-top: 6px; font-size: 0.82rem; color: var(--intl-muted); }

/* ---------- 进入视口动画 ---------- */
.intl-js .intl-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--intl-ease), transform 0.7s var(--intl-ease); transition-delay: var(--d, 0ms); }
.intl-js .intl-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .intl-route--sea, .intl-route--air, .intl-pulse { animation: none; }
  .intl-js .intl-reveal { opacity: 1; transform: none; transition: none; }
  .intl-panel-item { animation: none; }
}
