/* CSF International Business Services - Optimized V2 Stylesheet */
/* Design: Bright Professional Blue theme — light, clean, corporate */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: #f7fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Multilingual Typography ===== */
/* Chinese (zh) — CJK needs looser line-height, no letter-spacing */
html[lang="zh"] body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 {
  line-height: 1.4; letter-spacing: 0;
}
html[lang="zh"] p, html[lang="zh"] li, html[lang="zh"] .info-para { line-height: 1.85; }
html[lang="zh"] .section-tag { letter-spacing: .05em; }
html[lang="zh"] .hero h1 { letter-spacing: 0; }
html[lang="zh"] .ab-vmax-badge { letter-spacing: 0; }
html[lang="zh"] .ab-vmax-badge span { letter-spacing: .05em; }

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #005e9f;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ===== Variables ===== */
:root {
  --navy-dark: #0b3a75;   /* deep corporate blue — headings & dark surfaces */
  --navy: #0d4a94;        /* gradient partner */
  --blue: #0a66c2;        /* primary action blue */
  --blue-light: #2583e6;  /* hover blue */
  --cyan: #1899d6;        /* bright accent, readable on light bg */
  --cyan-light: #45b3e8;
  --cyan-deep: #0e7cc0;
  --gold: #b45309;        /* amber accent for "contact-only" state */
  --white: #ffffff;
  --blue-50: #f4f8fe;     /* light blue tint backgrounds */
  --blue-100: #e9f1fb;
  --blue-200: #d8e7f7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --shadow-sm: 0 1px 3px rgba(11,58,117,.08);
  --shadow-md: 0 4px 12px rgba(11,58,117,.08), 0 2px 4px rgba(11,58,117,.05);
  --shadow-lg: 0 10px 28px rgba(11,58,117,.12), 0 4px 10px rgba(11,58,117,.06);
  --shadow-xl: 0 20px 50px rgba(11,58,117,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,58,117,.1);
  transition: var(--transition);
}
.navbar-scrolled { background: #ffffff; box-shadow: 0 2px 18px rgba(11,58,117,.12); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--navy-dark); }
.navbar-brand .logo-text { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.navbar-brand .logo-sub { font-size: 12px; color: var(--gray-500); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.nav-links > li > a:hover, .nav-links > li > a:focus { color: var(--blue); background: rgba(10,102,194,.07); }
.nav-links > li > a.active { color: var(--cyan); font-weight: 700; }
.nav-links > li > a.active::after { content: ''; display: block; height: 2px; border-radius: 2px; background: var(--cyan); margin-top: 2px; }

/* Dropdown - tap to toggle on mobile */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; user-select: none; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--transition); z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--gray-700); transition: var(--transition); }
.nav-dropdown-menu a:hover { background: var(--gray-100); color: var(--blue); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff !important; padding: 9px 20px !important;
  border-radius: 10px; font-weight: 700; font-size: 13px;
  box-shadow: 0 2px 12px rgba(10,102,194,.35);
}
.nav-cta:hover { background: var(--blue-light); box-shadow: 0 4px 18px rgba(10,102,194,.45); color: #fff; }

/* Language switcher */
.lang-switcher .lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  background: none; border: none; cursor: pointer;
  transition: var(--transition); font-family: inherit;
  white-space: nowrap;
}
.lang-switcher .lang-btn:hover, .lang-switcher .lang-btn:focus { color: var(--blue); background: rgba(10,102,194,.07); }
.lang-btn .lang-caret { font-size: 10px; opacity: .7; margin-left: 2px; }
.lang-menu { min-width: 150px; }
.lang-option[aria-current="true"] { color: var(--blue); font-weight: 700; background: var(--gray-50); }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #ffffff; padding: 16px;
    gap: 0; max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
    border-bottom: 1px solid rgba(11,58,117,.1);
    box-shadow: 0 12px 28px rgba(11,58,117,.1);
  }
  .nav-links.open { max-height: 80vh; overflow-y: auto; }
  .nav-links > li > a { padding: 14px 16px; border-radius: 8px; font-size: 15px; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--blue-50); margin: 0 8px 8px; }
  .nav-dropdown-menu a { color: var(--gray-600); }
  .nav-dropdown-menu a:hover { background: rgba(10,102,194,.08); }
  .lang-option[aria-current="true"] { color: var(--blue); background: var(--blue-100); }
}

/* ===== Hero Section ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(165deg, #f8fbff 0%, #eaf3fc 55%, #dcecfb 100%);
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(248,251,255,.92) 0%, rgba(248,251,255,.55) 45%, rgba(220,236,251,.25) 100%); }
.hero-glow-1 { position: absolute; top: -40px; left: -40px; width: 400px; height: 400px; background: var(--cyan-light); border-radius: 50%; filter: blur(130px); opacity: .25; z-index: 1; }
.hero-glow-2 { position: absolute; bottom: -60px; right: -40px; width: 350px; height: 350px; background: var(--cyan-light); border-radius: 50%; filter: blur(130px); opacity: .18; z-index: 1; }

.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 48px; padding: 60px 0; }
.hero-content { flex: 1; min-width: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(10,102,194,.08); border: 1px solid rgba(10,102,194,.25); color: var(--blue); padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; color: var(--navy-dark); line-height: 1.15; margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.5vw, 20px); color: var(--gray-600); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(10,102,194,.35); transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,102,194,.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; border: 1px solid rgba(11,58,117,.28);
  color: var(--navy-dark); padding: 14px 32px; border-radius: 12px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: rgba(10,102,194,.05); border-color: var(--blue); color: var(--blue); }

.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat .num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--blue); }
.hero-stat .label { font-size: 14px; color: var(--gray-600); }

.hero-card { flex-shrink: 0; width: 280px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); padding: 24px; border-radius: 16px; box-shadow: var(--shadow-xl); display: none; text-decoration: none; color: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }

/* ===== Hero satellite map ===== */
.hero-map { flex-shrink: 0; width: 340px; position: relative; border-radius: 16px; box-shadow: var(--shadow-xl); overflow: hidden; display: none; }
@media (min-width: 1024px) { .hero-map { display: block; } }
.hero-map-link { display: block; width: 100%; height: 260px; }
.hero-map-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  text-decoration: none; color: inherit; border-top: 1px solid rgba(11,58,117,.1);
  transition: background .2s ease;
}
.hero-map-overlay:hover { background: rgba(255,255,255,1); }
.hero-map-overlay-icon { font-size: 18px; }
.hero-map-overlay-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.hero-map-overlay-text strong { font-size: 14px; color: var(--navy-dark); }
.hero-map-overlay-text span { font-size: 11px; color: var(--gray-600); line-height: 1.4; }
.hero-map-overlay-cta { font-size: 11px; font-weight: 700; color: var(--blue); white-space: nowrap; }
@media (min-width: 1024px) { .hero-card { display: block; } }
a.hero-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(8,35,71,.22); }
.hero-card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.hero-card h4 { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.hero-card p { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin-bottom: 2px; }
.hero-card-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--blue); }
a.hero-card:hover .hero-card-cta { text-decoration: underline; }

