:root {
  --blue: #0066cc;
  --blue-dark: #0057b8;
  --button-blue: #007aff;
  --button-blue-dark: #006ee6;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;
  --cyan: #008f9c;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --white: #ffffff;
  --line: #e5e5e7;
  --dark: #111114;
  --dark-2: #242426;
  --success: #2f6d63;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.47;
  letter-spacing: 0;
}

body.zh,
body.bm {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 18;
  display: inline-flex;
  width: 54px;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid rgba(29, 29, 31, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(29, 29, 31, 0.42);
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(29, 29, 31, 0.48);
  color: rgba(29, 29, 31, 0.62);
  outline: 2px solid rgba(0, 0, 0, 0.08);
  outline-offset: 3px;
}

.back-to-top:active {
  transform: scale(0.96);
}

.back-to-top-arrow {
  position: relative;
  width: 18px;
  height: 22px;
  color: inherit;
  font-size: 0;
  line-height: 0;
}

.back-to-top-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 2px;
  height: 15px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.back-to-top-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.back-to-top-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.nav-links,
.language-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover,
.language-links a:hover,
.nav-links a:focus-visible,
.language-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wa-pill,
.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-size: 16px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.wa-pill {
  background: var(--whatsapp);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  outline: 2px solid rgba(0, 102, 204, 0.28);
  outline-offset: 2px;
}

.wa-pill:hover,
.wa-pill:focus-visible {
  background: var(--whatsapp-dark);
  outline: 2px solid rgba(37, 211, 102, 0.28);
  outline-offset: 2px;
}

.final-cta .button-primary {
  background: var(--whatsapp);
}

.final-cta .button-primary:hover,
.final-cta .button-primary:focus-visible {
  background: var(--whatsapp-dark);
  outline: 2px solid rgba(37, 211, 102, 0.28);
  outline-offset: 2px;
}

.button-secondary {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(0, 102, 204, 0.06);
  outline: 2px solid rgba(0, 102, 204, 0.18);
  outline-offset: 2px;
}

.wa-pill:active,
.button-primary:active,
.button-secondary:active {
  transform: scale(0.96);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0 96px;
}

.quick-wa {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--whatsapp);
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.quick-wa::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M11.9 9.9c-.2-.1-1.2-.6-1.4-.7-.2-.1-.3-.1-.5.1-.1.2-.5.7-.6.8-.1.1-.2.1-.4 0-.2-.1-.8-.3-1.5-.9-.6-.5-.9-1.1-1-1.3-.1-.2 0-.3.1-.4l.3-.3c.1-.1.1-.2.2-.3.1-.1 0-.3 0-.4 0-.1-.5-1.2-.7-1.6-.2-.4-.4-.3-.5-.3h-.4c-.1 0-.4.1-.6.3-.2.2-.8.8-.8 1.9 0 1.1.8 2.2.9 2.4.1.2 1.6 2.5 3.9 3.4.5.2 1 .4 1.3.4.5.2 1 .1 1.4.1.4-.1 1.2-.5 1.4-1 .2-.5.2-.9.1-1 0-.1-.2-.2-.4-.3ZM8.1 1.6c-3.5 0-6.3 2.8-6.3 6.2 0 1.1.3 2.2.9 3.2l-.6 2.1 2.2-.6c1 .5 2 .8 3.1.8 3.5 0 6.3-2.8 6.3-6.2S11.5 1.6 8.1 1.6Zm0 10.6c-1 0-1.9-.3-2.7-.8l-.2-.1-1.3.3.4-1.2-.1-.2c-.6-.8-.9-1.7-.9-2.7 0-2.6 2.1-4.7 4.8-4.7 2.6 0 4.8 2.1 4.8 4.7 0 2.6-2.2 4.7-4.8 4.7Z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.quick-wa:hover,
.quick-wa:focus-visible {
  border-color: var(--whatsapp-dark);
  color: var(--whatsapp-dark);
  outline: 2px solid rgba(37, 211, 102, 0.18);
  outline-offset: 2px;
}

.quick-wa:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.mobile-panel {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 42px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 56px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(21px, 3.1vw, 38px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.32;
}

.trust-line {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.language-prompt {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background: var(--soft);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-intro p {
  color: var(--muted);
  font-size: 19px;
}

.dark .section-intro p,
.dark .muted {
  color: #cccccc;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--dark-2);
}

.card p,
.step p,
.service p,
.area-list,
.footer p {
  color: var(--muted);
}

.card p {
  margin-bottom: 0;
}

.dark .card p,
.dark .step p,
.dark .service p {
  color: #d5d5d8;
}

.dark .quick-wa {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--whatsapp);
  color: var(--white);
}

.service {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-header {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
}

.number {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.step {
  min-height: 220px;
  padding: 22px;
  background: var(--white);
}

.step span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 600;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  border-radius: 0;
}

.privacy-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.area-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 19px;
}

.footer {
  padding: 44px 0;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.gateway {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--soft);
}

.gateway-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  width: min(1080px, 100%);
  align-items: center;
}

.gateway-copy {
  padding: 12px 0;
}

.gateway-copy h1 {
  font-size: clamp(48px, 8vw, 86px);
}

.gateway-copy .lead {
  font-size: clamp(17px, 1.8vw, 22.5px);
}

.gateway-copy .lead strong {
  color: var(--ink);
  font-weight: 750;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.language-card {
  display: grid;
  min-height: 66px;
  align-content: center;
  justify-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 16px 24px;
  background: var(--button-blue);
  color: var(--white);
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-card:hover,
.language-card:focus-visible {
  background: var(--button-blue-dark);
  box-shadow: 0 10px 24px rgba(0, 122, 255, 0.18);
  transform: translateY(-2px);
  outline: 2px solid rgba(0, 122, 255, 0.24);
  outline-offset: 3px;
}

.language-card strong {
  display: block;
  font-size: 22px;
}

.gateway-media {
  overflow: hidden;
  margin: 0;
}

.gateway-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 560ms ease, opacity 560ms ease;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .grid.three,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gateway-panel,
  .hero,
  .privacy-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 14px;
  }

  .language-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-panel {
    position: fixed;
    inset: 52px 0 auto 0;
    z-index: 19;
    display: grid;
    gap: 1px;
    padding: 12px;
    background: rgba(245, 245, 247, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .mobile-panel.open {
    transform: translateY(0);
  }

  .mobile-panel a {
    min-height: 44px;
    padding: 12px;
    border-radius: 10px;
    color: var(--ink);
  }

  .wa-pill {
    padding-inline: 15px;
    font-size: 14px;
  }

  .hero,
  .section {
    padding-block: 42px;
  }

  .gateway-media,
  .hero-media {
    display: none;
  }

  .container,
  .hero {
    width: calc(100% - 28px);
  }

  .grid.two,
  .grid.three,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 12px;
  }

  .section-intro {
    margin-bottom: 22px;
  }

  .card {
    min-height: 0;
    padding: 20px;
  }

  .service-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-actions {
    margin-left: 0;
  }

  .quick-wa {
    width: 100%;
  }

  .back-to-top {
    right: 10px;
    bottom: 18px;
    width: 42px;
    min-height: 118px;
    gap: 8px;
    border-width: 2px;
  }

  .back-to-top-arrow {
    width: 15px;
    height: 18px;
  }

  .back-to-top-arrow::before {
    height: 12px;
  }

  .back-to-top-arrow::after {
    width: 8px;
    height: 8px;
  }

  .back-to-top-text {
    font-size: 10px;
  }

  .language-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 30px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
