/* =========================================================
   星兆科技 · XINGZHAO TECHNOLOGY
   Global stylesheet — light editorial / tech
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f2;
  --panel: #ffffff;
  --panel-2: #f3f3f0;
  --line: rgba(16, 19, 24, 0.10);
  --line-strong: rgba(16, 19, 24, 0.24);
  --text: #101318;
  --text-2: #3a404a;
  --muted: #6b7280;
  --dim: #7d8590;
  --accent: #005bac;
  --accent-2: #004a8f;
  --accent-soft: rgba(0, 91, 172, 0.08);
  --logo-blue: #0042b8;
  --logo-blue-dark: #002784;
  --container: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-h: 92px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-loading { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.016;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #ffffff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f4f4f1; }
::-webkit-scrollbar-thumb { background: #cfd2d7; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #b7bcc4; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em, i { font-style: normal; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: min(var(--container), calc(100% - 128px));
  margin-inline: auto;
}

.container-wide { width: min(1680px, calc(100% - 96px)); margin-inline: auto; }

/* ------------------------- Preloader ------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader-mark { width: 44px; height: 44px; animation: prePulse 1.8s var(--ease) infinite; }
.preloader-bar { display: block; width: 180px; height: 1px; background: rgba(16, 19, 24, 0.12); overflow: hidden; }
.preloader-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: preBar 1.1s var(--ease) infinite; }
.preloader-text { font-size: 12px; letter-spacing: 0.42em; color: var(--dim); }
@keyframes prePulse { 0%, 100% { transform: scale(0.92); opacity: 0.55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes preBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }

/* ------------------------- Header ------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: height 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header.is-solid { background: #ffffff; border-color: var(--line); }
.site-header.is-scrolled { height: 74px; background: #ffffff; border-color: var(--line); }

body[data-page="home"] .site-header:not(.is-solid) {
  background: transparent;
  border-color: transparent;
}
body[data-page="home"] .site-header:not(.is-solid) .brand,
body[data-page="home"] .site-header:not(.is-solid) .nav > a,
body[data-page="home"] .site-header:not(.is-solid) .nav-item > a,
body[data-page="home"] .site-header:not(.is-solid) .nav > a.is-active,
body[data-page="home"] .site-header:not(.is-solid) .nav-item > a.is-active,
body[data-page="home"] .site-header:not(.is-solid) .nav > a:hover,
body[data-page="home"] .site-header:not(.is-solid) .nav-item > a:hover,
body[data-page="home"] .site-header:not(.is-solid) .header-phone strong {
  color: #ffffff;
}
body[data-page="home"] .site-header:not(.is-solid) .brand-logo {
  filter: brightness(0) invert(1);
}
body[data-page="home"] .site-header:not(.is-solid) .header-phone span {
  color: rgba(255, 255, 255, 0.72);
}
body[data-page="home"] .site-header:not(.is-solid) .nav > a::after,
body[data-page="home"] .site-header:not(.is-solid) .nav-item > a::after {
  background: rgba(255, 255, 255, 0.85);
}
body[data-page="home"] .site-header:not(.is-solid) .nav-toggle span { background: #ffffff; }
body[data-page="home"] .site-header:not(.is-solid) .btn-primary {
  background: #ffffff;
  color: var(--text);
  border-color: transparent;
}
body[data-page="home"] .site-header:not(.is-solid) .btn-primary:hover {
  background: #e7f1fa;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 20, 40, 0.26);
}

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

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 48px; width: auto; transition: all 0.5s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.02); }
.site-header.is-scrolled .brand-logo { height: 42px; }
.footer-brand .brand-logo { height: 48px; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav > a, .nav-item > a { position: relative; font-size: 15px; letter-spacing: 0.08em; color: var(--text-2); padding: 8px 0; transition: color 0.3s; }
.nav > a::after, .nav-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav > a:hover, .nav-item > a:hover { color: var(--text); }
.nav > a:hover::after, .nav-item > a:hover::after, .nav > a.is-active::after, .nav-item > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav > a.is-active, .nav-item > a.is-active { color: var(--text); }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-sub {
  position: absolute;
  top: calc(100% + 4px);
  left: -18px;
  min-width: 136px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.nav-sub::before {
  content: "";
  position: absolute;
  inset: 12px 0 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(8, 26, 46, 0.12);
  z-index: -1;
}
.nav-sub a { display: block; padding: 10px 18px; font-size: 14px; letter-spacing: 0.06em; color: var(--text-2); white-space: nowrap; transition: color 0.25s, background 0.25s; }
.nav-sub a:hover { color: var(--text); background: #f3f8fc; }
.nav-sub a:first-of-type { border-radius: 11px 11px 0 0; }
.nav-sub a:last-of-type { border-radius: 0 0 11px 11px; }
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-foot { display: none; }

.header-actions { display: flex; align-items: center; gap: 26px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone span { font-size: 12px; letter-spacing: 0.2em; color: var(--dim); }
.header-phone strong { font-size: 16px; font-weight: 500; letter-spacing: 0.04em; color: var(--text); margin-top: 5px; }
.header-phone:hover strong { color: var(--accent-2); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; margin-left: 4px; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { bottom: 15px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { bottom: 20px; transform: rotate(-45deg); }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
  white-space: nowrap;
}
.btn .arw { display: inline-block; transition: transform 0.4s var(--ease); font-size: 16px; }
.btn:hover .arw { transform: translate(3px, -3px); }
.btn:hover { border-color: rgba(16, 19, 24, 0.42); }
.btn-primary { background: var(--accent); color: #ffffff; border-color: transparent; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 12px 34px rgba(0, 91, 172, 0.22); transform: translateY(-2px); }
.btn-ghost:hover { background: rgba(16, 19, 24, 0.04); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: 0.06em; color: var(--text-2); transition: color 0.3s; }
.link-arrow i { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover i { background: var(--accent); color: #ffffff; border-color: var(--accent); transform: rotate(-45deg); }

/* ------------------------- Type / section ------------------------- */
.section { position: relative; padding: 100px 0; }
.section-tight { padding: 80px 0; }
.section-soft { background: var(--bg-2); }

