:root {
  --red: #b51f2a;
  --red-deep: #8f141d;
  --gold: #d6ad68;
  --ink: #17202b;
  --muted: #667085;
  --line: #ebe4df;
  --soft: #fff7f3;
  --white: #ffffff;
  --dark: #101722;
  --shadow: 0 14px 38px rgba(16, 24, 40, .07);
  --radius: 24px;
  --radius-image: 28px;
  --radius-panel: 32px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.68;
}

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

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

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

.topbar {
  height: 38px;
  color: rgba(255,255,255,.76);
  background: var(--dark);
  font-size: 13px;
}

.topbar .container,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar .container {
  height: 38px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(231,234,240,.9);
  backdrop-filter: blur(12px);
  transition: box-shadow .22s ease, transform .22s ease, background-color .22s ease;
}

.header.is-floating {
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 48px rgba(16, 24, 40, .12);
}

.nav {
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: .06em;
  line-height: 1.1;
}

.brand-text {
  display: block;
}

.brand em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: .12em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #283241;
  font-size: 15px;
}

.menu a {
  position: relative;
  padding: 26px 0;
  color: inherit;
  transition: color .18s ease;
}

.menu a.active,
.menu a:hover {
  color: var(--red);
}

.menu a.active::after,
.menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--red);
}

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

.category-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  box-shadow: 0 10px 22px rgba(159,29,34,.13);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.category-tab:hover,
.category-tab.active {
  color: #fff;
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(159,29,34,.24);
}

.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.subtab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(159,29,34,.13);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.subtab:hover,
.subtab.active {
  color: #fff;
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(159,29,34,.24);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(181,31,42,.24);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

.mobile-menu-toggle:hover span {
  background: var(--red);
}

.header.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.header.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.btn.secondary {
  color: var(--red);
  background: #fff;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9,16,28,.94) 0%, rgba(9,16,28,.82) 48%, rgba(9,16,28,.24) 100%),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.hero {
  min-height: 650px;
}

.home-hero {
  min-height: 690px;
  background: #101722;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,16,28,.46) 0%, rgba(9,16,28,.14) 52%, rgba(9,16,28,.04) 100%),
    linear-gradient(180deg, rgba(9,16,28,.04), rgba(9,16,28,.18));
  pointer-events: none;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease, transform 4.8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-inner,
.page-hero-inner {
  max-width: 780px;
  padding: 108px 0 132px;
}

.home-hero-stage {
  position: relative;
  z-index: 2;
  min-height: 690px;
  display: grid;
  align-items: end;
  justify-items: start;
  padding-bottom: 126px;
}

.hero-glass {
  width: min(640px, 100%);
  padding: 0;
  text-align: left;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-glass h1 {
  max-width: 680px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 1.06;
  text-shadow: 0 14px 34px rgba(0,0,0,.38);
}

.hero-glass p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  text-shadow: 0 10px 28px rgba(0,0,0,.32);
}

.hero-glass .hero-actions {
  justify-content: flex-start;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  background: rgba(255,255,255,.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, width .18s ease;
}

.hero-dots button.active,
.hero-dots button:hover {
  width: 46px;
  background: #fff;
}

.trust-line {
  display: none;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(255,255,255,.88);
  background: rgba(181,31,42,.32);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.page-hero-inner {
  padding: 86px 0 94px;
}

.eyebrow,
.label {
  color: #7a8594;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
  display: block;
  padding: 0;
  color: rgba(255,255,255,.76);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

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

h1 {
  margin: 28px 0 22px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
}

.hero p,
.page-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

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

.section {
  padding: 96px 0;
}

.section.soft {
  background: linear-gradient(180deg, #faf7f4 0%, #fff 100%);
}

.home-overview {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
}

.overview-grid div {
  min-height: 92px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.overview-grid div:last-child {
  border-right: 0;
}

.overview-grid strong {
  display: block;
  color: #9f1d22;
  font-size: 28px;
  line-height: 1.1;
}

.overview-grid div:first-child {
  background: #fff;
}

.overview-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  color: var(--red);
  font-weight: 800;
}

.text-link:hover {
  color: var(--red-deep);
}

.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 82px;
  align-items: start;
}

.intro-grid h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1.15;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.brand-statement {
  padding-bottom: 72px;
}

.brand-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.brand-value-card {
  min-height: 210px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
}

.brand-value-card span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.brand-value-card h3 {
  margin: 22px 0 10px;
  font-size: 25px;
}

.brand-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-focus {
  padding-top: 0;
}

.focus-layout {
  display: grid;
  grid-template-columns: 1.28fr .72fr;
  gap: 22px;
  align-items: stretch;
}

.focus-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius-image);
  box-shadow: 0 14px 40px rgba(16, 24, 40, .08);
}

.focus-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: .86;
  transition: transform .5s ease, opacity .5s ease;
}

.focus-image:hover img {
  transform: scale(1.016);
  opacity: .78;
}

.focus-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  background: linear-gradient(180deg, rgba(16,23,34,0), rgba(16,23,34,.94));
}

.focus-caption span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.focus-caption h2 {
  max-width: 720px;
  margin: 12px 0 8px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.16;
}

.focus-caption p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

.focus-panel {
  padding: 36px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: 0 12px 34px rgba(16, 24, 40, .06);
}

.focus-panel .label {
  color: var(--red);
}

.focus-panel h2 {
  margin: 10px 0 24px;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.18;
}

.focus-list {
  display: grid;
  gap: 12px;
}

.focus-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.focus-list b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 17px;
}