/* ===== Section Base ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag { display: inline-block; background: rgba(0,94,159,.08); color: var(--blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; }
.section-title { font-size: clamp(24px, 4vw, 38px); font-weight: 800; color: var(--navy-dark); margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--gray-600); line-height: 1.7; }

/* ===== Services Grid ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-300); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(0,94,159,.08), rgba(60,216,246,.08)); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 600; }
.service-link:hover { color: var(--blue-light); }
.service-features { margin-top: 16px; }
.service-features li { font-size: 13px; color: var(--gray-600); padding: 4px 0; padding-left: 20px; position: relative; }
.service-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ===== Why Choose ===== */
.why-section { background: linear-gradient(180deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.why-section .section-title { color: var(--navy-dark); }
.why-section .section-subtitle { color: var(--gray-600); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.why-card { background: #ffffff; border: 1px solid var(--blue-200); padding: 32px; border-radius: var(--radius); transition: var(--transition); box-shadow: var(--shadow-sm); }
.why-card:hover { background: #ffffff; border-color: rgba(10,102,194,.4); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.why-card .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(10,102,194,.08); border: 1px solid rgba(10,102,194,.16); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ===== Comparison Table ===== */
.comparison-section { background: var(--gray-50); }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.comparison-table th { background: var(--navy-dark); color: #fff; font-weight: 700; font-size: 15px; }
.comparison-table th:nth-child(2) { border-top: 4px solid var(--blue); }
.comparison-table th:nth-child(3) { border-top: 4px solid var(--cyan); }
.comparison-table td:first-child { font-weight: 600; color: var(--navy-dark); background: var(--gray-50); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--gray-50); }
.check { color: #10b981; font-weight: 700; }
.cross { color: #ef4444; font-weight: 700; }

@media (max-width: 768px) {
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 12px 10px; }
}

/* ===== Cost Calculator ===== */
.calculator-section { background: linear-gradient(165deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.calculator-section .section-title { color: var(--navy-dark); }
.calculator-section .section-subtitle { color: var(--gray-600); }
.calc-box { background: #ffffff; border: 1px solid var(--blue-200); border-radius: var(--radius); padding: 40px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow-md); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-field { margin-bottom: 0; }
.calc-field label { display: block; font-size: 14px; color: var(--gray-700); margin-bottom: 8px; font-weight: 600; }
.calc-field select {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: #ffffff; border: 1px solid var(--gray-300);
  color: var(--gray-700); font-size: 15px; outline: none; transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7280' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.calc-field select:disabled {
  opacity: .5; cursor: not-allowed;
  background-color: var(--gray-50);
}
.calc-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,102,194,.12); }
.calc-field select option { background: #ffffff; color: var(--gray-700); }
.calc-result { background: rgba(10,102,194,.06); border: 1px solid rgba(10,102,194,.2); border-radius: 12px; padding: 24px; margin-top: 24px; text-align: center; }
.calc-result .amount { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1.2; letter-spacing: -.5px; }
.calc-result .note { font-size: 13px; color: var(--gray-500); margin-top: 10px; }
.calc-result.contact-only { border-style: dashed; background: rgba(180,83,9,.05); }
.calc-result.contact-only .amount { color: var(--gold); font-size: 26px; }

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 16px auto 4px;
  max-width: 480px;
  font-size: 13px;
  color: var(--gray-600);
  text-align: start;
}
.calc-breakdown .bd-label {
  grid-column: 1 / -1;
  display: block;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .9;
  font-weight: 600;
  border-bottom: 1px solid rgba(11,58,117,.12);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.calc-breakdown .bd-row { display: flex; justify-content: space-between; align-items: baseline; }
.calc-breakdown .bd-row strong { color: var(--navy-dark); font-weight: 700; font-variant-numeric: tabular-nums; }

.calc-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.calc-cta:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,102,194,.3); }

@media (max-width: 560px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result .amount { font-size: 28px; }
}
@media (max-width: 768px) {
  .calc-box { padding: 24px; }
}
@media (max-width: 1024px) {
  .calc-box { padding: 28px; }
}

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--blue); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #fbbf24; font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--navy-dark); }
.testimonial-role { font-size: 12px; color: var(--gray-500); }

/* ===== Blog Cards ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img { width: 100%; height: 180px; background: linear-gradient(135deg, var(--navy-dark), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; flex: 1; }
.blog-card .read-more { margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 600; }
.blog-card .read-more:hover { color: var(--blue-light); }

/* ===== FAQ ===== */
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--gray-200); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--navy-dark); user-select: none; }
.faq-question .arrow { transition: transform .3s ease; color: var(--blue); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ===== Contact Form ===== */
.contact-section { background: linear-gradient(165deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.contact-section .section-title { color: var(--navy-dark); }
.contact-section .section-subtitle { color: var(--gray-600); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--navy-dark); }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(10,102,194,.08); border: 1px solid rgba(10,102,194,.16); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-label { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--navy-dark); font-weight: 600; }
.contact-info-value a { color: var(--blue); }

.contact-form { background: #ffffff; border: 1px solid var(--blue-200); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: #ffffff; border: 1px solid var(--gray-300);
  color: var(--gray-700); font-size: 15px; outline: none; transition: var(--transition); font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,102,194,.12); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select option { background: #ffffff; color: var(--gray-700); }
.form-submit { width: 100%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; padding: 14px; border-radius: 10px; border: none; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,102,194,.4); }
.form-success { display: none; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; padding: 16px; border-radius: 10px; text-align: center; font-size: 14px; margin-top: 16px; }
.form-error { display: none; background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; padding: 16px; border-radius: 10px; text-align: center; font-size: 14px; margin-top: 16px; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== Phone + country code + contact method ===== */
.form-label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; font-weight: 600; }
.phone-group { display: flex; gap: 10px; align-items: stretch; }
.phone-group select { width: 150px; flex-shrink: 0; padding: 12px 12px; }
.phone-group input { flex: 1; min-width: 0; }
.method-group { display: flex; gap: 10px; flex-wrap: wrap; }
.method-chip {
  flex: 1 1 120px; min-width: 110px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px; border-radius: 10px; cursor: pointer;
  background: #ffffff; border: 1px solid var(--gray-300);
  color: var(--gray-700); font-size: 14px; font-weight: 600;
  transition: var(--transition); text-align: center; user-select: none;
}
.method-chip input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.method-chip:hover { border-color: var(--blue); }
.method-chip.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-color: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(10,102,194,.25);
}

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.6); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--cyan); }

/* ===== Footer contact list (v13) ===== */
.footer-contact-title { margin-top: 26px; }
.footer-contact-list { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 12px; position: relative;
  padding: 9px 12px; margin-left: -12px; border-radius: 8px;
  color: rgba(255,255,255,.6);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-contact-item:hover { background: rgba(255,255,255,.06); color: #fff; transform: translateX(2px); }
.footer-contact-icon {
  flex: 0 0 26px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(60,216,246,.12); color: var(--cyan); font-size: 13px; line-height: 1;
}
.footer-contact-body { display: flex; flex-direction: column; min-width: 0; }
.footer-contact-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); line-height: 1.4; }
.footer-contact-value { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; word-break: break-word; }
.footer-contact-item:hover .footer-contact-value { color: var(--cyan); }
.footer-copy-hint { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--cyan); opacity: 0; transition: opacity .25s ease; white-space: nowrap; }
.footer-copy-hint.is-visible { opacity: 1; }

