/* ===========================================
   西安日语网站建设 - 主样式
   设计语言：日式侘寂 + 商务克制 + 留白
   配色：靛蓝（信任）+ 朱红（日系点缀）
   =========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #0e1116;
  --indigo: #1a2238;
  --indigo-deep: #0f1525;
  --vermilion: #c1272d;
  --vermilion-soft: #d94c52;
  --rice: #f6f4ee;
  --rice-warm: #efeae0;
  --line: #d9d4c7;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --gold: #b8935a;
  --shadow-sm: 0 2px 8px rgba(14, 17, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 20px 60px rgba(14, 17, 22, 0.12);
  --t-fast: 0.25s ease;
  --t-base: 0.4s ease;
  --t-slow: 0.8s ease;
  --serif:
    "Noto Serif JP", "Source Han Serif SC", "Songti SC", "STSong", "SimSun",
    serif;
  --sans:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--rice);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--vermilion);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================
   顶部导航
   =========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 244, 238, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base);
}

.site-header.scrolled {
  background: rgba(246, 244, 238, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--indigo);
}

.brand-name {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.brand-sup {
  font-size: 10px;
  margin-left: 2px;
  margin-top: 2px;
  color: var(--vermilion);
  font-weight: 600;
}

.brand-divider {
  color: var(--gray-light);
  font-weight: 300;
  margin: 0 4px;
}

.brand-sub {
  font-size: 15px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.nav-list a {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  white-space: nowrap;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vermilion);
  transition: width var(--t-base);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--indigo);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all var(--t-base);
}

.nav-cta:hover {
  background: var(--vermilion);
  color: var(--white) !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: all var(--t-base);
}

.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 10px;
}
.nav-toggle span:nth-child(3) {
  top: 20px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===========================================
   Hero Banner（与导航一体的动态渲染）
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f6f4ee 0%, #ece6d8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(193, 39, 45, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "和";
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 480px;
  font-weight: 700;
  color: rgba(26, 34, 56, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  animation: floatSlow 10s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--vermilion);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.8s ease 0.1s forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--vermilion);
}

.hero-title {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.8s ease 0.25s forwards;
}

.hero-title .accent {
  color: var(--vermilion);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 12px;
  background: rgba(193, 39, 45, 0.15);
  z-index: -1;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise 0.8s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s ease 0.55s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  border-radius: 2px;
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.btn-primary:hover {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193, 39, 45, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-ghost:hover {
  background: var(--indigo);
  color: var(--white);
}

.hero-visual {
  position: relative;
  height: 480px;
  opacity: 0;
  animation: rise 0.9s ease 0.4s forwards;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border-radius: 2px;
}

.hero-card.main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  z-index: 3;
}

.hero-card.tag-1 {
  top: 8%;
  right: 5%;
  width: 180px;
  animation: float 4s ease-in-out infinite;
}

.hero-card.tag-2 {
  bottom: 10%;
  left: 0;
  width: 200px;
  animation: float 5s ease-in-out 1s infinite;
}

.hero-card .jp {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--vermilion);
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.hero-card .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-card .label {
  font-size: 13px;
  color: var(--gray);
}

.hero-card.main .url-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.url-bar {
  flex: 1;
  height: 26px;
  background: var(--rice);
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  color: var(--gray);
  font-family: "Courier New", monospace;
}

.url-bar::before {
  content: "🔒";
  font-size: 10px;
  margin-right: 6px;
}

.card-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

.card-row .ico {
  width: 18px;
  height: 18px;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vermilion);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gray);
  font-family: var(--serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: rise 1s ease 0.9s forwards;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--vermilion), transparent);
  animation: drop 1.6s ease-in-out infinite;
}

@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.01% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 16px));
  }
}

/* ===========================================
   通用板块
   =========================================== */
section {
  padding: 110px 0;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--vermilion);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--vermilion);
}

.section-title {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.2;
  color: var(--indigo);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.section-title small {
  display: block;
  font-size: 16px;
  color: var(--gray);
  font-weight: 400;
  margin-top: 12px;
  letter-spacing: 4px;
  font-family: var(--sans);
}

.section-lead {
  font-size: 16px;
  color: var(--gray);
  max-width: 720px;
  line-height: 1.9;
  margin-bottom: 64px;
}

.section-head {
  margin-bottom: 64px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-eyebrow {
  justify-content: center;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   服务优势
   =========================================== */
.service {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--rice);
  padding: 44px 32px 40px;
  border: 1px solid transparent;
  transition: all var(--t-base);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--vermilion);
  transition: width var(--t-base);
}

.service-card:hover {
  background: var(--white);
  border-color: var(--line);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--vermilion);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--vermilion);
  transition: all var(--t-base);
}

.service-card:hover .service-icon {
  background: var(--vermilion);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--indigo);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 700;
  color: rgba(26, 34, 56, 0.06);
  line-height: 1;
}