.focus-list span {
  color: var(--muted);
  font-size: 14px;
}

.control-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}

.control-panel {
  padding: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
}

.control-panel .label {
  color: #7a8594;
}

.control-panel h2 {
  margin: 10px 0 18px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.18;
}

.control-panel p {
  margin: 0;
  color: var(--muted);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.control-grid div {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
}

.control-grid b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
}

.control-grid span {
  color: var(--muted);
  font-size: 14px;
}

.control-grid div,
.article-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.control-grid div:hover,
.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159,29,34,.18);
  box-shadow: 0 14px 38px rgba(16, 24, 40, .07);
}

.service-system {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-tier {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-tier:hover {
  transform: translateY(-2px);
  border-color: rgba(159,29,34,.16);
  box-shadow: 0 14px 38px rgba(16, 24, 40, .065);
}

.service-tier-main {
  grid-column: span 3;
  min-height: 254px;
  color: var(--ink);
  background: #fff;
}

.service-tier:not(.service-tier-main) {
  grid-column: span 2;
}

.service-tier span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.service-tier h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

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

.service-tier-main p {
  color: var(--muted);
}

.service-tier em {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: var(--red);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.service-tier-main em {
  color: rgba(255,255,255,.84);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
}

.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4,
.service-grid,
.case-list,
.article-list {
  display: grid;
  gap: 18px;
}

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

.grid-3,
.article-list {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.service-card,
.case-card,
.article-card,
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
}

.card,
.service-card,
.article-card,
.step-card {
  padding: 28px;
}

.service-card .num {
  color: var(--gold);
  font-weight: 800;
}

.service-card h3,
.card h3,
.article-card h3,
.step-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.service-card p,
.card p,
.article-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  min-height: 460px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16,23,34,.08), rgba(16,23,34,.24)),
    url("https://images.unsplash.com/photo-1604328698692-f76ea9498e76?q=80&w=1200&auto=format&fit=crop") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  color: #283241;
  background: var(--soft);
  border-radius: 12px;
  font-weight: 700;
}

.case-list {
  grid-template-columns: repeat(3, 1fr);
}