/* ===== Footer Google Map thumbnail (v13) ===== */
.footer-map {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  background: #10243d; border: 1px solid rgba(255,255,255,.08); aspect-ratio: 4 / 3;
}
.footer-map-frame { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.footer-col .footer-map-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 10px; background: linear-gradient(to top, rgba(8,20,35,.72) 0%, rgba(8,20,35,0) 55%);
  transition: background .25s ease;
}
.footer-col .footer-map-overlay:hover { background: linear-gradient(to top, rgba(8,20,35,.86) 0%, rgba(8,20,35,.14) 65%); }
.footer-map-open {
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(10,25,47,.75); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(4px);
}
.footer-col .footer-map-overlay:hover .footer-map-open { color: var(--cyan); border-color: rgba(60,216,246,.5); }
.footer-map-addr { margin-top: 12px; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.72); }
@media (max-width: 480px) { .footer-map { aspect-ratio: 16 / 10; } }

/* ===== Cookie Consent ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px; transform: translateY(100%);
  transition: transform .4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 280px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.6; }
.cookie-text a { color: var(--cyan); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-btn { padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition); }
.cookie-btn-accept { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; }
.cookie-btn-accept:hover { box-shadow: 0 4px 15px rgba(0,94,159,.4); }
.cookie-btn-reject { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.15); }
.cookie-btn-reject:hover { background: rgba(255,255,255,.12); }

/* ===== Legal Pages ===== */
.legal-page { padding: 100px 0 60px; background: var(--white); }
.legal-page h1 { font-size: 32px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--gray-500); margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; font-weight: 700; color: var(--navy-dark); margin: 32px 0 12px; }
.legal-page p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 16px; }
.legal-page ul { margin: 12px 0 16px 20px; }
.legal-page li { font-size: 15px; color: var(--gray-700); line-height: 1.8; list-style: disc; }

/* ===== 404 Page ===== */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(165deg, #f8fbff, var(--blue-100)); text-align: center; }
.not-found h1 { font-size: 120px; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
.not-found h2 { font-size: 28px; color: var(--navy-dark); margin-bottom: 12px; }
.not-found p { font-size: 16px; color: var(--gray-600); margin-bottom: 32px; }

/* ===== Blog Article ===== */
.blog-article { padding: 100px 0 60px; }
.blog-article-header { text-align: center; margin-bottom: 40px; }
.blog-article-header .tag { display: inline-block; background: rgba(0,94,159,.08); color: var(--blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.blog-article-header h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--navy-dark); margin-bottom: 12px; }
.blog-article-header .meta { font-size: 14px; color: var(--gray-500); }
.blog-article-body { font-size: 16px; color: var(--gray-700); line-height: 1.8; }
.blog-article-body h2 { font-size: 24px; font-weight: 700; color: var(--navy-dark); margin: 32px 0 12px; }
.blog-article-body p { margin-bottom: 16px; }
.blog-article-body ul { margin: 12px 0 16px 24px; }
.blog-article-body li { margin-bottom: 8px; list-style: disc; }
.blog-article-body strong { color: var(--navy-dark); }

/* ===== Breadcrumb ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 80px 0 0; font-size: 13px; color: var(--gray-500); }
.breadcrumb a { color: var(--blue); }
.breadcrumb .sep { color: var(--gray-300); }

/* ===== Animations - Respect Reduced Motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .why-card, .blog-card, .testimonial-card { animation: fadeInUp .5s ease-out; }
  @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-inner { padding: 40px 0; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .section-header { margin-bottom: 40px; }
  .calc-box { padding: 24px; }
  .contact-form { padding: 24px; }
  .phone-group { flex-direction: column; }
  .phone-group select { width: 100%; }
}

/* Floating language switcher (used on the 404 page) */
.notfound-lang { position: fixed; top: 16px; right: 16px; z-index: 1000; }

/* =========================================================
   V3 - New Information Architecture components
   ========================================================= */

/* Navbar dropdown toggle buttons (Services / Contact Us) */
.nav-dropdown > button.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  background: none; border: none; cursor: pointer;
  transition: var(--transition); font-family: inherit; white-space: nowrap;
}
.nav-dropdown > button.nav-dropdown-toggle:hover,
.nav-dropdown > button.nav-dropdown-toggle:focus { color: var(--blue); background: rgba(10,102,194,.07); }

/* ===== Hero - handshake background ===== */
.hero-handshake {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 58%; max-width: 680px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; pointer-events: none;
}
.hero-handshake img { width: min(540px, 92%); height: auto; opacity: .16; }
.hero .hero-sub {
  font-size: clamp(17px, 2.6vw, 22px); font-weight: 600;
  color: var(--blue); margin-bottom: 14px;
}
.hero p.lead { margin-bottom: 14px; max-width: 640px; }
.hero-actions { margin-top: 30px; }

/* ===== Offer section (scrolling marquee) ===== */
.offer-section { background: linear-gradient(180deg, #ffffff 0%, #eef4fa 100%); }
.offer-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.offer-track { display: flex; gap: 24px; width: max-content; animation: offerMarquee 40s linear infinite; }
.offer-marquee:hover .offer-track { animation-play-state: paused; }
@keyframes offerMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .offer-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.offer-card {
  display: flex; flex-direction: column;
  width: 280px; flex-shrink: 0;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,94,159,.14);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,94,159,.3); }
.offer-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0,94,159,.1), rgba(60,216,246,.1));
  border: 1px solid rgba(0,94,159,.12);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.offer-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.offer-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.offer-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 700; }
.offer-card:hover .offer-link { color: var(--blue-light); }

/* ===== Why Choose CSF - 5 columns with solid separators ===== */
.why5-section { background: linear-gradient(180deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.why5-section .section-title { color: var(--navy-dark); }
.why5-section .section-subtitle { color: var(--gray-600); }
.why5-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.why5-col {
  padding: 8px 26px 8px 26px;
  border-inline-start: 1px solid rgba(11,58,117,.14);
}
.why5-col:first-child { border-inline-start: none; padding-inline-start: 0; }
.why5-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(10,102,194,.08); border: 1px solid rgba(10,102,194,.16);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.why5-col h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.why5-col p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }
@media (max-width: 992px) {
  .why5-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .why5-col { border-inline-start: none; padding: 0 20px 0 0; }
  .why5-col:nth-child(2) { border-inline-start: 1px solid rgba(11,58,117,.14); padding-inline-start: 24px; }
  .why5-col:nth-child(n+3) { border-top: 1px solid rgba(11,58,117,.12); padding-top: 24px; }
  .why5-col:nth-child(4) { border-inline-start: 1px solid rgba(11,58,117,.14); padding-inline-start: 24px; }
  .why5-col:first-child { padding-inline-start: 0; }
  .why5-col:nth-child(3) { padding-inline-start: 0; }
}
@media (max-width: 560px) {
  .why5-grid { grid-template-columns: 1fr; }
  .why5-col, .why5-col:nth-child(2), .why5-col:nth-child(4) { border-inline-start: none; padding: 20px 0 0; border-top: 1px solid rgba(11,58,117,.12); }
  .why5-col:first-child { border-top: none; padding-top: 0; }
}

/* ===== Testimonials - auto-scrolling marquee =====
   轨道 = N 张卡片 × 2 份副本，translateX(-50%) 实现无缝循环；
   时长需与 N 同比（当前 8 张 / 40s，约 36px/s），改卡片数量时记得同步。 */
.testi-marquee { overflow: hidden; padding: 8px 0 12px; }
.testi-track {
  display: flex; gap: 24px; width: max-content;
  animation: testiMarquee 40s linear infinite;
}
.testi-marquee:hover .testi-track { animation-play-state: paused; }
@keyframes testiMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-slide {
  width: 340px; flex-shrink: 0;
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .testi-slide { width: min(340px, 92vw); }
}

/* ===== Blog - view all link ===== */
.blog-viewall { text-align: center; margin-top: 36px; }
.blog-viewall a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 15px; }
.blog-viewall a:hover { color: var(--blue-light); }

