:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --card: #141416;
  --card-2: #17171a;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f5f7;
  --muted: #8b8b93;
  --muted-2: #b9bcc4;
  --brand: #2f6bff;
  --brand-2: #7fb2ff;
  --brand-3: #8b5cf6;
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: color-mix(in srgb, var(--brand) 35%, transparent);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

.btn--light {
  background: #fff;
  color: #101012;
}

.btn--light:hover {
  transform: translateY(-2px);
}

.header-actions .btn--light {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #fff;
}

.header-actions .btn--light:hover {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand) 88%, #fff) 0%,
    color-mix(in srgb, var(--brand-3) 88%, #fff) 100%
  );
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.logo__text span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
}

.nav-pill a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted-2);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-pill a:hover,
.nav-pill a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.burger {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 2px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070708;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.65) 0%, rgba(6, 6, 7, 0.55) 22%, rgba(6, 6, 7, 0.55) 70%, rgba(7, 7, 8, 0.95) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 240px 240px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: var(--header-h);
}

.hero__title {
  margin: 0;
  font-size: clamp(42px, 4.875vw, 70px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: normal;
}

.hero__title span {
  display: block;
}

.hero__sub {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

.hero__cta {
  margin-top: 6px;
}

.hero__desc {
  position: relative;
  z-index: 3;
  max-width: 460px;
  margin-top: 60px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted-2);
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: 120px 0;
}

.section--tight {
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.55fr);
  gap: 40px;
  align-items: start;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title--muted {
  display: block;
  color: var(--muted);
}

.section-title .line {
  display: block;
}

.points {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(16px, 1.5vw, 22px);
  color: var(--muted-2);
}

/* ---------- services ---------- */
.services__body {
  margin-top: 70px;
  display: grid;
  gap: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-card__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  color: var(--brand-2);
}

.service-card__icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.service-card__tags {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.service-card__desc {
  margin: 46px 0 26px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted-2);
  min-height: 62px;
}

.service-card__media {
  margin: auto -24px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
  filter: grayscale(0.4);
}

/* ---------- advantage ---------- */
.advantage {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.advantage__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.advantage__media img {
  width: 100%;
  filter: grayscale(1);
}

.advantage__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.28;
  font-weight: 800;
}

.advantage__title .en {
  display: block;
  font-weight: 800;
}

.advantage__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 30px;
  font-size: 15px;
  color: var(--muted-2);
}

.advantage__points li::marker {
  color: var(--muted);
}

.marquee {
  margin-top: 90px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}

.marquee__item {
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 800;
  color: #3a3a40;
  letter-spacing: -0.01em;
}

.marquee__item--dot {
  font-size: 20px;
  color: #2a2a30;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- works ---------- */
.works__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.works__list {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  cursor: pointer;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.project-card__title {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
}

.project-card__desc {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted-2);
}

.project-card__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.04);
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.works__cta {
  margin-top: 46px;
  display: flex;
  justify-content: center;
}

/* ---------- clients ---------- */
.clients__head {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.55fr);
  gap: 40px;
}

.clients__para {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.9;
  color: var(--muted-2);
}

.client-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.client-logo {
  aspect-ratio: 1;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 26%;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}

.client-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.client-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.45s var(--ease);
}

.client-logo:hover img {
  opacity: 1;
}

/* ---------- partner ---------- */
.partner {
  position: relative;
  overflow: hidden;
}

.partner__bg {
  position: absolute;
  inset: 0;
  background: url("../img/mesh-gradient.png") center / cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.partner .container {
  position: relative;
  z-index: 1;
}

.partner__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
}

.partner__badge {
  width: 190px;
  height: 190px;
  margin-top: 40px;
}

.partner__badge img {
  width: 100%;
  animation: spin 26s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.partner__quote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.45;
  font-weight: 700;
}

.partner__quote-muted {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.founder-card {
  margin-top: 50px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 26px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.founder-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-card__role {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.founder-card__name {
  font-size: 15px;
  font-weight: 700;
}

/* ---------- blog ---------- */
.blog__head {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.6fr);
  gap: 40px;
}

.blog-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #16161a;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__title {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.post-card__date {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- blog page (独立博客主页 / 文章详情) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 70px;
  background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%);
}

.page-hero__title {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.page-hero__title .section-title--muted {
  display: inline;
}

.page-hero__sub {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1.9;
}

.article {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 40px;
}

.article__back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.3s var(--ease);
}