.case-hero {
  background:
    linear-gradient(90deg, rgba(16,23,34,.96) 0%, rgba(16,23,34,.78) 56%, rgba(16,23,34,.34) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.case-filter-section {
  padding: 24px 0;
  background: #f4f5f7;
  border-bottom: 1px solid var(--line);
}

.case-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}

.case-filter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
  color: #475467;
  background: #eceff3;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.case-filter-item:hover,
.case-filter-item.active {
  color: #111827;
  background: #fff;
  border-color: #b8c0cc;
}

.case-filter-children {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dde2e8;
}

.case-filter-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 32px;
  padding: 0 12px;
  color: #667085;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.case-filter-child:hover,
.case-filter-child.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.portfolio-page {
  background: #fff;
}

.portfolio-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.portfolio-section-head.compact {
  margin-top: 44px;
}

.portfolio-section-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-section-head h2 {
  margin: 6px 0 0;
  color: #182230;
  font-size: 30px;
  line-height: 1.18;
}

.portfolio-section-head p {
  max-width: 460px;
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.featured-case-grid,
.standard-case-grid,
.tail-case-grid {
  display: grid;
  gap: 18px;
}

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

.standard-case-grid,
.tail-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flat-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-case {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.portfolio-case:hover {
  transform: translateY(-4px);
  border-color: #cfd6df;
  box-shadow: 0 22px 54px rgba(16, 24, 40, .10);
}

.portfolio-case-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9dee6;
}

.portfolio-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.portfolio-case:hover .portfolio-case-image img {
  transform: scale(1.035);
  filter: saturate(.92);
}

.portfolio-case-body {
  position: relative;
  display: block;
  min-height: 106px;
  padding: 18px;
}

.portfolio-case-title {
  display: block;
  color: #182230;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.36;
}

.portfolio-case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.portfolio-case-meta b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  overflow: hidden;
  color: #667085;
  background: #f2f4f7;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-case-hover {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  color: #667085;
  background: #fff;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.portfolio-case:hover .portfolio-case-hover {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-case.featured .portfolio-case-title {
  font-size: 22px;
}

.portfolio-case.featured .portfolio-case-body {
  min-height: 124px;
  padding: 22px;
}

.portfolio-case.tail {
  box-shadow: none;
}

.portfolio-case.tail .portfolio-case-image img {
  filter: saturate(.82);
}

.portfolio-pagination {
  margin-top: 52px;
}

.portfolio-pagination a,
.portfolio-pagination span {
  min-width: 38px;
  min-height: 36px;
  border-radius: 8px;
}

.portfolio-pagination .current {
  color: #fff;
  border-color: #182230;
  background: #182230;
}

.empty-state {
  padding: 48px;
  color: #667085;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: #d6dae1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.portfolio-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: var(--dark);
  box-shadow: 0 12px 36px rgba(16, 24, 40, .065);
}

.portfolio-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 618px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: .88;
  transition: transform .35s ease, opacity .35s ease;
}

.portfolio-card:hover img {
  transform: scale(1.018);
  opacity: .72;
}

.portfolio-cover {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(16,23,34,0), rgba(16,23,34,.92));
}

.portfolio-cover span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.portfolio-cover h3 {
  margin: 12px 0 6px;
  font-size: 22px;
  line-height: 1.28;
}

.portfolio-cover p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.map-image {
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: #eef1f5;
  box-shadow: var(--shadow);
}

.product-hero {
  background:
    linear-gradient(90deg, rgba(16,23,34,.96) 0%, rgba(16,23,34,.78) 58%, rgba(16,23,34,.32) 100%),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.product-detail-image {
  margin: 0;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-content {
  min-width: 0;
}

.product-detail-content h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.2;
}

.product-meta-list {
  margin-top: 26px;
}

.seo-case-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.seo-case-left {
  min-width: 0;
}

.seo-case-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dde2e8;
  border-radius: 14px;
}

.seo-case-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seo-case-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.seo-case-thumbs button {
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  background: #e5e9ef;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  opacity: .84;
}

.seo-case-thumbs button:hover,
.seo-case-thumbs button.active {
  opacity: 1;
  border-color: #aeb7c3;
}

.seo-case-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seo-case-right {
  padding: 10px 0;
}