/* ===== Contact - 3 columns ===== */
.contact3-section { background: linear-gradient(165deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.contact3-section .section-title { color: var(--navy-dark); }
.contact3-section .section-subtitle { color: var(--gray-600); }
.contact3-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 40px; align-items: start; }
.contact3-col { background: #ffffff; border: 1px solid var(--blue-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact3-col > h3 { font-size: 18px; font-weight: 700; color: var(--navy-dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(11,58,117,.1); }
.contact3-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 10px; border-radius: 10px;
  transition: var(--transition); color: inherit;
}
a.contact3-item:hover { background: rgba(10,102,194,.06); }
.contact3-item.contact3-copy { cursor: pointer; user-select: none; }
.contact3-item.contact3-copy:hover { background: rgba(10,102,194,.06); }
.contact3-item.contact3-copy.copied { background: rgba(24,153,214,.1); }
.contact3-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(10,102,194,.08); border: 1px solid rgba(10,102,194,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--blue);
}
.contact3-body { display: flex; flex-direction: column; min-width: 0; }
.contact3-label { font-size: 12px; color: var(--gray-500); margin-bottom: 3px; }
.contact3-value { font-size: 14px; color: var(--navy-dark); font-weight: 600; line-height: 1.55; word-break: break-word; }
.contact3-value .copy-hint { font-size: 12px; color: var(--blue); margin-inline-start: 6px; }
.contact3-item.contact3-copy.copied .copy-hint::after { content: ''; }
.contact3-map {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid rgba(10,102,194,.4); color: var(--blue);
  font-size: 13px; font-weight: 700; transition: var(--transition);
}
.contact3-map:hover { background: rgba(10,102,194,.08); }
.contact3-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact3-logo { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 26px; color: var(--navy-dark); margin-bottom: 16px; }
.contact3-logo .logo-text { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.contact3-logo .logo-sub { font-size: 14px; color: var(--gray-500); font-weight: 400; }
.contact3-brand p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
@media (max-width: 992px) {
  .contact3-grid { grid-template-columns: 1fr 1fr; }
  .contact3-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .contact3-grid { grid-template-columns: 1fr; }
}

/* ===== Consultation form (light variant) ===== */
.consult-form-section { background: var(--gray-50); }
.consult-form-section .section-title { color: var(--navy-dark); }
.consult-form-section .section-subtitle { color: var(--gray-600); }
.consult-form-section .contact-form {
  background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.consult-form-section .form-field label { color: var(--gray-700); }
.consult-form-section .form-field input,
.consult-form-section .form-field select,
.consult-form-section .form-field textarea {
  background: var(--white); border: 1px solid var(--gray-300); color: var(--gray-700);
}
.consult-form-section .form-field input:focus,
.consult-form-section .form-field select:focus,
.consult-form-section .form-field textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,94,159,.1); }
.consult-form-section .form-field select option { background: #fff; color: var(--gray-700); }
.consult-form-section .form-success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.35); color: #059669; }
.consult-form-section .form-error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); color: #dc2626; }

/* =========================================================
   V4 - Sub-page components (company formation & all service pages)
   ========================================================= */

/* ===== Sub-page hero (compact variant of .hero) ===== */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: center;
  background: linear-gradient(165deg, #f8fbff 0%, #eaf3fc 55%, #dcecfb 100%); overflow: hidden; padding-top: 64px;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(1200px 500px at 85% 10%, rgba(10,102,194,.14) 0%, transparent 55%), linear-gradient(135deg, rgba(248,251,255,.95) 0%, rgba(234,243,252,.85) 60%, rgba(220,236,251,.6) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 70px 0 80px; max-width: 800px; }
.page-hero h1 { font-size: clamp(26px, 4.5vw, 46px); font-weight: 800; color: var(--navy-dark); line-height: 1.18; margin-bottom: 16px; }
.page-hero .hero-sub {
  font-size: clamp(17px, 2.6vw, 22px); font-weight: 600;
  color: var(--blue); margin-bottom: 0;
}
.page-hero .hero-actions { margin-top: 32px; }
@media (max-width: 768px) {
  .page-hero { min-height: auto; padding-top: 84px; }
  .page-hero-content { padding: 44px 0 56px; }
}

/* ===== Quick links (Mainland or Freezone?) ===== */
.cf-links-section { background: var(--gray-50); }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.quick-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.quick-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.quick-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,94,159,.1), rgba(60,216,246,.1));
  border: 1px solid rgba(0,94,159,.12);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.quick-link .txt { flex: 1; font-size: 15px; font-weight: 600; color: var(--navy-dark); }
.quick-arrow { color: var(--blue); font-weight: 700; transition: transform .25s ease; }
.quick-link:hover .quick-arrow { transform: translateX(4px); }

/* ===== Info article blocks (Mainland / Freezone) ===== */
.info-block { max-width: 860px; margin: 0 auto; text-align: center; }
.info-block .section-tag { margin-bottom: 12px; }
.info-block .section-title { margin-bottom: 28px; }
.info-para { font-size: 15.5px; color: var(--gray-700); line-height: 1.9; margin-bottom: 22px; text-align: left; }
.info-sub { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin-bottom: 14px; text-align: left; }
.feature-list { margin: 0 0 24px; text-align: left; }
.feature-list li {
  font-size: 14.5px; color: var(--gray-700); line-height: 1.75;
  padding: 6px 0 6px 28px; position: relative;
}
.feature-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 6px;
  color: var(--blue); font-weight: 800;
}
.suit-box {
  background: rgba(0,94,159,.05); border: 1px solid rgba(0,94,159,.14);
  border-radius: var(--radius); padding: 26px 30px; margin: 6px 0 24px;
  text-align: left;
}
.suit-box h4 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.suit-box ul { margin: 0; }
.suit-box li { font-size: 14px; color: var(--gray-700); padding: 5px 0 5px 22px; position: relative; line-height: 1.7; }
.suit-box li::before { content: '\25AA'; position: absolute; left: 2px; top: 5px; color: var(--cyan-deep); font-size: 12px; }

/* ===== Comparison table wrapper ===== */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--white); }
.comparison-wrap .comparison-table { box-shadow: none; min-width: 720px; }
.cmp-actions { text-align: center; margin-top: 36px; }

/* ===== Guide download form (bright CTA block) ===== */
.guide-section { background: linear-gradient(165deg, var(--blue-50), var(--blue-100)); color: var(--gray-700); }
.guide-section .section-title { color: var(--navy-dark); }
.guide-section .section-subtitle { color: var(--gray-600); }
.guide-box {
  max-width: 640px; margin: 0 auto;
  background: #ffffff; border: 1px solid var(--blue-200);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md);
}
.guide-box .form-field label { color: var(--gray-700); }
.guide-box .form-field input {
  background: #ffffff; border: 1px solid var(--gray-300);
  color: var(--gray-700);
}
.guide-box .form-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,102,194,.12); }
.guide-box .form-field input::placeholder { color: var(--gray-500); }
.guide-box .form-field input:-webkit-autofill { -webkit-text-fill-color: var(--gray-700); -webkit-box-shadow: 0 0 0 1000px #ffffff inset; }
.guide-success { display: none; text-align: center; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.3); border-radius: 12px; padding: 26px; margin-top: 20px; }
.guide-success .msg { color: #059669; font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.guide-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #ffffff; padding: 13px 30px; border-radius: 10px;
  font-weight: 800; font-size: 14px; transition: var(--transition);
}
.guide-download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,102,194,.35); }
.guide-note { font-size: 12px; color: var(--gray-500); text-align: center; margin-top: 18px; }
@media (max-width: 640px) { .guide-box { padding: 24px; } }