/* ===========================================
   服务流程
   =========================================== */
.process {
  background: var(--indigo);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process .section-eyebrow {
  color: var(--vermilion-soft);
}

.process .section-eyebrow::before {
  background: var(--vermilion-soft);
}

.process .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.process-dot {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--vermilion-soft);
  position: relative;
  z-index: 2;
  transition: all var(--t-base);
}

.process-step:hover .process-dot {
  background: var(--vermilion);
  color: var(--white);
  border-color: var(--vermilion);
  transform: scale(1.05);
}

.process-step h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.process-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ===========================================
   价值板块
   =========================================== */
.value {
  background: var(--rice);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}

.value-item:last-child {
  border-bottom: 0;
}

.value-item .vnum {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--vermilion);
  line-height: 1;
  min-width: 56px;
}

.value-item h4 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--indigo);
  margin-bottom: 6px;
  font-weight: 600;
}

.value-item p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
}

.value-visual {
  position: relative;
  height: 520px;
}

.value-card {
  position: absolute;
  background: var(--white);
  padding: 28px 30px;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--vermilion);
  border-radius: 2px;
}

.value-card.c1 {
  top: 0;
  left: 0;
  width: 280px;
}
.value-card.c2 {
  top: 90px;
  right: 0;
  width: 260px;
}
.value-card.c3 {
  bottom: 60px;
  left: 40px;
  width: 300px;
}
.value-card.c4 {
  bottom: 0;
  right: 20px;
  width: 240px;
}

.value-card .vjp {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--vermilion);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.value-card h5 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--indigo);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===========================================
   西安本地优势
   =========================================== */
.local {
  background: var(--rice-warm);
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.local-map {
  position: relative;
  height: 480px;
  background: linear-gradient(
    135deg,
    var(--indigo) 0%,
    var(--indigo-deep) 100%
  );
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.local-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(193, 39, 45, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(184, 147, 90, 0.15) 0%,
      transparent 50%
    );
}

.local-pin {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.local-pin .pulse {
  width: 16px;
  height: 16px;
  background: var(--vermilion);
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
}

.local-pin .pulse::before,
.local-pin .pulse::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--vermilion);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.local-pin .pulse::after {
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.local-pin .city {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 8px;
}

.local-pin .city-jp {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 12px;
  color: var(--vermilion-soft);
}

.local-pin .label {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.local-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.local-item {
  display: flex;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all var(--t-base);
}

.local-item:hover {
  border-color: var(--vermilion);
  transform: translateX(6px);
}

.local-item .li-ico {
  width: 48px;
  height: 48px;
  background: var(--rice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--vermilion);
  flex-shrink: 0;
}

.local-item h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--indigo);
  margin-bottom: 4px;
}

.local-item p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===========================================
   建站类型
   =========================================== */
.types {
  background: var(--white);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.type-card {
  position: relative;
  background: var(--rice);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all var(--t-base);
  cursor: pointer;
}

.type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--vermilion);
}

.type-banner {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-banner.t1 {
  background: linear-gradient(135deg, #1a2238 0%, #2c3a5a 100%);
}
.type-banner.t2 {
  background: linear-gradient(135deg, #c1272d 0%, #8b1d22 100%);
}
.type-banner.t3 {
  background: linear-gradient(135deg, #b8935a 0%, #8a6c3e 100%);
}
.type-banner.t4 {
  background: linear-gradient(135deg, #2c3a5a 0%, #1a2238 100%);
}
.type-banner.t5 {
  background: linear-gradient(135deg, #8b1d22 0%, #5a1216 100%);
}
.type-banner.t6 {
  background: linear-gradient(135deg, #0f1525 0%, #1a2238 100%);
}

.type-banner .jp-big {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 4px;
  line-height: 1;
}

.type-body {
  padding: 28px 28px 32px;
}

.type-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--indigo);
  margin-bottom: 10px;
  font-weight: 700;
}

.type-body .jp-sub {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--vermilion);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.type-body p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

.type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--white);
  color: var(--gray);
  border: 1px solid var(--line);
}

/* ===========================================
   案例
   =========================================== */
.cases {
  background: var(--indigo-deep);
  color: var(--white);
}

.cases .section-title {
  color: var(--white);
}

.cases .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all var(--t-base);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--vermilion);
  background: rgba(255, 255, 255, 0.06);
}

.case-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-thumb.th1 {
  background: linear-gradient(135deg, #2c3a5a 0%, #1a2238 100%);
}
.case-thumb.th2 {
  background: linear-gradient(135deg, #c1272d 0%, #5a1216 100%);
}
.case-thumb.th3 {
  background: linear-gradient(135deg, #b8935a 0%, #6b4f2c 100%);
}

.case-thumb .globe {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-thumb .globe::before,
.case-thumb .globe::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.case-thumb .globe::before {
  inset: 18px;
}

.case-thumb .globe::after {
  inset: 0;
  border-radius: 0;
  border-left-color: rgba(255, 255, 255, 0.3);
  border-right-color: rgba(255, 255, 255, 0.3);
  width: 100%;
  height: 100%;
}

.case-thumb .jp {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 2px;
  z-index: 2;
}

.case-body {
  padding: 28px 26px 32px;
}

.case-body .industry {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--vermilion-soft);
  margin-bottom: 8px;
}

.case-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}

.case-body p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 18px;
}

.case-stat {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat div {
  text-align: center;
}

.case-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--vermilion-soft);
  font-weight: 700;
}

.case-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   关于闫宝龙
   =========================================== */
.about {
  background: var(--rice);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "匠";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 360px;
  font-weight: 700;
  color: rgba(26, 34, 56, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  filter: grayscale(15%);
}

.about-photo::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--vermilion);
  border-radius: 2px;
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--vermilion);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 4px;
}