.seo-case-right h2 {
  margin: 6px 0 18px;
  color: #17202b;
  font-size: 24px;
  line-height: 1.25;
}

.seo-case-content {
  color: #444c5a;
  font-size: 15px;
  line-height: 1.95;
}

.seo-case-content p {
  margin-bottom: 18px;
}

.related-cases {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

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

.product-switch {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .06);
  overflow: hidden;
}

.product-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: #f6f7f9;
  border-bottom: 1px solid var(--line);
}

.product-tabs button {
  min-height: 38px;
  padding: 0 18px;
  color: #475467;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.product-tabs button.active,
.product-tabs button:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.product-panel {
  display: none;
  padding: 24px;
}

.product-panel.active {
  display: block;
}

.product-gallery-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.product-gallery-main {
  margin: 0;
  overflow: hidden;
  background: #eef1f5;
  border-radius: 12px;
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.product-gallery-side h2 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.22;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.product-thumbs button {
  padding: 0;
  overflow: hidden;
  background: #eef1f5;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.product-thumbs button.active {
  border-color: var(--red);
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-content-card {
  max-width: 920px;
}

.product-content-card h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.2;
}

.article-content {
  line-height: 1.9;
  color: var(--muted);
  word-break: break-word;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.article-content table {
  max-width: 100%;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 188px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.news-row:hover {
  border-color: rgba(159, 29, 34, .16);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(16, 24, 40, .07);
}

.news-row img {
  width: 100%;
  height: 100%;
  min-height: 188px;
  object-fit: cover;
  background: #d6dae1;
}

.news-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.news-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.news-row-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-weight: 700;
}

.news-row h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.36;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-size: 14px;
}

.pagination a:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.portrait-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(16, 24, 40, .06);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #d6dae1;
}

.portrait-info {
  padding: 18px;
}

.portrait-info h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.portrait-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-body {
  padding: 22px;
}

.case-body span,
.article-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.article-card small {
  display: block;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-card {
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), var(--gold));
  opacity: .88;
}

.article-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
}

.case-body h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.case-meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.risk-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.delivery-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.delivery-card {
  min-height: 248px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.delivery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 29, 34, .16);
  box-shadow: 0 14px 38px rgba(16, 24, 40, .07);
}

.delivery-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #7a8594;
  background: #f5f6f8;
  border: 1px solid #e5e8ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.delivery-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
}

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

.risk-card {
  min-height: 260px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(145deg, #111827, #222b38);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(16, 24, 40, .075);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.risk-card:nth-child(even) {
  background: linear-gradient(145deg, #16202d, #2b3038);
}

.risk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(16, 24, 40, .09);
}

.risk-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: rgba(214,173,104,.10);
  border: 1px solid rgba(214,173,104,.55);
  border-radius: 999px;
  font-weight: 800;
}

.risk-card h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.risk-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
}