/* ===== Visa page - intro & chips (5 visa types) ===== */
.visa-intro-section { background: var(--gray-50); }
.visa-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.visa-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 14px; font-weight: 600; color: var(--navy-dark);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.visa-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.visa-chips-note { text-align: center; font-size: 13px; color: var(--gray-500); margin-top: 18px; }

/* ===== Visa cards (investor 4 / employment 3 / freelancer 2) ===== */
.visa-detail-section { background: var(--white); }
.visa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.visa-grid-3 { max-width: 980px; margin: 0 auto; }
.visa-grid-2 { max-width: 820px; margin: 0 auto; }
.visa-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.visa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.visa-card.highlight {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  box-shadow: 0 12px 32px rgba(0,94,159,.16);
}
.visa-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.visa-tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(0,94,159,.08); color: var(--blue);
}
.visa-tag.hot { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.visa-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-dark); margin-bottom: 12px; line-height: 1.35; }
.visa-dur {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.visa-card .c1 { font-size: 15px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.visa-card .c2 { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; flex: 1; }
.visa-link {
  margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.visa-link:hover { color: var(--blue-light); }
.vs-inv-intro { margin-top: 10px; font-weight: 700; color: var(--navy-dark); }

/* ===== Freelancer compare ===== */
.fl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto 48px; }
.fl-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
}
.fl-card h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); display: inline-block; }
.fl-card p { font-size: 14px; color: var(--gray-600); line-height: 1.8; }

/* ===== Steps (4-step process) ===== */
.steps-section { background: var(--gray-50); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  position: relative; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 32px 24px 26px;
  box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===== Stats bar ===== */
.stats-section { background: linear-gradient(135deg, var(--navy-dark), var(--blue)); color: #fff; }
.stats-section .section-title { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-num { font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: var(--cyan-light); line-height: 1.1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }

/* ===== CTA split (text + direct contact) ===== */
.cta-split-section { background: linear-gradient(135deg, var(--navy-dark), var(--blue)); color: #fff; }
.cta-split-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.cta-left .section-title { color: #fff; text-align: left; }
.cta-left .section-subtitle { color: rgba(255,255,255,.6); text-align: left; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 18px; }
.cta-right {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px;
}
.cta-contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 6px; border-radius: 10px; transition: var(--transition); color: inherit; }
a.cta-contact-item:hover { background: rgba(255,255,255,.06); }
.cta-contact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(60,216,246,.1); border: 1px solid rgba(60,216,246,.16);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--cyan);
}
.cta-contact-body { display: flex; flex-direction: column; min-width: 0; }
.cta-contact-label { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.cta-contact-value { font-size: 14px; color: #fff; font-weight: 600; line-height: 1.55; word-break: break-word; }
@media (max-width: 860px) {
  .cta-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .fl-compare { grid-template-columns: 1fr; }
}

/* ===== V5: PRO & Government Services page ===== */
.pro-what-block { max-width: 860px; margin: 0 auto; }
.pro-what-block .info-para + .info-para { margin-top: 14px; }

/* Services carousel */
.pro-carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.pro-carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.pro-carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  direction: ltr; /* keep slide order stable in RTL; JS mirrors translation */
}
.pro-card {
  flex: 0 0 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(10, 25, 47, .08);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(10, 25, 47, .06);
  transition: var(--transition);
}
.pro-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pro-card-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(60,216,246,.14), rgba(74,114,255,.14));
  border: 1px solid rgba(60,216,246,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.pro-card h3 { font-size: 20px; margin: 0; }
.pro-card-sub { color: var(--cyan); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.pro-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro-card-list li {
  position: relative; padding-inline-start: 26px;
  color: rgba(10, 25, 47, .78); font-size: 15px; line-height: 1.65;
}
.pro-card-list li::before {
  content: '\2713'; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--cyan); font-weight: 700;
}
.pro-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.pro-carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(10, 25, 47, .18); padding: 0; transition: var(--transition);
}
.pro-carousel-dots button.active { background: var(--cyan); width: 26px; border-radius: 6px; }
.pro-carousel-dots button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (min-width: 700px) {
  .pro-card { padding: 40px 36px; }
  .pro-carousel-dots { display: none; } /* multi-slide view on desktop */
}
@media (min-width: 700px) {
  /* show all 4 cards on desktop */
  .pro-carousel-track { flex-wrap: wrap; gap: 24px; transform: none !important; }
  .pro-card { flex: 1 1 calc(50% - 12px); }
}
@media (min-width: 1024px) {
  .pro-card { flex: 1 1 calc(25% - 18px); }
}

/* Risk scenarios */
.pro-risk-section { background: #fff; }
.pro-risk-list {
  display: grid; gap: 16px; max-width: 920px; margin: 0 auto 44px;
}
.pro-risk-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--gray-50); border: 1px solid rgba(10, 25, 47, .07);
  border-inline-start: 3px solid #ff5d5d;
  border-radius: 12px; padding: 18px 22px;
}
.pro-risk-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 93, 93, .12); color: #e04141;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.pro-risk-item p { margin: 2px 0 0; font-size: 15px; line-height: 1.7; color: rgba(10, 25, 47, .8); }

/* Compliance plans */
.pro-plan-h {
  text-align: center; font-size: 22px; margin: 0 0 28px;
  color: var(--navy-dark);
}
.pro-plan-grid {
  display: grid; gap: 20px; max-width: 1000px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .pro-plan-grid { grid-template-columns: 1fr 1fr; } }
.pro-plan-card {
  background: linear-gradient(180deg, rgba(60,216,246,.06), rgba(74,114,255,.05));
  border: 1px solid rgba(60,216,246,.18);
  border-radius: var(--radius); padding: 26px 24px;
  transition: var(--transition);
}
.pro-plan-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(60,216,246,.14); }
.pro-plan-card h4 { margin: 0 0 10px; font-size: 17px; color: var(--navy-dark); }
.pro-plan-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(10, 25, 47, .72); }

/* ===== V6: Banking & Tax page ===== */
.tax-grid {
  display: grid; gap: 22px; max-width: 1000px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .tax-grid { grid-template-columns: 1fr 1fr; } }
.tax-card {
  background: #fff; border: 1px solid rgba(10, 25, 47, .08);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: 0 8px 30px rgba(10, 25, 47, .05);
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.tax-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(10, 25, 47, .1); }
.tax-card-head { display: flex; align-items: center; gap: 10px; }
.tax-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(60,216,246,.14), rgba(74,114,255,.14));
  border: 1px solid rgba(60,216,246,.22);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.tax-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--cyan); background: rgba(60,216,246,.1);
  padding: 4px 10px; border-radius: 20px;
}
.tax-card h3 { margin: 0; font-size: 21px; color: var(--navy-dark); }
.tax-key {
  margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.65;
  color: var(--navy-dark); border-inline-start: 3px solid var(--cyan);
  padding-inline-start: 12px;
}
.tax-desc { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(10, 25, 47, .72); }