.about-content h2 {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--indigo);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-content .title-jp {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--vermilion);
  letter-spacing: 6px;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 15.5px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.about-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  color: var(--vermilion);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ===========================================
   FAQ
   =========================================== */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: all var(--t-base);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--indigo);
  transition: color var(--t-base);
  gap: 24px;
}

.faq-q:hover {
  color: var(--vermilion);
}

.faq-q .q-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--rice);
  color: var(--vermilion);
  font-size: 14px;
  font-weight: 700;
  margin-right: 16px;
  flex-shrink: 0;
  font-family: var(--serif);
}

.faq-q .q-text {
  flex: 1;
}

.faq-q .q-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-q .q-toggle::before,
.faq-q .q-toggle::after {
  content: "";
  position: absolute;
  background: var(--vermilion);
  transition: transform var(--t-base);
}

.faq-q .q-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-q .q-toggle::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-q .q-toggle::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

.faq-a-inner {
  padding: 0 0 28px 52px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
}

/* ===========================================
   联系
   =========================================== */
.contact {
  background: linear-gradient(
    135deg,
    var(--indigo) 0%,
    var(--indigo-deep) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "繋";
  position: absolute;
  left: -5%;
  top: 10%;
  font-family: var(--serif);
  font-size: 360px;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.contact .section-title {
  color: var(--white);
}

.contact .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 26px;
  transition: all var(--t-base);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--vermilion);
  transform: translateY(-4px);
}

.contact-card .c-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--vermilion-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-card .c-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  font-weight: 600;
  word-break: break-all;
  line-height: 1.4;
}

.contact-card .c-value a {
  color: var(--white);
}

.contact-card .c-value a:hover {
  color: var(--vermilion-soft);
}

.contact-card .c-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.qr-card {
  background: var(--white);
  color: var(--ink);
  padding: 32px;
  text-align: center;
  border-radius: 2px;
}

.qr-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
}

.qr-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--indigo);
  margin-bottom: 6px;
}

.qr-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}

.qr-card .qr-jp {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--vermilion);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

/* ===========================================
   底部
   =========================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  margin-top: 16px;
}

.footer-col h5 {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 2px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--vermilion);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "・";
  color: var(--vermilion);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}

.footer-services a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color var(--t-fast);
}

.footer-services a:hover {
  color: var(--vermilion-soft);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--vermilion-soft);
}

.footer-bottom .copyright a {
  color: var(--white);
  font-weight: 500;
}

.footer-bottom .copyright a:hover {
  color: var(--vermilion-soft);
}

/* ===========================================
   移动端
   =========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 360px;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero::after {
    font-size: 320px;
  }
  .hero-title {
    font-size: 48px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
  }
  .process-flow::before {
    display: none;
  }
  .value-grid,
  .local-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .value-visual {
    height: 460px;
  }
  .types-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-services {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 36px;
  }
  .about-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .nav-list {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--rice);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a:last-child {
    border-bottom: 0;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 12px;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }
  .hero::after {
    font-size: 200px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-visual {
    height: 320px;
  }
  .hero-card.main {
    width: 260px;
  }
  .hero-card.tag-1,
  .hero-card.tag-2 {
    width: 150px;
    padding: 18px;
  }
  .hero-card .num {
    font-size: 28px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .types-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .contact-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-services {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section-title {
    font-size: 30px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .section-lead {
    margin-bottom: 40px;
  }
  .value-visual {
    height: 380px;
  }
  .value-card {
    padding: 18px 20px;
  }
  .value-card.c1,
  .value-card.c2,
  .value-card.c3,
  .value-card.c4 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 16px;
  }
  .about::before {
    font-size: 220px;
  }
  .about-content h2 {
    font-size: 30px;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .local-pin .city {
    font-size: 38px;
    letter-spacing: 4px;
  }
  section {
    padding: 60px 0;
  }
  .scroll-hint {
    display: none;
  }
}

/* 进入动画（IntersectionObserver） */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* 选区颜色 */
::selection {
  background: var(--vermilion);
  color: var(--white);
}