.cta {
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(143,20,29,.96), rgba(181,31,42,.84)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta p {
  max-width: 760px;
  color: rgba(255,255,255,.78);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.contact-pill {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}

.contact-pill b {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.contact-pill span {
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.footer {
  padding: 56px 0 28px;
  color: rgba(255,255,255,.72);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 34px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer h3 {
  margin: 0 0 16px;
  color: #fff;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 9px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 13px;
}

.compat-note {
  padding: 16px 18px;
  color: #6b4a09;
  background: #fff7e6;
  border: 1px solid #f1d49a;
  border-radius: 14px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 54px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(159,29,34,.28);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.back-to-top:hover {
  background: var(--red-deep);
  transform: translateY(6px);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .58s ease, transform .58s ease;
}

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

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

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

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

@media (max-width: 1060px) {
  .header {
    position: sticky;
  }

  .menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .header.menu-open .menu {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, .16);
    backdrop-filter: blur(14px);
  }

  .header.menu-open .menu a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .header.menu-open .menu a.active,
  .header.menu-open .menu a:hover {
    color: #fff;
    background: var(--red);
  }

  .header.menu-open .menu a::after {
    display: none;
  }

  .grid-4,
  .overview-grid,
  .brand-value-grid,
  .portrait-grid,
  .portfolio-grid,
  .service-grid,
  .process,
  .contact-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .home-hero-inner,
  .intro-grid,
  .focus-layout,
  .product-detail-layout,
  .product-gallery-layout,
  .seo-case-layout,
  .control-layout,
  .grid-2,
  .case-list,
  .article-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .service-tier,
  .service-tier:not(.service-tier-main),
  .service-tier-main {
    grid-column: auto;
  }

  .portfolio-card:first-child {
    grid-column: span 2;
    min-height: 430px;
  }

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

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

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

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

  .news-row {
    grid-template-columns: 220px 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .topbar {
    display: none;
  }

  .nav {
    height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 17px;
  }

  .logo-img {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .header.menu-open .menu {
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
  }

  .hero-inner,
  .page-hero-inner {
    padding: 72px 0 86px;
  }

  h1 {
    font-size: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .portfolio-section-head,
  .cta-inner,
  .copyright {
    display: block;
  }

  .grid-3,
  .grid-4,
  .overview-grid,
  .brand-value-grid,
  .portrait-grid,
  .portfolio-grid,
  .service-grid,
  .process,
  .delivery-board,
  .contact-list,
  .check-list {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 560px;
  }

  .home-hero-stage {
    min-height: 560px;
    align-items: end;
    padding-bottom: 88px;
  }

  .hero-glass {
    width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .hero-glass h1 {
    font-size: 34px;
  }

  .hero-glass p {
    font-size: 15px;
  }

  .trust-line {
    justify-content: flex-start;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-dots {
    bottom: 22px;
  }

  .home-overview {
    margin-top: -26px;
  }

  .service-system {
    grid-template-columns: 1fr;
  }

  .service-tier,
  .service-tier-main {
    min-height: 230px;
    padding: 24px;
  }

  .service-tier em {
    left: 24px;
    bottom: 20px;
  }

  .focus-image {
    min-height: 430px;
  }

  .focus-panel {
    padding: 26px;
  }

  .risk-board {
    grid-template-columns: 1fr;
  }

  .case-filter-bar,
  .standard-case-grid,
  .flat-case-grid,
  .related-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .case-filter-item {
    min-height: 38px;
    font-size: 12px;
  }

  .portfolio-section-head.compact {
    margin-top: 34px;
  }

  .portfolio-section-head h2 {
    font-size: 24px;
  }

  .portfolio-section-head p {
    margin-top: 8px;
  }

  .portfolio-case-body,
  .portfolio-case.featured .portfolio-case-body {
    min-height: 112px;
    padding: 14px;
  }

  .portfolio-case-title,
  .portfolio-case.featured .portfolio-case-title {
    font-size: 15px;
  }

  .portfolio-case-meta {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .portfolio-case-hover {
    display: none;
  }

  .portfolio-pagination {
    flex-wrap: wrap;
    margin-top: 36px;
  }

  .risk-card {
    min-height: 220px;
    padding: 24px;
  }

  .portfolio-card,
  .portfolio-card:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .about-image {
    min-height: 320px;
  }

  .home-hero-inner {
    gap: 36px;
  }

  .hero-panel,
  .control-panel {
    padding: 24px;
  }

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

  .news-row {
    grid-template-columns: 1fr;
  }

  .news-row img {
    height: 210px;
    min-height: 210px;
  }

  .news-row-body {
    padding: 22px;
  }

  .product-detail-layout {
    gap: 26px;
  }

  .product-detail-image {
    border-radius: 10px;
  }

  .product-panel {
    padding: 16px;
  }

  .product-tabs {
    overflow-x: auto;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .seo-case-layout {
    gap: 24px;
  }

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

  .news-row h3 {
    font-size: 19px;
  }

  .cta .btn {
    margin-top: 22px;
  }
}