/* Business types grid */
.bt-biz-grid {
  display: grid; gap: 18px; max-width: 1040px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bt-biz-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .bt-biz-grid { grid-template-columns: repeat(3, 1fr); } }
.bt-biz-item {
  background: var(--gray-50); border: 1px solid rgba(10, 25, 47, .07);
  border-radius: 14px; padding: 24px 22px;
  transition: var(--transition);
}
.bt-biz-item:hover { background: #fff; box-shadow: 0 10px 26px rgba(10, 25, 47, .08); }
.bt-biz-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--navy-dark); }
.bt-biz-item p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(10, 25, 47, .72); }

/* What we do grid */
.bt-do-grid {
  display: grid; gap: 20px; max-width: 1000px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .bt-do-grid { grid-template-columns: 1fr 1fr; } }
.bt-do-item {
  background: linear-gradient(180deg, rgba(60,216,246,.06), rgba(74,114,255,.05));
  border: 1px solid rgba(60,216,246,.18);
  border-radius: var(--radius); padding: 26px 24px;
  transition: var(--transition);
}
.bt-do-item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(60,216,246,.14); }
.bt-do-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px;
}
.bt-do-item h4 { margin: 0 0 8px; font-size: 16.5px; color: var(--navy-dark); }
.bt-do-item p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(10, 25, 47, .72); }

/* ===== V7: About page ===== */
.ab-vmax-badge {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--navy-dark); color: #fff;
  border: 1px solid rgba(60,216,246,.35);
  padding: 12px 28px; border-radius: 999px;
  font-size: 26px; font-weight: 800; letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(10, 25, 47, .18);
  margin-bottom: 30px;
}
.ab-vmax-badge span { font-size: 13px; font-weight: 600; letter-spacing: 4px; color: var(--cyan); }

/* APEC alliance authorization highlight (about page) */
.ab-vmax-apec { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, rgba(10,102,194,.06), rgba(10,102,194,.02)); border: 1px solid rgba(10,102,194,.22); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 24px 26px; margin: 30px auto 0; text-align: left; max-width: 860px; }
.ab-vmax-apec-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(10,102,194,.3); }
.ab-vmax-apec-body { flex: 1; min-width: 0; }
.ab-vmax-apec-title { font-size: 18px; font-weight: 700; color: var(--navy-dark); margin: 0 0 10px; line-height: 1.4; }
.ab-vmax-apec-body p { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 8px; }
.ab-vmax-apec-body p:last-child { margin-bottom: 0; }

/* VMAX official website entrance + preview (about page) */
.ab-vmax-site { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 36px; text-align: left; max-width: 980px; margin-left: auto; margin-right: auto; }
.ab-vmax-site-text .section-tag { margin-bottom: 10px; }
.ab-vmax-site-title { font-size: 22px; font-weight: 700; color: var(--navy-dark); margin: 0 0 10px; line-height: 1.35; }
.ab-vmax-site-text p { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 14px; }
.ab-vmax-site-link { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 15px; font-weight: 600; box-shadow: 0 4px 14px rgba(10,102,194,.3); transition: var(--transition); }
.ab-vmax-site-link::after { content: ""; display: inline-block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.ab-vmax-site-link:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,102,194,.4); }
.ab-vmax-site-preview { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: 0 10px 30px rgba(10,25,47,.12); transition: var(--transition); }
.ab-vmax-site-preview:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,102,194,.25); }
.ab-vmax-site-preview img { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
  .ab-vmax-site { grid-template-columns: 1fr; gap: 22px; }
  .ab-vmax-apec { flex-direction: column; gap: 12px; padding: 20px; }
}

/* About page hero logos (APEC + CSF) */
.ab-hero-logos { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.ab-hero-logo { display: block; }
.apec-logo { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(10,25,47,.12)); }
.ab-hero-logo-divider { width: 1px; height: 70px; background: rgba(10,25,47,.18); }
.csf-logo { display: flex; align-items: center; gap: 12px; }
.csf-logo-mark { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; font-size: 36px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(10,102,194,.32); line-height: 1; }
.csf-logo-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--navy-dark); }
.csf-logo-text strong { font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.csf-logo-text small { font-size: 12px; color: var(--gray-500); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 520px) {
  .apec-logo { width: 84px; height: 84px; }
  .csf-logo-mark { width: 52px; height: 52px; font-size: 30px; }
  .csf-logo-text strong { font-size: 22px; }
  .ab-hero-logo-divider { height: 56px; }
}

/* CSF brand image (new logo) - navbar + about hero */
.csf-brand-img { display: block; height: 34px; width: auto; }
.ab-hero-logo.csf-logo { display: block; width: 200px; height: auto; }
@media (max-width: 520px) {
  .csf-brand-img { height: 26px; }
  .ab-hero-logo.csf-logo { width: 150px; }
}

/* APEC/VMAX documents & ceremonies gallery (about page) */
.ab-vmax-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 32px auto 0; }
.ab-vmax-fig { margin: 0; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ab-vmax-fig:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ab-vmax-fig img { display: block; width: 100%; height: 220px; object-fit: cover; background: var(--gray-50); }
.ab-vmax-fig figcaption { font-size: 14px; color: var(--gray-700); font-weight: 600; padding: 12px 16px; text-align: center; background: #fff; border-top: 1px solid var(--gray-100); }
@media (max-width: 600px) {
  .ab-vmax-gallery { grid-template-columns: 1fr; }
  .ab-vmax-fig img { height: 200px; }
}

/* Core services (4 cards) */
.ab-svc-grid {
  display: grid; gap: 22px; max-width: 1080px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .ab-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ab-svc-grid { grid-template-columns: repeat(4, 1fr); } }
.ab-svc-card {
  background: #fff; border: 1px solid rgba(10, 25, 47, .08);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 8px 30px rgba(10, 25, 47, .05);
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 14px;
}
.ab-svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(10, 25, 47, .1); }
.ab-svc-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(60,216,246,.14), rgba(74,114,255,.14));
  border: 1px solid rgba(60,216,246,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.ab-svc-card h3 { margin: 0; font-size: 17.5px; line-height: 1.4; color: var(--navy-dark); }
.ab-svc-card p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(10, 25, 47, .72); }

/* China - UAE bridge */
.ab-bridge-grid {
  display: grid; gap: 24px; max-width: 960px; margin: 0 auto 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) { .ab-bridge-grid { grid-template-columns: 1fr auto 1fr; gap: 28px; } }
.ab-bridge-side {
  background: #fff; border: 1px solid rgba(10, 25, 47, .08);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: 0 8px 30px rgba(10, 25, 47, .06);
}
.ab-bridge-side h3 {
  margin: 0 0 16px; font-size: 20px; font-weight: 800;
  color: var(--navy-dark); text-align: center; letter-spacing: .02em;
}
.ab-bridge-cn-tag { color: var(--blue); }
.ab-bridge-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ab-bridge-list li {
  position: relative; padding-inline-start: 26px;
  color: rgba(10, 25, 47, .8); font-size: 15px; line-height: 1.6;
}
.ab-bridge-list li::before {
  content: '\2713'; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--cyan); font-weight: 700;
}
.ab-bridge-connector {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; padding: 6px 0;
}
.ab-bridge-line { flex: 1; max-width: 90px; height: 2px; background: linear-gradient(90deg, rgba(60,216,246,.15), rgba(60,216,246,.65)); }
.ab-bridge-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 94, 159, .3);
}
@media (max-width: 819px) {
  .ab-bridge-connector { flex-direction: column; }
  .ab-bridge-line { width: 2px; height: 44px; max-width: none; flex: none; background: linear-gradient(180deg, rgba(60,216,246,.15), rgba(60,216,246,.65)); }
}

