:root {
  font-family: Inter, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
  color: #061f52;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue-950: #041947;
  --blue-900: #06286c;
  --blue-800: #073f9c;
  --blue-700: #0a63d8;
  --blue-100: #eaf4ff;
  --blue-50: #f6fbff;
  --cyan-50: #eefaff;
  --orange-600: #f28b00;
  --orange-100: #fff1dc;
  --orange-50: #fff8ee;
  --ink: #071a3d;
  --muted: #60708a;
  --line: #d8e6f6;
  --shadow: 0 22px 60px rgba(6, 48, 118, 0.13);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(10, 99, 216, 0.24);
  outline-offset: 3px;
}

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

.site {
  width: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 36%, #f3f8ff 68%, #fff8ee 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 max(34px, calc((100vw - 1180px) / 2 + 34px));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 230, 246, 0.9);
  backdrop-filter: blur(18px);
  animation: header-drop 0.48s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  font-size: 31px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 0;
}

.brand-link {
  text-decoration: none;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.nav,
.language {
  display: flex;
  align-items: center;
}

.nav {
  gap: 28px;
}

.nav button,
.nav a,
.language button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav button,
.nav a {
  padding: 28px 0;
}

.language {
  gap: 8px;
  color: #9aa9bd;
}

.language .active {
  color: var(--blue-700);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 250, 255, 0.97) 0%, rgba(238, 247, 255, 0.86) 46%, rgba(232, 244, 255, 0.58) 100%),
    linear-gradient(135deg, rgba(255, 241, 220, 0.7) 0%, rgba(255, 255, 255, 0) 32%),
    url("./assets/hero-global-hiring.png") center / cover no-repeat;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 86px 34px 98px;
}

.hero-inner .eyebrow,
.hero-inner h1,
.hero-copy,
.hero-actions {
  animation: rise-in 0.72s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-inner h1 {
  animation-delay: 0.08s;
}

.hero-copy {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.24s;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--blue-900);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 32px;
  color: #193a6d;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 14px 22px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary {
  border: 1px solid var(--blue-800);
  background: linear-gradient(180deg, #0b65dd, #073f9c);
  color: #ffffff;
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.primary:disabled,
.secondary:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.primary:hover {
  box-shadow: 0 12px 28px rgba(7, 63, 156, 0.22);
}

.secondary:hover {
  border-color: rgba(6, 60, 153, 0.48);
  box-shadow: 0 10px 24px rgba(6, 48, 118, 0.09);
}

.secondary {
  border: 1px solid rgba(6, 60, 153, 0.3);
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue-900);
}

.small {
  margin-top: 10px;
  padding: 12px 18px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 34px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: section-rise 0.5s ease both;
}

.about-summary {
  padding-top: 58px;
  padding-bottom: 28px;
  position: relative;
  background: #fffaf3;
  box-shadow: 0 0 0 100vmax #fffaf3;
  clip-path: inset(0 -100vmax);
}

.about-summary::before {
  position: absolute;
  top: 58px;
  left: 34px;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-600), var(--blue-700));
  content: "";
}

.about-summary p:not(.eyebrow) {
  max-width: 860px;
  margin: 0;
  color: #193a6d;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.8;
}

.about-summary p span {
  display: inline;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--blue-900);
  font-size: 34px;
  line-height: 1.25;
}

.section-intro {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.client-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.client-grid article,
.service-card,
.detail-panel,
.contact-box,
.inquiry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.client-grid article {
  min-height: 176px;
  padding: 28px;
}

.client-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.3;
}

.client-grid p,
.service-card small,
.service-detail p,
.contact-box p,
.inquiry-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.services {
  padding-top: 46px;
  background:
    linear-gradient(180deg, #f3f8ff 0%, #eefaff 100%);
  box-shadow: 0 0 0 100vmax #f3f8ff;
  clip-path: inset(0 -100vmax);
}

.service-card {
  position: relative;
  display: grid;
  gap: 13px;
  min-height: 218px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.service-card.active {
  border-color: rgba(7, 63, 156, 0.56);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card span {
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 900;
}

.service-card strong {
  color: var(--blue-900);
  font-size: 27px;
  line-height: 1.2;
}

.service-card small {
  display: block;
}

.service-card::after {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-600), var(--blue-700));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-card:hover::after,
.service-card:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-showcase {
  display: grid;
  gap: 24px;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.9fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(6, 48, 118, 0.09);
}

.service-feature.is-reversed {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.03fr);
}

.service-feature.is-reversed .service-feature-copy {
  order: 2;
}

.service-feature.is-reversed .service-feature-media {
  order: 1;
}

.service-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 42px;
}

.service-feature-copy span {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 900;
}

.service-feature-copy h3 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 34px;
  line-height: 1.2;
}