/* section surfaces */
.section-soft,
.section-tint,
.section-grid { border-top: 1px solid var(--line); }
.section-tint {
  background:
    radial-gradient(760px circle at 88% 0%, rgba(0, 91, 172, 0.07), transparent 62%),
    linear-gradient(180deg, #f6fafd 0%, #f2f8fc 100%);
}
.section-grid {
  background-color: #f6fafd;
  background-image:
    linear-gradient(rgba(16, 19, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 24, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  background-position: center top;
}
.section-services { background-color: #f7f7f5; }
.section-deco > .container,
.section-dots > .container { position: relative; z-index: 1; }
.section-deco::after {
  content: "";
  position: absolute;
  top: 110px;
  right: max(2.5%, calc((100% - var(--container)) / 2 - 40px));
  width: min(26vw, 320px);
  aspect-ratio: 1;
  background: url("../images/logo-mark-x.png") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;

}
.section-dots::after {
  content: "";
  position: absolute;
  top: 90px;
  right: max(3%, calc((100% - var(--container)) / 2));
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(0, 91, 172, 0.42) 1px, transparent 1.4px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 10%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

/* Homepage tonal surfaces — soft brand-blue layering */
.home-surface { overflow: hidden; }
.home-surface > .container { position: relative; z-index: 1; }

.home-intro {
  background:
    radial-gradient(820px circle at 92% -6%, rgba(0, 91, 172, 0.07), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #f4f9fd 100%);
}
.home-intro::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 6%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 91, 172, 0.05), transparent 66%);
  pointer-events: none;
}

.home-services {
  background:
    radial-gradient(760px circle at 6% 4%, rgba(0, 91, 172, 0.12), transparent 58%),
    radial-gradient(680px circle at 98% 96%, rgba(0, 66, 184, 0.09), transparent 60%),
    linear-gradient(180deg, #edf4fc 0%, #f7fbfe 50%, #ebf3fa 100%);
}
.home-services::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  background-image: radial-gradient(rgba(0, 91, 172, 0.32) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, transparent 76%);
  mask-image: radial-gradient(closest-side, #000 6%, transparent 76%);
  opacity: 0.5;
  pointer-events: none;
}
.home-services .service-card { background: rgba(255, 255, 255, 0.42); }
.home-services .service-card:hover { background: #ffffff; }

.home-cases {
  background:
    radial-gradient(640px circle at 102% 10%, rgba(0, 91, 172, 0.07), transparent 60%),
    radial-gradient(560px circle at 0% 100%, rgba(0, 66, 184, 0.05), transparent 62%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 46%, #f7fbfe 100%);
}

.home-partners {
  background:
    radial-gradient(720px circle at 0% 100%, rgba(0, 91, 172, 0.10), transparent 60%),
    linear-gradient(180deg, #eef4fb 0%, #f6f9fd 52%, #ecf3fa 100%);
}
.home-partners::after {
  content: "";
  position: absolute;
  left: max(3%, calc((100% - var(--container)) / 2));
  top: 96px;
  width: 170px;
  height: 170px;
  background-image: radial-gradient(rgba(0, 91, 172, 0.36) 1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 8%, transparent 78%);
  opacity: 0.42;
  pointer-events: none;
}

.home-why {
  background:
    radial-gradient(680px circle at 16% 38%, rgba(0, 91, 172, 0.16), transparent 62%),
    radial-gradient(520px circle at 100% 0%, rgba(47, 134, 201, 0.12), transparent 60%),
    linear-gradient(165deg, #e6f1fb 0%, #f3f9fd 54%, #e7f1fa 100%);
}
.home-why::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: min(40vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 91, 172, 0.12);
  box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.home-news {
  background-color: #eef5fb;
  background-image:
    radial-gradient(760px circle at 88% 0%, rgba(0, 91, 172, 0.13), transparent 60%),
    linear-gradient(rgba(0, 91, 172, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 172, 0.055) 1px, transparent 1px);
  background-size: auto, 76px 76px, 76px 76px;
  background-position: center top;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.85; }

.section-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  /* padding-top: 30px; */
  margin-bottom: 64px;
  /* border-top: 1px solid var(--line); */
}
/* .section-head::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
} */
.section-title { font-size: clamp(32px, 3.4vw, 52px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; margin-top: 20px; }
.section-side { max-width: 420px; padding-bottom: 6px; }
.section-side p { font-size: 16px; color: var(--muted); margin-bottom: 22px; }

.text-gradient {
  background: linear-gradient(100deg, #101318 10%, #005bac 55%, #7c9ab6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------- Reveal ------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; }
}

/* ------------------------- Hero ------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 1080px;
  background: #003a72;
  overflow: hidden;
}
.hero-swiper { height: 100%; }
.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(100deg, #003a72 0%, #00508f 40%, #005bac 68%, #2f86c9 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 7s linear;
  opacity: 1;
}
.swiper-slide-active .hero-bg { transform: scale(1); }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:linear-gradient(90deg, rgba(3, 9, 18, 0.76) 0%, rgba(3, 9, 18, 0.44) 32%, rgba(3, 9, 18, 0.06) 62%, rgba(3, 9, 18, 0.1) 100%),linear-gradient(180deg, rgba(3, 9, 18, 0.4) 0%, rgba(3, 9, 18, 0.02) 40%, rgba(3, 9, 18, 0.4) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 74px; width: 100%; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
}
.hero-eyebrow::before{content: "";width: 30px;height: 1px;background: rgba(255, 255, 255, 0.7);}
.hero-title {
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.038em;
  font-weight: 500;
  max-width: 1000px;
  margin: 26px 0 0;
  opacity: 0;
  transform: translateY(30px);
}
.hero-title .line{ display: block; }
.hero-title .muted{ color: rgba(255, 255, 255, 0.64); }
.hero-title .hl{
  background: linear-gradient(100deg, #ffffff 5%, #d9e9f6 52%, #9fc8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 540px;
  margin: 30px 0 42px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(24px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; transform: translateY(24px); }
.hero-actions .btn-primary { background: #ffffff; color: var(--text); border-color: transparent; }
.hero-actions .btn-primary:hover{ background: #e7f1fa; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); }
.hero-actions .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-actions .btn-ghost:hover { background: #ffffff; color: var(--text); border-color: #ffffff; }
body.is-ready .swiper-slide-active .hero-eyebrow,
body.is-ready .swiper-slide-active .hero-title,
body.is-ready .swiper-slide-active .hero-desc,
body.is-ready .swiper-slide-active .hero-actions {
  animation: heroIn 1s var(--ease) forwards;
}
body.is-ready .swiper-slide-active .hero-eyebrow { animation-delay: 0.15s; }
body.is-ready .swiper-slide-active .hero-title { animation-delay: 0.28s; }
body.is-ready .swiper-slide-active .hero-desc { animation-delay: 0.42s; }
body.is-ready .swiper-slide-active .hero-actions { animation-delay: 0.54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 4;
}
.hero-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-pagination { position: static !important; width: auto !important; display: flex; align-items: center; }
.hero-pagination .swiper-pagination-bullet {
  width: 42px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
  opacity: 1;
  margin: 0 10px 0 0 !important;
  transition: width 0.5s var(--ease), background 0.4s;
  position: relative;
  outline: none;
}
.hero-pagination .swiper-pagination-bullet-active { width: 84px; background: #ffffff; }
.hero-pagination .swiper-pagination-bullet:hover { background: rgba(255, 255, 255, 0.7); }

.hero-meta { display: flex; align-items: center; gap: 34px; }
.hero-count { font-size: 13px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; gap: 10px; }
.hero-count b { font-weight: 500; color: #ffffff; font-size: 15px; }
.hero-count i { width: 26px; height: 1px; background: rgba(255, 255, 255, 0.35); display: inline-block; }
.hero-nav { display: flex; gap: 10px; }
.hero-nav .btn-nav {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.hero-nav .btn-nav:hover { background: #ffffff; color: var(--text); border-color: #ffffff; }
.hero-nav svg { width: 16px; height: 16px; }
.scroll-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.58); }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,.4), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: #ffffff; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ------------------------- Intro / split ------------------------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 100px; align-items: start; }
.intro-statement { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.42; font-weight: 400; letter-spacing: -0.022em; margin-top: 26px; }
.intro-statement .hl { color: var(--accent-2); }
.intro-right { padding-top: 52px; }
.intro-right p { font-size: 16px; color: var(--muted); line-height: 1.95; margin-bottom: 18px; }
.intro-right .link-arrow { margin-top: 22px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 30px 22px 30px 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(40px, 4vw, 58px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stat-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--logo-blue); }
.stat-icon svg { display: block; width: 100%; height: 100%; }
.stat-num small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.stat-label { margin-top: 12px; font-size: 14px; letter-spacing: 0.1em; color: var(--muted); }

/* ------------------------- Services ------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  /* min-height: 350px; */
  padding: 40px 38px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 30% 0%, rgba(0, 91, 172, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: #f7fafd; }
.service-num { font-size: 12px; letter-spacing: 0.24em; color: var(--dim); }
.service-head { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; }
.service-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--logo-blue); transition: color 0.4s; }
.service-card:hover .service-icon { color: var(--logo-blue-dark); }
.service-card h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.service-card .en { font-size: 12px; letter-spacing: 0.26em; color: var(--dim); text-transform: uppercase; margin-top: 10px; padding-left: 54px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.85; margin: 20px 0 0; }
.service-card .card-arw { position: absolute; right: 32px; top: 34px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); opacity: 0; transform: translate(-6px, 6px); transition: 0.45s var(--ease); }
.service-card:hover .card-arw { opacity: 1; transform: none; background: var(--accent); color: #ffffff; border-color: var(--accent); }

/* ------------------------- Cases ------------------------- */
.cases-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.case-card { position: relative; display: block; grid-column: span 6; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color 0.45s, transform 0.6s var(--ease), box-shadow 0.5s; }
.case-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(16, 19, 24, 0.08); }
.case-card:nth-child(1) { grid-column: 1 / span 7; }
.case-card:nth-child(2) { grid-column: 8 / span 5; }
.case-card:nth-child(3) { grid-column: 1 / span 5; }
.case-card:nth-child(4) { grid-column: 6 / span 7; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9e6; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.045); }
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,0.1) 0%, transparent 40%, rgba(8,9,11,0.72) 100%); }
.case-info { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 24px 28px 26px; }
.case-info h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; transition: color 0.3s; }
.case-card:hover .case-info h3 { color: var(--accent-2); }
.case-info .client { font-size: 13px; letter-spacing: 0.12em; color: var(--muted); margin-top: 8px; }
.case-info .case-summary { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.case-info .year { font-size: 12px; letter-spacing: 0.2em; color: var(--dim); }
.case-arrow { flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-2); transition: 0.4s var(--ease); }
.case-card:hover .case-arrow { background: var(--accent); color: #ffffff; border-color: var(--accent); transform: rotate(-45deg); }

/* ------------------------- Process ------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 42px 36px 20px 0; border-right: 1px solid var(--line); }
.process-step + .process-step { padding-left: 36px; }
.process-step:last-child { border-right: 0; }
.process-step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--dim); transition: background 0.4s, border-color 0.4s; }
.process-step + .process-step::before { left: -4px; }
.process-step:hover::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(0, 91, 172, 0.12); }
.process-num { font-size: 12px; letter-spacing: 0.24em; color: var(--dim); }
.process-step h3 { font-size: 21px; font-weight: 500; margin: 26px 0 14px; }
.process-step p { font-size: 15px; color: var(--muted); line-height: 1.9; max-width: 260px; }

/* ------------------------- Why ------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.why-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: linear-gradient(180deg, transparent 70%, rgba(16,19,24,0.18)); pointer-events: none; }
.why-badge { position: absolute; left: 26px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 14px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgba(16, 19, 24, 0.16); }
.why-badge b { font-size: 30px; font-weight: 300; letter-spacing: -0.03em; }
.why-badge span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.why-list { border-top: 1px solid var(--line); margin-top: 44px; }
.why-item { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-item .idx { font-size: 12px; letter-spacing: 0.2em; color: var(--dim); padding-top: 6px; }
.why-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.why-item p { font-size: 15px; color: var(--muted); line-height: 1.85; }

/* ------------------------- News ------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #f8fbfe, #ffffff); transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s; }
.news-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(16, 19, 24, 0.08); }
.news-media { aspect-ratio: 3 / 2; overflow: hidden; background: #e9e9e6; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 30px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.12em; color: var(--dim); }
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.news-meta .cat { color: var(--accent-2); }
.news-body h3 { font-size: 19px; font-weight: 500; line-height: 1.55; margin: 18px 0 12px; transition: color 0.3s; }
.news-card:hover h3 { color: var(--accent-2); }
.news-body p { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 24px; }
.news-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: 0.1em; color: var(--text-2); padding-top: 18px; border-top: 1px solid var(--line); }
.news-more i { transition: transform 0.4s var(--ease); }
.news-card:hover .news-more i { transform: translate(3px, -3px); }

/* ------------------------- CTA ------------------------- */
.cta-section { padding: 100px 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 92px 76px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: #f4f5f7;
  background:
    radial-gradient(560px circle at 84% 14%, rgba(58, 140, 210, 0.34), transparent 62%),
    linear-gradient(100deg, rgba(5, 13, 25, 0.97) 0%, rgba(4, 28, 56, 0.93) 48%, rgba(0, 60, 114, 0.76) 100%),
    url("../images/banner-3.webp") center / cover no-repeat;
  box-shadow: 0 32px 80px rgba(16, 19, 24, 0.18);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 72px 72px;
  mask-image: radial-gradient(700px circle at 78% 20%, #000, transparent 75%);
  pointer-events: none;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: min(32vw, 380px);
  aspect-ratio: 1;
  transform: rotate(-14deg);
  background: url("../images/logo-mark.svg") center / contain no-repeat;
  filter: invert(1);
  opacity: 0.06;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.cta-title { font-size: clamp(36px, 4.6vw, 68px); font-weight: 400; line-height: 1.16; letter-spacing: -0.035em; margin-top: 24px; color: #f4f5f7; }
.cta-title .hl { color: #a6cdec; }
.cta-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-phone { font-size: 22px; letter-spacing: 0.02em; color: #ffffff; }
.cta-phone span { display: block; font-size: 12px; letter-spacing: 0.28em; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.cta-phone b { font-weight: 400; }
.cta-phone:hover { color: #b6d7f2; }
.cta-panel .eyebrow { color: rgba(255, 255, 255, 0.62); }
.cta-panel .eyebrow::before { background: #6faede; }
.cta-panel .btn-primary { background: #ffffff; color: #0b0d10; }
.cta-panel .btn-primary:hover { background: #e7f1fa; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3); }

/* ------------------------- Page head ------------------------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 104px) 0 92px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-color: #0b0d12;
  background-image: var(--banner, url("../images/banner-services-support.webp"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-head--services,
.detail-head--services { --banner: url("../images/banner-services-support.webp"); }
.page-head.page-head--services { background-position: 62% center; }
.page-head.page-head--services::before {
  background:
    linear-gradient(90deg, rgba(0, 30, 60, 0.95) 0%, rgba(0, 40, 78, 0.86) 36%, rgba(0, 50, 96, 0.56) 64%, rgba(0, 40, 80, 0.44) 100%),
    linear-gradient(180deg, rgba(0, 26, 52, 0.4) 0%, rgba(0, 30, 58, 0.06) 42%, rgba(0, 28, 56, 0.5) 100%);
}
.detail-head.detail-head--services {
  --banner-art: url("../images/banner-svc-software.webp");
  background-image: linear-gradient(100deg, #003a72 0%, #00508f 40%, #005bac 68%, #2f86c9 100%);
}
.detail-head.detail-head--services::before {
  background:
    linear-gradient(90deg, rgba(0, 30, 58, 0.48) 0%, rgba(0, 42, 80, 0.22) 46%, transparent 76%),
    linear-gradient(180deg, transparent 62%, rgba(0, 30, 58, 0.2) 100%);
}
.detail-head.detail-head--services::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(62%, 940px);
  aspect-ratio: auto;
  transform: none;
  background: var(--banner-art) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 38%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 38%, #000 58%);
  filter: none;
  opacity: 1;
  pointer-events: none;
}
.page-head--cases,
.detail-head--cases { --banner: url("../images/banner-cases-dashboard.webp"); }
.page-head--news,
.detail-head--news { --banner: url("../images/banner-news-globe.webp"); }
.page-head--about { --banner: url("../images/banner-about-studio.webp"); }
.page-head--contact { --banner: url("../images/banner-contact-handshake.webp"); }
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.92) 0%, rgba(8, 10, 15, 0.74) 34%, rgba(8, 10, 15, 0.32) 66%, rgba(8, 10, 15, 0.46) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.42) 0%, rgba(8, 10, 15, 0.08) 38%, rgba(8, 10, 15, 0.55) 100%);
  pointer-events: none;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.page-head .crumbs { color: rgba(255, 255, 255, 0.56); }
.page-head .crumbs a:hover { color: #ffffff; }
.page-head .eyebrow { color: rgba(255, 255, 255, 0.78); }
.page-head .eyebrow::before { background: rgba(255, 255, 255, 0.7); }
.page-head .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-head .btn-ghost:hover { background: #ffffff; color: var(--text); border-color: #ffffff; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; row-gap: 6px; font-size: 12px; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 34px; }
.crumbs a, .crumbs span { flex-shrink: 0; white-space: nowrap; }
.crumbs em { flex: 0 1 auto; min-width: 0; }
.crumbs a:hover { color: var(--text-2); }
.crumbs span { opacity: 0.5; }
.page-title { font-size: clamp(40px, 5vw, 68px); font-weight: 500; line-height: 1.14; letter-spacing: -0.035em; max-width: 1000px; margin: 22px 0 24px; color: #ffffff; }
.br-m { display: none; }
.page-desc { max-width: 620px; font-size: 16px; color: rgba(255, 255, 255, 0.78); line-height: 1.95; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }

/* ------------------------- Services page ------------------------- */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 76px 1.2fr 1.3fr 50px; gap: 44px; align-items: start; padding: 46px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding 0.45s var(--ease); }
.service-row:hover { padding-left: 14px; }
.service-row .idx { font-size: 12px; letter-spacing: 0.22em; color: var(--dim); padding-top: 10px; }
.service-row h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
.service-row .en { font-size: 12px; letter-spacing: 0.24em; color: var(--dim); text-transform: uppercase; margin-top: 12px; }
.service-row p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.service-row .row-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-row .row-tags span { font-size: 12px; color: #5b626d; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.service-row .row-arw { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: 0.4s var(--ease); }
.service-row:hover .row-arw { background: var(--text); color: #ffffff; border-color: var(--text); transform: rotate(-45deg); }

/* ------------------------- Detail layouts ------------------------- */
.detail-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 76px;
  border-bottom: 1px solid var(--line);
  background-color: #0b0d12;
  background-image: var(--banner, url("../images/banner-services-support.webp"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.detail-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.92) 0%, rgba(8, 10, 15, 0.74) 42%, rgba(8, 10, 15, 0.30) 78%, rgba(8, 10, 15, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.42) 0%, rgba(8, 10, 15, 0.10) 40%, rgba(8, 10, 15, 0.55) 100%);
  pointer-events: none;
}
.detail-head::after {
  content: "";
  position: absolute;
  top: 14%;
  right: max(2%, calc((100% - var(--container)) / 2 - 20px));
  width: min(24vw, 300px);
  aspect-ratio: 1;
  transform: rotate(-12deg);
  background: url("../images/logo-mark.svg") center / contain no-repeat;
  filter: invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.detail-head .container { position: relative; z-index: 1; }
.detail-head .crumbs { color: rgba(255, 255, 255, 0.56); }
.detail-head .crumbs a:hover { color: #ffffff; }
.detail-head .eyebrow { color: rgba(255, 255, 255, 0.78); }
.detail-head .eyebrow::before { background: rgba(255, 255, 255, 0.7); }
.detail-title { font-size: clamp(38px, 4.8vw, 66px); font-weight: 500; line-height: 1.16; letter-spacing: -0.035em; max-width: 1000px; margin: 20px 0 26px; text-wrap: balance; color: #ffffff; }
.detail-lede { max-width: 700px; font-size: 17px; color: rgba(255, 255, 255, 0.78); line-height: 1.95; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.detail-meta span { font-size: 12px; letter-spacing: 0.1em; color: #5b626d; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
.detail-head .detail-meta span { color: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.06); }
.detail-head .article-title { color: #ffffff; }
.detail-head .article-meta { color: rgba(255, 255, 255, 0.62); }
.detail-head .article-meta .cat { color: #a8cdec; }

.detail-layout { display: grid; grid-template-columns: 300px 1fr; gap: 90px; padding: 80px 0 120px; }
.detail-aside { position: sticky; top: 110px; align-self: start; }
.aside-label { font-size: 12px; letter-spacing: 0.28em; color: var(--dim); text-transform: uppercase; margin-bottom: 20px; }
.aside-nav { border-top: 1px solid var(--line); }
.aside-nav a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); transition: color 0.3s, padding 0.3s; }
.aside-nav a:hover, .aside-nav a.is-active { color: var(--text); padding-left: 8px; }
.aside-nav a.is-active::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.aside-nav a span { font-size: 12px; color: var(--dim); letter-spacing: 0.14em; }
.aside-contact { margin-top: 34px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.aside-contact p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.aside-contact a { display: block; margin-top: 12px; font-size: 18px; letter-spacing: 0.02em; }
.aside-contact a:hover { color: var(--accent-2); }

.rich { max-width: 860px; color: var(--text-2); font-size: 17px; line-height: 2; }
.rich h2, .rich h3 { color: var(--text); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin: 56px 0 20px; }
.rich h2 { font-size: 30px; }
.rich h3 { font-size: 23px; }
.rich > *:first-child { margin-top: 0; }
.rich p { margin-bottom: 22px; color: #5f6672; }
.rich strong { color: var(--text); font-weight: 500; }
.rich ul, .rich ol { margin: 8px 0 26px; padding-left: 0; }
.rich li { position: relative; padding-left: 24px; margin-bottom: 12px; color: #5f6672; }
.rich li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 6px; height: 1px; background: var(--accent); }
.rich blockquote { margin: 36px 0; padding: 26px 32px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: #404756; font-size: 17px; line-height: 1.8; border-radius: 0 12px 12px 0; }
.rich img { border-radius: 14px; margin: 32px auto; border: 1px solid var(--line); }
.rich a { color: var(--accent-2); border-bottom: 1px solid rgba(0, 74, 143, 0.32); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 56px 0 64px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature-cell { background: var(--bg); padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start; }
.feature-cell:last-child:nth-child(odd) { grid-column: span 2; }
.feature-cell i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 91, 172, 0.4); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 2px; }
.feature-cell span { font-size: 15px; color: var(--text-2); line-height: 1.7; }

.detail-foot { margin-top: 80px; padding-top: 34px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.next-link { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; color: var(--text-2); }
.next-link b { display: block; font-weight: 400; font-size: 12px; letter-spacing: .16em; color: var(--dim); margin-bottom: 2px; }
.next-link:hover { color: var(--text); }

/* ------------------------- Case detail ------------------------- */
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 64px 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.case-fact { background: var(--bg); padding: 26px 28px; }
.case-fact span { display: block; font-size: 12px; letter-spacing: 0.24em; color: var(--dim); text-transform: uppercase; margin-bottom: 10px; }
.case-fact strong { font-size: 17px; font-weight: 500; color: var(--text-2); overflow-wrap: anywhere; }
.case-fact strong a { color: var(--accent-2); }
.case-fact strong a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------- Cases page ------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter-btn { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); transition: 0.35s; }
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-list .case-card { grid-column: auto; }
.case-list .case-media { aspect-ratio: 4 / 3; }

/* More cases card */
.case-card.case-more-card {
  display: flex;
  align-items: center;
  border-style: dashed;
  border-color: rgba(0, 91, 172, 0.3);
  background:
    radial-gradient(440px circle at 88% 0%, rgba(0, 91, 172, 0.10), transparent 62%),
    linear-gradient(160deg, #f6faff 0%, #ffffff 72%);
}
.case-card.case-more-card:hover {
  border-style: solid;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 40, 90, 0.10);
}
.case-more-body { flex: 1; padding: 42px 38px; text-align: center; }
.case-more-body h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.case-more-body p { margin: 12px 0 26px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.case-more-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: 0.06em; color: var(--accent-2); }
.case-more-link i {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 91, 172, 0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 14px;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.case-card.case-more-card:hover .case-more-link i { background: var(--accent); border-color: var(--accent); color: #ffffff; transform: rotate(-45deg); }

/* ------------------------- News page ------------------------- */
.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 64px; background: linear-gradient(120deg, #f7fafd, #ffffff); }
.news-feature-media { min-height: 380px; overflow: hidden; }
.news-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-feature:hover .news-feature-media img { transform: scale(1.04); }
.news-feature-body { padding: 54px 50px; display: flex; flex-direction: column; justify-content: center; }
.news-feature-body h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.42; letter-spacing: -0.02em; margin: 22px 0 18px; }
.news-feature-body p { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 30px; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ------------------------- Article ------------------------- */
.article-head { max-width: 900px; margin: 0 auto; text-align: center; }
.article-head .crumbs { justify-content: center; }
.article-title { font-size: clamp(32px, 4vw, 54px); font-weight: 500; line-height: 1.28; letter-spacing: -0.03em; margin: 24px 0 26px; text-wrap: balance; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 12px; letter-spacing: 0.14em; color: var(--dim); }
.article-meta .cat { color: var(--accent-2); }
.article-body { max-width: 820px; margin: 70px auto 0; }
.article-back { max-width: 820px; margin: 70px auto 0; padding-top: 34px; border-top: 1px solid var(--line); }
.article-wrap { padding-bottom: 120px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-back .link-arrow { margin-top: 28px; }
.detail-body { padding: 80px 0 120px; }

/* ------------------------- 404 ------------------------- */
.nf { position: relative; overflow: hidden; padding: calc(var(--header-h) + 110px) 0 150px; min-height: 72vh; display: flex; align-items: center; }
.nf-code { position: absolute; right: 1%; bottom: -10%; font-size: clamp(180px, 27vw, 430px); font-weight: 600; line-height: 0.78; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1px rgba(16, 19, 24, 0.08); pointer-events: none; user-select: none; }
.nf-inner { position: relative; z-index: 1; max-width: 720px; }
.nf .page-title { margin: 22px 0 22px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ------------------------- About ------------------------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.about-quote { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.38; font-weight: 400; letter-spacing: -0.03em; }
.about-quote .hl { color: var(--accent-2); }
.about-copy p { font-size: 16px; color: var(--muted); line-height: 1.95; margin-bottom: 18px; }
.about-image { margin-top: 76px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; }
.about-image img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(16,19,24,.18)); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-card { padding: 40px 34px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 260px; transition: background 0.4s; }
.value-card:hover { background: #f7fafd; }
.value-card .idx { font-size: 12px; letter-spacing: 0.22em; color: var(--dim); }
.value-card h3 { font-size: 20px; font-weight: 500; margin: 34px 0 14px; }
.value-card p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.capability-list { border-top: 1px solid var(--line); }
.capability { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 60px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.capability h3 { font-size: 21px; font-weight: 500; }
.capability .en { font-size: 12px; letter-spacing: 0.24em; color: var(--dim); margin-top: 10px; }
.capability p { font-size: 15px; color: var(--muted); line-height: 1.9; }

.timeline { position: relative; margin-top: 64px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 58px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 50%; top: 7px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #ffffff; }
.timeline-year { font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--text); text-align: right; padding-right: 58px; }
.timeline-card { padding-left: 58px; padding-top: 2px; }
.timeline-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.timeline-card p { font-size: 15px; color: var(--muted); line-height: 1.85; max-width: 430px; }
.timeline-item:nth-child(even) .timeline-year { grid-column: 2; grid-row: 1; text-align: left; padding-right: 0; padding-left: 58px; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 1; grid-row: 1; justify-self: end; padding-left: 0; padding-right: 58px; }

/* ------------------------- Contact ------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info { padding-top: 10px; }
.contact-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }
.contact-block .label { font-size: 12px; letter-spacing: 0.28em; color: var(--dim); text-transform: uppercase; margin-bottom: 14px; }
.contact-phone { display: flex; flex-direction: column; gap: 8px; }
.contact-phone a { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; letter-spacing: 0.01em; transition: color 0.3s; }
.contact-phone a:hover { color: var(--accent-2); }
.contact-text { font-size: 16px; color: var(--text-2); line-height: 1.9; }
.contact-hint { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.contact-form-panel { position: relative; padding: 54px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(700px circle at 100% 0%, rgba(0, 91, 172, 0.06), transparent 55%), #fafcfe; box-shadow: 0 28px 70px rgba(16, 19, 24, 0.06); }
.contact-form-panel .form-title { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.contact-form-panel .form-sub { font-size: 14px; color: var(--muted); margin: 10px 0 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #ffffff; color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(0, 91, 172, 0.55); background: #ffffff; box-shadow: 0 0 0 4px rgba(0, 91, 172, 0.08); }
.field input::placeholder, .field textarea::placeholder { color: #a0a6af; }
.form-note { font-size: 12px; color: var(--dim); line-height: 1.7; margin-top: 18px; }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 18px; padding: 13px 16px; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.form-status.is-error { display: block; border: 1px solid #fecdca; background: #fef3f2; color: #b42318; }
.form-status.is-ok { display: block; border: 1px solid #abefc6; background: #ecfdf3; color: #067647; }
.form-success { display: none; text-align: center; padding: 50px 10px; }
.form-success.is-on { display: block; }
.form-success .ok-icon { width: 64px; height: 64px; margin: 0 auto 26px; border: 1px solid rgba(0, 91, 172, 0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; background: var(--accent-soft); }
.form-success h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.form-success p { font-size: 15px; color: var(--muted); }
.contact-faq { margin-top: 80px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 17px; color: var(--text-2); }
.faq-q i { font-size: 18px; color: var(--dim); transition: transform 0.35s; }
.faq-item.is-open .faq-q i { transform: rotate(45deg); color: var(--text); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 0 24px; font-size: 15px; color: var(--muted); line-height: 1.9; max-width: 760px; }

/* ------------------------- Footer ------------------------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: #ffffff; padding: 86px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr; gap: 60px; }
.footer-brand p { max-width: 350px; font-size: 15px; color: var(--muted); line-height: 1.9; margin: 26px 0 30px; text-align: justify; }
.footer-phones { display: flex; flex-direction: column; gap: 6px; }
.footer-phones a { font-size: 17px; color: var(--text-2); letter-spacing: 0.04em; }
.footer-phones a:hover { color: var(--text); }
.footer-col h4 { font-size: 18px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: 24px; font-weight: bold; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--muted); margin-bottom: 13px; transition: color 0.3s; line-height: 1.7; }
.footer-col a:hover { color: var(--text); }
.footer-watermark { margin-top: -146px; font-size: clamp(70px, 13.6vw, 230px); line-height: 0.78; font-weight: 600; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(16, 19, 24, 0.08); white-space: nowrap; text-align: center; user-select: none; pointer-events: none; opacity: 0.75; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 30px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.08em; color: var(--dim); }
.footer-bottom .dot { opacity: .4; margin: 0 10px; }
.footer-bottom a:hover { color: var(--text-2); }

/* ------------------------- Empty / skeleton / toast ------------------------- */
.skeleton { border-radius: 12px; background: linear-gradient(90deg, #f1f1ee 25%, #e7e7e2 37%, #f1f1ee 63%); background-size: 400% 100%; animation: shimmer 1.6s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.empty-state { padding: 60px 20px; text-align: center; color: var(--dim); font-size: 15px; border: 1px dashed var(--line); border-radius: 16px; }
.toast { position: fixed; left: 50%; bottom: 34px; z-index: 3000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 13px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; box-shadow: 0 18px 40px rgba(16, 19, 24, 0.14); transition: 0.4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------- Responsive ------------------------- */
@media (max-width: 1320px) {
  .nav { gap: 28px; }
  .header-actions { gap: 20px; }
  .intro-grid { gap: 70px; }
  .detail-layout { grid-template-columns: 260px 1fr; gap: 60px; }
  .footer-top { gap: 40px; }
}

@media (max-width: 1120px) {
  .container { width: calc(100% - 88px); }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { padding-bottom: 44px; }
  .process-step:nth-child(odd) { padding-left: 0; }
  .process-step:nth-child(odd)::before { left: 0; }
  .process-step:nth-child(2) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 20px 26px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .why-grid { gap: 56px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { gap: 56px; }
  .detail-layout { grid-template-columns: 1fr; gap: 48px; }
  .detail-aside { position: static; display: none; }
  .case-list { grid-template-columns: repeat(2, 1fr); }
  .case-list .case-card.case-more-card { grid-column: 1 / -1; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .container { width: calc(100% - 64px); }
  .site-header.is-scrolled { height: 68px; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 890;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 40px) 40px 48px;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .site-header { background: #ffffff; border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open .brand { position: relative; z-index: 960; }
  .nav > a, .nav-item > a { font-size: 26px; letter-spacing: 0.04em; padding: 14px 0; color: var(--text-2); }
  .nav > a.is-active, .nav-item > a.is-active { color: var(--text); }
  .nav > a::after, .nav-item > a::after { display: none; }
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 6px 2px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 6px 0; font-size: 17px; color: var(--muted); }
  .nav-sub a:hover { background: none; color: var(--text); }
  .nav-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); width: 100%; font-size: 14px; color: var(--muted); }
  .nav-foot a { color: var(--text-2); font-size: 17px; }
  .nav-toggle { display: block; z-index: 960; }
  .header-actions .btn { display: none; }
  .brand-logo { height: 34px; }
  .footer-brand .brand-logo { height: 40px; }
  .hero { min-height: 640px; }
  .hero-bg { background-position: 70% center; }
  .hero-content { padding-top: 40px; }
  .hero-title { font-size: clamp(38px, 8vw, 58px); }
  .hero-desc { font-size: 16px; max-width: 460px; }
  .hero-footer { bottom: 26px; }
  .hero-meta { gap: 20px; }
  .scroll-hint { display: none; }
  .hero-count { display: none; }
  .section { padding: 100px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; }
  .section-side { max-width: 100%; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-right { padding-top: 10px; }
  .cases-grid { gap: 20px; }
  .case-card:nth-child(n) { grid-column: span 6; }
  .case-card:nth-child(odd) { grid-column: span 7; }
  .case-card:nth-child(even) { grid-column: span 5; }
  .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-media img { aspect-ratio: 16 / 10; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 64px 44px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .page-head { padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; background-position: 72% center; }
  .page-head::before,
  .detail-head::before {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.84) 0%, rgba(8, 10, 15, 0.70) 46%, rgba(8, 10, 15, 0.86) 100%);
  }
  .detail-head.detail-head--services::after { display: none; }
  .detail-head.detail-head--services::before {
    background:
      linear-gradient(180deg, rgba(0, 32, 60, 0.42) 0%, rgba(0, 36, 70, 0.18) 55%, rgba(0, 30, 58, 0.34) 100%);
  }
  .page-head.page-head--services::before {
    background:
      linear-gradient(180deg, rgba(0, 26, 52, 0.80) 0%, rgba(0, 32, 62, 0.62) 52%, rgba(0, 24, 48, 0.88) 100%);
  }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 26px; }
  .service-row { grid-template-columns: 44px 1fr 44px; gap: 20px; }
  .service-row p { grid-column: 2 / 3; }
  .service-row .row-tags { grid-column: 2 / 3; }
  .service-row .row-arw { grid-column: 3; grid-row: 1; }
  .service-row .idx { grid-row: 1; }
  .detail-head { padding-top: calc(var(--header-h) + 60px); background-position: 72% center; }
  .page-head--services,
  .detail-head--services { background-position: 84% center; }
  .detail-layout { padding: 56px 0 90px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cell:last-child:nth-child(odd) { grid-column: auto; }
  .case-facts { grid-template-columns: 1fr; }
  .article-head { text-align: left; }
  .article-head .crumbs { justify-content: flex-start; }
  .article-meta { justify-content: flex-start; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature-media { min-height: 280px; aspect-ratio: 3 / 2; }
  .news-feature-body { padding: 34px 30px; }
  .news-list { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 30px; }
  .timeline { margin-top: 44px; }
  .timeline::before { left: 4px; }
  .timeline-item { display: block; padding: 0 0 38px 32px; }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-item::before { left: 0; top: 5px; margin-left: 0; width: 8px; height: 8px; box-shadow: 0 0 0 4px #ffffff; }
  .timeline-year,
  .timeline-item:nth-child(even) .timeline-year { grid-column: auto; grid-row: auto; text-align: left; padding: 0 0 8px; font-size: 28px; }
  .timeline-card,
  .timeline-item:nth-child(even) .timeline-card { grid-column: auto; grid-row: auto; justify-self: auto; padding: 0; }
  .about-image img { aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-form-panel { padding: 34px 28px; }
  .capability { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .brand-logo { height: 30px; }
  .site-header.is-scrolled .brand-logo { height: 30px; }
  .footer-brand .brand-logo { height: 36px; }
  .hero { min-height: 620px; height: 92vh; }
  .hero-bg { opacity: 0.85; background-position: 70% center; }
  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(3, 9, 18, 0.62) 0%, rgba(3, 9, 18, 0.38) 46%, rgba(3, 9, 18, 0.78) 100%),
      linear-gradient(90deg, rgba(3, 9, 18, 0.46) 0%, rgba(3, 9, 18, 0.2) 60%, transparent 100%);
  }
  .hero-title { font-size: clamp(34px, 10.4vw, 48px); letter-spacing: -0.03em; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 0.24em; }
  .hero-desc { font-size: 15px; margin: 22px 0 32px; }
  .hero-actions .btn { padding: 13px 22px; font-size: 14px; }
  .hero-pagination .swiper-pagination-bullet { width: 26px; }
  .hero-pagination .swiper-pagination-bullet-active { width: 46px; }
  .hero-nav .btn-nav { width: 40px; height: 40px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; padding: 30px 26px 32px; }
  .case-card:nth-child(n) { grid-column: 1 / -1; }
  .case-list { grid-template-columns: 1fr; }
  .case-more-body { padding: 32px 26px; }
  .case-more-body h3 { font-size: 24px; }
  .case-info { padding: 20px 22px 22px; }
  .case-info h3 { font-size: 18px; }
  .case-info .case-summary { font-size: 13px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step,
  .process-step + .process-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
  .process-step + .process-step::before { left: 0; }
  .process-step:last-child { border-bottom: 0; padding-bottom: 0; }
  .news-grid, .news-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px 24px 0; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat-num { font-size: 40px; }
  .stat-icon { width: 26px; height: 26px; }
  .cta-panel { padding: 48px 26px; border-radius: 20px; }
  .cta-title { font-size: 32px; }
  .cta-section { padding-bottom: 80px; }
  .page-title { font-size: 34px; }
  .br-m { display: inline; }
  .detail-title { font-size: 32px; }
  .detail-body { padding-top: 48px; }
  .service-row { grid-template-columns: 1fr 42px; gap: 16px; padding: 32px 0; }
  .service-row .idx { display: none; }
  .service-row p, .service-row .row-tags { grid-column: 1 / 2; }
  .service-row .row-arw { grid-column: 2; grid-row: 1; width: 42px; height: 42px; }
  .feature-grid { margin: 40px 0 48px; }
  .article-title { font-size: 28px; }
  .article-meta { flex-wrap: wrap; }
  .article-body { margin-top: 44px; }
  .rich { font-size: 16px; }
  .rich h2 { font-size: 24px; }
  .rich h3 { font-size: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; padding: 28px 24px 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 28px 20px; border-radius: 18px; }
  .contact-phone a { font-size: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-watermark { font-size: 17vw; margin-top: 46px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .detail-meta { gap: 8px; }
  .detail-meta span { font-size: 12px; }
  .next-link { width: 100%; justify-content: space-between; }
  .section-tight { padding: 70px 0; }
  .timeline-year,
  .timeline-item:nth-child(even) .timeline-year { font-size: 24px; }
  .timeline-card h3 { font-size: 18px; }
  .section-grid { background-size: 52px 52px; }
  .home-news { background-size: auto, 52px 52px, 52px 52px; }
  .home-intro::before,
  .home-partners::after { display: none; }
  .home-services::after { width: 220px; height: 220px; right: -60px; bottom: -70px; }
  .home-why::after { width: 260px; right: -120px; top: -80px; }
  .section-dots::after { width: 140px; height: 140px; top: 56px; opacity: 0.4; }
  .section-deco::after { display: none; }
  .detail-head::after { display: none; }
}

/* ------------------------- Partners ------------------------- */
.partners-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid var(--line);
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(116px, 8vw, 148px);
  padding: 24px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-logo:nth-child(4n) { border-right: 0; }
.partner-logo:nth-last-child(-n+4) { border-bottom: 0; }
.partner-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.35s var(--ease);
  filter: grayscale(1);
}
.partner-logo:hover img { opacity: 1;filter: none; }

@media (max-width: 900px) {
  .partner-logo {
    height: 104px;
    padding: 18px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .partner-logo img { max-height: 44px; }
}

@media (max-width: 600px) {
  .partners-wall { grid-template-columns: repeat(2, 1fr); }
  .partner-logo { height: 92px; padding: 14px 16px; }
  .partner-logo:nth-child(4n) { border-right: 1px solid var(--line); }
  .partner-logo:nth-child(2n) { border-right: 0; }
  .partner-logo:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .partner-logo:nth-last-child(-n+2) { border-bottom: 0; }
  .partner-logo img { max-height: 36px; }
}