/* Bridge flow (3 steps under the diagram) */
.ab-bridge-flow {
  display: grid; gap: 18px; max-width: 960px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .ab-bridge-flow { grid-template-columns: repeat(3, 1fr); } }
.ab-bridge-flow-item {
  background: linear-gradient(180deg, rgba(60,216,246,.06), rgba(74,114,255,.05));
  border: 1px solid rgba(60,216,246,.18);
  border-radius: var(--radius); padding: 22px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: var(--transition);
}
.ab-bridge-flow-item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(60,216,246,.14); }
.ab-bridge-flow-item span:last-child { font-size: 14.5px; line-height: 1.6; color: rgba(10, 25, 47, .8); font-weight: 600; }
.ab-bridge-flow-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* Closing CTA panel */
.ab-end-cta {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(10, 25, 47, .97) 0%, rgba(17, 28, 44, .95) 55%, rgba(0, 94, 159, .75) 100%);
  border: 1px solid rgba(60, 216, 246, .25);
  border-radius: 24px; padding: 56px 32px;
  box-shadow: 0 18px 50px rgba(10, 25, 47, .22);
}
.ab-end-title { color: #fff; font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 14px; }
.ab-end-p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.7; max-width: 620px; margin: 0 auto 28px; }

/* =========================================================
   V9 - Multilingual Layout Polish & Responsive Refinements
   ========================================================= */

/* Hero card tablet adjustments — card visible from 1024px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-inner { gap: 32px; }
  .hero-card { width: 240px; padding: 20px; }
  .hero-map { width: 300px; }
  .hero-map-link { height: 220px; }
  .hero-card-icon { width: 42px; height: 42px; font-size: 21px; }
}
@media (max-width: 1023px) {
  .hero-inner { padding: 50px 0; }
}

/* ===== Other Services page (other-services.html) ===== */
.os-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch;
}
.os-card {
  background: #fff;
  border: 1px solid rgba(10, 25, 47, .08);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(10, 25, 47, .06);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.os-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.os-card .pro-card-head { margin-bottom: 6px; }
.os-card .pro-card-sub { margin-bottom: 14px; }
.os-card-p { font-size: 14.5px; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; }
.os-card .pro-card-list { margin-top: auto; }

/* Construction qualification services — scrolling marquee */
.qa-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.qa-track { display: flex; gap: 24px; width: max-content; animation: qaMarquee 32s linear infinite; }
.qa-marquee:hover .qa-track { animation-play-state: paused; }
.qa-track .os-card { width: 340px; flex-shrink: 0; }
@keyframes qaMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .qa-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .qa-track .os-card { width: auto; }
}

/* Chinese — card text needs balanced line breaks */
html[lang="zh"] .hero h1 { max-width: 100%; }
html[lang="zh"] .hero p.lead { max-width: 640px; }
html[lang="zh"] .offer-card p,
html[lang="zh"] .why5-col p,
html[lang="zh"] .visa-card .c2,
html[lang="zh"] .pro-card-list li,
html[lang="zh"] .os-card-p,
html[lang="zh"] .tax-desc,
html[lang="zh"] .bt-biz-item p,
html[lang="zh"] .ab-svc-card p { word-break: break-word; }

/* General polish — better section rhythm */
.section-header { margin-bottom: 52px; }
.section-tag { letter-spacing: 1.5px; }
.section-title { letter-spacing: -.02em; }

/* Hero content max-width for consistent text column */
.hero-content { max-width: 680px; }
.hero h1 { max-width: 100%; }

/* Ensure card headings don't clip in CJK */
html[lang="zh"] .offer-card h3,
html[lang="zh"] .visa-card h3,
html[lang="zh"] .tax-card h3,
html[lang="zh"] .ab-svc-card h3,
html[lang="zh"] .os-card h3 { word-break: break-word; }

/* Calculator output — better readability in CJK */
html[lang="zh"] .calc-result-row span:last-child,
html[lang="zh"] .calc-total-row span:last-child { font-weight: 800; }

/* Page hero — ensure title wraps nicely in CJK */
html[lang="zh"] .page-hero h1 { line-height: 1.3; }

/* FAQ items — more breathing room for CJK/RTL */
html[lang="zh"] .faq-question { line-height: 1.6; }

/* Testimonials — CJK readability */
html[lang="zh"] .testimonial-card p { line-height: 1.8; }

/* Blog cards — CJK title wrapping */
html[lang="zh"] .blog-card h3 { line-height: 1.5; }

/* Nav links — prevent mid-word wrapping */
.nav-links > li > a,
.nav-dropdown-toggle { white-space: nowrap; }

/* Button text — prevent clipping in CJK/RTL */
.btn-primary, .btn-outline, .nav-cta { white-space: nowrap; }


/* =========================================================
   V14 - Split hero + banded sections + galleries + consultation pages
   ========================================================= */

/* ===== Split hero: copy left / guide form right ===== */
.page-hero--split { align-items: center; }
.page-hero--split > .container { width: 100%; position: relative; z-index: 3; }
.hero-split {
  display: grid; grid-template-columns: minmax(0, 1fr) 404px;
  gap: 56px; align-items: center; padding: 62px 0 74px;
}
.hero-split-copy { max-width: 620px; }
.hero-split-copy h1 { margin-bottom: 16px; }
.hero-points { margin: 30px 0 0; }
.hero-points li {
  position: relative; padding: 6px 0 6px 32px;
  font-size: 15.5px; color: var(--gray-700); line-height: 1.6;
}
.hero-points li::before {
  content: '\2713'; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(10,102,194,.12); color: var(--blue);
  font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  font-family: Arial, sans-serif;
}
.hero-form-card {
  background: var(--white); border-radius: 18px; padding: 32px 30px 26px;
  border: 1px solid rgba(10,102,194,.12);
  box-shadow: 0 22px 52px rgba(9,32,60,.14);
  scroll-margin-top: 96px;
}
.hero-form-card h3 {
  font-size: 19px; font-weight: 800; color: var(--navy-dark);
  line-height: 1.4; margin-bottom: 10px;
}
.hero-form-sub { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; margin-bottom: 22px; }
.hero-form-card .form-field { margin-bottom: 15px; }
.hero-form-card .form-field label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--gray-700); margin-bottom: 7px;
}
.hero-form-card .form-field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--gray-300); background: var(--gray-50);
  font-size: 14px; font-family: inherit; color: var(--gray-700);
}
.hero-form-card .form-field input:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(10,102,194,.12);
}
.hero-form-card .form-submit { width: 100%; margin-top: 6px; }
.hero-form-card .guide-success { margin-top: 18px; padding: 20px; }
.hero-form-card .guide-note { margin-top: 14px; }
/* v20.4: the shared .form-error palette is light-on-red for dark sections; on
   this white card the text has to go dark or it is unreadable. */