.article__back:hover {
  color: #fff;
}

.article__title {
  margin: 20px 0 0;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.article__meta > span:first-child {
  color: var(--muted-2);
}

.article__tag {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted-2);
}

.article__cover {
  margin: 46px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 9;
  background: #16161a;
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__lead {
  margin: 0 0 34px;
  padding-left: 20px;
  border-left: 3px solid var(--brand-2);
  font-size: 19px;
  line-height: 1.9;
}

.article__body p {
  margin: 0 0 26px;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 2.05;
  overflow-wrap: break-word;
}

.article__body h2 {
  margin: 46px 0 16px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}

.article__body h3 {
  margin: 36px 0 14px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
}

.article__body ul,
.article__body ol {
  margin: 0 0 26px;
  padding-left: 24px;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 2;
}

.article__body li {
  margin: 6px 0;
}

.article__body blockquote {
  margin: 0 0 26px;
  padding: 6px 0 6px 20px;
  border-left: 3px solid var(--brand-2);
  font-size: 18px;
  line-height: 1.9;
}

.article__body img {
  width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.article__body a {
  color: var(--brand-2);
  text-decoration: underline;
}

.article__body pre {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #101013;
  overflow: auto;
}

.article__cta {
  margin-top: 40px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article__cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .page-hero {
    padding: calc(var(--header-h) + 50px) 0 40px;
  }

  .article {
    padding-top: calc(var(--header-h) + 40px);
  }

  .article__body p,
  .article__lead {
    font-size: 16px;
  }
}

/* ---------- big cta ---------- */
.bigcta {
  position: relative;
  text-align: center;
  padding: 130px 0 110px;
  overflow: hidden;
}

.bigcta__glow {
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: 1200px;
  height: 1200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 62%);
  filter: blur(30px);
  z-index: 0;
}

.bigcta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.bigcta__avatar {
  width: 104px;
  height: 104px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
}

.bigcta__title {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.2;
}

.bigcta__title span {
  display: block;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding: 100px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr);
  gap: 50px;
}

.footer__brand img {
  height: 56px;
  width: auto;
}

.footer__brand .logo__text {
  margin-top: 14px;
}

.footer__brand .footer__qr {
  margin-top: 28px;
  width: 150px;
  height: auto;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}

.footer__heading {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.45;
}

.footer__heading span {
  color: var(--muted);
}

.footer__cols {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer__col-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer__col p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}

.footer__socials {
  margin-top: 46px;
  display: flex;
  gap: 14px;
}

.social {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted-2);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.social:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer__bottom {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 40px;
}

/* ---------- floating ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand-2) 50%, transparent);
  background: rgba(12, 12, 14, 0.8);
  display: grid;
  place-items: center;
  color: var(--brand-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transform: translateY(10px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.contact-fab {
  position: fixed;
  right: 26px;
  bottom: 84px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #101012;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s var(--ease);
}

.contact-fab svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.contact-fab:hover {
  transform: translateY(-3px);
}

/* ---------- modal & lightbox ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #151517, #0e0e10);
  padding: 34px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.45s var(--ease);
}

.overlay.is-open .modal {
  transform: none;
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted-2);
}

.modal h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.modal p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.modal__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}

.modal__row span {
  color: var(--muted);
  font-size: 13px;
  min-width: 74px;
}

.modal__qr {
  margin-top: 22px;
  width: 130px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 4, 5, 0.94);
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee__track,
  .partner__badge img {
    animation: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-pill {
    display: none;
  }

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

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .site-header {
    height: 76px;
  }

  .logo img {
    height: 32px;
  }

  .logo__text {
    display: none;
  }

  .header-actions .btn--light {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-head,
  .clients__head,
  .partner__grid,
  .blog__head,
  .footer__top,
  .advantage {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantage {
    gap: 34px;
  }

  .services-grid,
  .blog-grid,
  .footer__cols {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .project-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .works__head {
    flex-direction: column;
  }

  .hero__desc {
    margin-top: 34px;
  }

  .marquee__item {
    font-size: 30px;
  }

  .contact-fab span {
    display: none;
  }

  .contact-fab {
    padding: 14px;
  }
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0b;
}

::-webkit-scrollbar-thumb {
  background: #26262b;
  border-radius: 10px;
}