.service-feature-copy p {
  max-width: 590px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-button {
  min-width: 166px;
}

.service-feature-media {
  min-height: 320px;
  background: linear-gradient(135deg, var(--blue-50), var(--orange-50));
}

.service-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.detail-panel {
  margin-top: 24px;
  padding: 34px;
  background: linear-gradient(180deg, #ffffff, var(--blue-50));
}

.service-detail {
  display: none;
  max-width: 900px;
}

.service-detail.active {
  display: block;
}

.service-detail h3 {
  margin-bottom: 14px;
  color: var(--blue-900);
  font-size: 30px;
  line-height: 1.3;
}

.compact-clients {
  padding-top: 44px;
  padding-bottom: 58px;
  text-align: center;
}

.compact-clients .eyebrow {
  margin-bottom: 10px;
}

.compact-clients p:not(.eyebrow) {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 34px 56px;
}

.service-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
}

.service-hero p:not(.eyebrow) {
  max-width: 850px;
  color: #193a6d;
  font-size: 18px;
  line-height: 1.85;
}

.page-cta {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
}

.page-grid article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.page-grid h2 {
  margin-bottom: 14px;
  color: var(--blue-900);
  font-size: 24px;
}

.page-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.case-section {
  padding-top: 28px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 255, 0.97));
}

.case-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: 19px;
  line-height: 1.35;
}

.case-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact {
  max-width: none;
  background:
    linear-gradient(120deg, #eaf4ff 0%, #f7fbff 52%, #fff1dc 100%);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin-bottom: 16px;
  color: var(--blue-900);
  font-size: 32px;
  line-height: 1.3;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-note {
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(7, 63, 156, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--blue-50), #ffffff);
}

.contact-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 21px;
  line-height: 1.35;
}

.contact-note p {
  margin: 0;
}

.inquiry-section {
  padding-top: 36px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
  gap: 42px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.inquiry-layout h2 {
  margin-bottom: 16px;
  color: var(--blue-900);
  font-size: 32px;
  line-height: 1.3;
}

.inquiry-layout p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.inquiry-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  box-shadow: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  background: #fbfdff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(7, 85, 200, 0.14);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-status.show {
  opacity: 1;
}

.form-status.error {
  color: #b42318;
}

@keyframes header-drop {
  from {
    opacity: 0.86;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0.82;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0.9;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 900px) {
  .header {
    padding: 0 22px;
  }

  .nav {
    display: none;
  }

  .client-grid,
  .service-grid,
  .service-feature,
  .service-feature.is-reversed,
  .page-grid,
  .case-grid,
  .contact-box,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .service-feature.is-reversed .service-feature-copy,
  .service-feature.is-reversed .service-feature-media {
    order: initial;
  }

  .contact-box {
    gap: 26px;
  }

  .inquiry-layout {
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .header {
    height: 70px;
    padding: 0 20px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 122px;
  }

  .language button {
    font-size: 13px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner,
  .service-hero,
  .section {
    width: 100%;
    max-width: 100vw;
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    max-width: calc(100vw - 44px);
    font-size: 30px;
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }

  .hero-copy,
  .about-summary,
  .about-summary p,
  .service-hero,
  .service-hero h1,
  .service-hero p,
  .section-heading,
  .section-heading h2,
  .client-grid article,
  .client-grid strong,
  .client-grid p,
  .service-card,
  .service-card strong,
  .service-card small,
  .service-feature,
  .service-feature-copy,
  .service-feature-copy h3,
  .service-feature-copy p,
  .service-detail,
  .service-detail h3,
  .service-detail p,
  .page-grid article,
  .page-grid h2,
  .page-grid p,
  .case-grid article,
  .case-grid strong,
  .case-grid p,
  .contact-box,
  .contact-box h2,
  .contact-box p,
  .contact-note,
  .inquiry-layout,
  .inquiry-layout h2,
  .inquiry-layout p {
    max-width: calc(100vw - 44px);
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }

  .hero-copy,
  .about-summary p,
  .client-grid p,
  .service-card small {
    max-width: 310px;
  }

  .about-summary p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.75;
  }

  .about-summary p span {
    display: block;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-intro {
    font-size: 15px;
  }

  .client-grid article,
  .service-card,
  .service-feature-copy,
  .page-grid article,
  .case-grid article,
  .detail-panel,
  .contact-box,
  .contact-note,
  .inquiry-layout,
  .inquiry-card {
    padding: 22px;
  }

  .service-card {
    min-height: 0;
  }

  .service-feature {
    min-height: 0;
  }

  .service-feature-copy h3 {
    font-size: 26px;
  }

  .service-feature-media,
  .service-feature-media img {
    min-height: 220px;
  }

  .service-card strong {
    font-size: 24px;
  }

  .service-detail h3,
  .page-grid h2,
  .case-grid strong,
  .contact-box h2,
  .inquiry-layout h2 {
    font-size: 25px;
  }

  .contact-box > *,
  .contact-box h2,
  .contact-box p,
  .contact-note,
  .inquiry-layout,
  .inquiry-layout *,
  .inquiry-card,
  .inquiry-card * {
    max-width: 100%;
  }
}