.hero-form-card .form-error {
  background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); color: #dc2626;
  font-size: 13.5px; text-align: left; line-height: 1.6; padding: 12px 14px; margin-top: 14px;
}
/* Lead did not reach the call centre - the visitor still gets the PDF, but is
   pushed to a direct channel instead of assuming we have their details. */
.guide-success .guide-warn {
  color: #b45309; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.32);
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.65;
  text-align: left; margin-bottom: 16px;
}

/* ===== Banded content blocks (Mainland / Freezone / Comparison) ===== */
.cf-band { position: relative; overflow: hidden; }
.cf-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 1; }
.cf-band > .container { position: relative; z-index: 2; }
.cf-band--mainland { background: linear-gradient(180deg, #f3f9ff 0%, #e2f0fd 100%); }
.cf-band--mainland::before { background: var(--blue); }
.cf-band--freezone { background: linear-gradient(180deg, #f0fcfe 0%, #dcf4fa 100%); }
.cf-band--freezone::before { background: var(--cyan); }
.cf-band--compare { background: linear-gradient(180deg, #f5f7ff 0%, #e9effb 100%); }
.cf-band--compare::before { background: linear-gradient(90deg, var(--blue) 0 50%, var(--cyan) 50% 100%); }

.cf-band .info-block {
  max-width: 940px; background: var(--white); border-radius: 20px;
  padding: 46px 44px 38px; box-shadow: 0 16px 42px rgba(9,32,60,.09);
}
.cf-band--mainland .info-block { border-top: 4px solid var(--blue); }
.cf-band--freezone .info-block { border-top: 4px solid var(--cyan); }

/* ===== Image gallery inside banded blocks ===== */
.cf-gallery { display: grid; gap: 18px; margin: 0 0 32px; }
.cf-gallery--2 { grid-template-columns: 1fr 1fr; }
.cf-gallery figure {
  margin: 0; background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: 0 10px 26px rgba(9,32,60,.1);
}
.cf-gallery img { width: 100%; height: 208px; object-fit: cover; }
.cf-gallery figcaption {
  font-size: 12.5px; color: var(--gray-600); line-height: 1.6;
  padding: 12px 16px; text-align: left;
}

/* ===== Comparison legend chips ===== */
.cf-legend { display: flex; gap: 12px; justify-content: center; margin: 0 0 26px; flex-wrap: wrap; }
.cf-legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--navy-dark);
  background: var(--white); border-radius: 999px; padding: 8px 18px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.cf-legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.cf-legend .cf-legend--mainland::before { background: var(--blue); }
.cf-legend .cf-legend--freezone::before { background: var(--cyan); }

/* ===== Consultation pages: steps / model cards ===== */
.bc-steps-section { background: var(--gray-50); }
.bc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bc-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bc-step {
  background: var(--white); border-radius: 16px; padding: 30px 26px;
  border-top: 4px solid var(--blue); box-shadow: 0 12px 30px rgba(9,32,60,.07);
}
.bc-step-num {
  display: inline-block; min-width: 38px; height: 38px; line-height: 38px;
  text-align: center; border-radius: 10px; padding: 0 8px;
  background: rgba(10,102,194,.1); color: var(--blue);
  font-weight: 800; font-size: 14px; margin-bottom: 18px;
}
.bc-step h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); line-height: 1.45; margin-bottom: 10px; }
.bc-step p { font-size: 14.5px; color: var(--gray-600); line-height: 1.75; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-split { grid-template-columns: minmax(0, 1fr) 372px; gap: 40px; }
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 58px; }
  .hero-split-copy { max-width: none; }
  .cf-gallery--2 { grid-template-columns: 1fr; }
  .bc-steps, .bc-steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cf-band .info-block { padding: 30px 20px 24px; border-radius: 16px; }
  .hero-form-card { padding: 24px 20px 20px; border-radius: 16px; }
  .cf-gallery img { height: 180px; }
  .bc-steps, .bc-steps--4 { grid-template-columns: 1fr; }
  .hero-points li { font-size: 15px; }
}

/* =========================================================
   V17 - Visa hero: vertical visa-type menu on the right
   ========================================================= */
.hero-lede { margin-top: 16px; font-size: 15.5px; color: var(--gray-600); line-height: 1.75; }
.hero-visa-menu {
  background: var(--white); border-radius: 18px; padding: 26px 24px 20px;
  border: 1px solid rgba(10,102,194,.12);
  box-shadow: 0 22px 52px rgba(9,32,60,.14);
}
.hero-visa-menu-title {
  font-size: 17px; font-weight: 800; color: var(--navy-dark);
  line-height: 1.4; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}
.visa-chips--col { flex-direction: column; flex-wrap: nowrap; gap: 10px; justify-content: flex-start; }
.visa-chips--col .visa-chip {
  width: 100%; justify-content: flex-start;
  padding: 13px 16px; border-radius: 12px; font-size: 14.5px;
}
.visa-chips--col .visa-chip::after {
  content: '\203A'; margin-left: auto; font-size: 22px; line-height: 1;
  color: var(--gray-300); font-family: Arial, sans-serif; transition: var(--transition);
}
.visa-chips--col .visa-chip:hover::after { color: var(--blue); }
.hero-visa-menu .visa-chips-note { text-align: left; margin: 16px 0 0; }
.visa-grid + .visa-grid { margin-top: 24px; }
.gv-controls + .visa-grid { margin-top: 24px; }

/* ===== V18: 黄金签证卡片横向滚动轮播 ===== */
.gv-track {
  display: flex; gap: 24px; align-items: stretch;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  /* 内边距给卡片 hover 上浮与阴影留出空间，外边距再抵消回来 */
  padding: 6px 4px 24px; margin: -6px -4px -24px;
}
.gv-track::-webkit-scrollbar { display: none; height: 0; }
.gv-track > .visa-card {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
/* 轨道内卡片不再需要整体上浮动画带来的抖动，保留阴影增强即可 */
.gv-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gv-track.is-dragging * { pointer-events: none; }

/* 控件：左右箭头 + 圆点 */
.gv-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-top: 26px;
}
.gv-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--gray-200);
  color: var(--navy-dark); font-size: 26px; line-height: 1;
  font-family: Arial, sans-serif; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  padding: 0 0 4px;
}
.gv-arrow span { display: block; }
.gv-arrow:hover:not([disabled]) {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 10px 24px rgba(0,94,159,.28); transform: translateY(-2px);
}
.gv-arrow[disabled] { opacity: .35; cursor: not-allowed; }
.gv-arrow:focus-visible { outline: 3px solid rgba(0,94,159,.35); outline-offset: 2px; }

.gv-dots { display: flex; align-items: center; gap: 9px; }
.gv-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: var(--gray-300); cursor: pointer; transition: var(--transition);
}
.gv-dot:hover { background: var(--blue-light); }
.gv-dot.is-active { width: 26px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.gv-dot:focus-visible { outline: 3px solid rgba(0,94,159,.35); outline-offset: 3px; }

/* 触屏 / 窄屏：靠滑动，箭头与圆点仍保留 */
@media (max-width: 1023px) {
  .gv-track > .visa-card { width: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .gv-track { gap: 16px; }
  .gv-track > .visa-card { width: 84%; }
  .gv-controls { gap: 14px; margin-top: 20px; }
  .gv-arrow { width: 40px; height: 40px; font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .gv-track { scroll-behavior: auto; }
  .gv-arrow:hover:not([disabled]) { transform: none; }
}
