/* =========================================================
   济南未艾室内设计有限公司 — 官网样式
   风格：简约 · 大气 · 温润
   ========================================================= */

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1f1b16;
  --ink-soft: #5c544b;
  --ink-faint: #9a9189;
  --accent: #9a7b4f;
  --accent-deep: #6e5436;
  --accent-soft: #efe7da;
  --line: #e4ddd2;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(40, 32, 22, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* ---------- 排版 ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}

.section {
  padding: 110px 0;
}

.section.alt {
  background: var(--surface);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.35s ease;
  padding: 26px 0;
}

.nav.scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.nav:not(.scrolled) .brand,
.nav:not(.scrolled) .nav-link,
.nav:not(.scrolled) .nav-toggle span {
  color: #fff;
}

.brand small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 600;
}

.nav:not(.scrolled) .brand small {
  color: var(--accent-soft);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav:not(.scrolled) .nav-link.active {
  color: var(--accent-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(25, 20, 14, 0.62),
      rgba(25, 20, 14, 0.42)
    ),
    url("https://images.unsplash.com/photo-1617806118233-18e1de247200?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 40px;
}

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

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
}

.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ---------- 首页 简介块 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.intro-text h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 22px;
}

.intro-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.intro-tags span {
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- 首页 服务预览 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.service-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--accent);
}

/* ---------- 首页 精选案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover img {
  transform: scale(1.07);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(25, 20, 14, 0.82) 0%,
    rgba(25, 20, 14, 0) 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}

.case-overlay .case-cat {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.case-overlay h3 {
  color: #fff;
  font-size: 21px;
}

.case-overlay p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
}

/* ---------- 数据条 ---------- */
.stats {
  background: var(--ink);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 52px);
  color: var(--accent-soft);
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--accent-soft);
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}

.cta p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer .brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer p {
  font-size: 14px;
  line-height: 1.8;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer ul li a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 关于我们 ---------- */
.page-hero {
  position: relative;
  padding: 200px 0 110px;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(
      rgba(25, 20, 14, 0.6),
      rgba(25, 20, 14, 0.55)
    ),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto;
}

.about-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 auto 70px;
  text-align: center;
  line-height: 1.95;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 44px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-card .vc-num {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-split .media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 20px;
}

.about-split p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ---------- 产品服务 ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
}

.svc-block:last-child {
  margin-bottom: 0;
}

.svc-block.reverse .svc-media {
  order: 2;
}

.svc-media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.svc-text .svc-index {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.svc-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 18px;
}

.svc-text p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.svc-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.svc-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 15px;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- 案例分享 ---------- */
.case-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.case-filter button {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

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

.case-grid-lg .case-card {
  aspect-ratio: 4 / 5;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 22px;
}

.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 24px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list .ci-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
}

.contact-list .ci-body strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-list .ci-body span {
  color: var(--ink-soft);
  font-size: 15px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
}

.form-success.show {
  display: block;
}

.map-wrap {
  margin-top: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 7;
  min-height: 340px;
  background: linear-gradient(135deg, #e9e2d6, #ddd2c0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  position: relative;
}

.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  text-align: center;
}

.map-placeholder strong {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

/* ---------- 一键导航 ---------- */
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  color: #fff;
  transition: all 0.25s ease;
}

.btn-map.amap {
  background: #0a8efb;
}

.btn-map.amap:hover {
  background: #0a76d4;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(10, 142, 251, 0.8);
}

.btn-map.baidu {
  background: #4e6ef2;
}

.btn-map.baidu:hover {
  background: #3b57d6;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(78, 110, 242, 0.8);
}

.btn-map.copy {
  background: var(--ink);
}

.btn-map.copy:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-map.copied {
  background: var(--accent-deep);
}

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal.d1 {
  transition-delay: 0.1s;
}
.reveal.d2 {
  transition-delay: 0.2s;
}
.reveal.d3 {
  transition-delay: 0.3s;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .intro-grid,
  .about-split,
  .svc-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-block.reverse .svc-media {
    order: 0;
  }
  .service-grid,
  .value-grid,
  .case-grid,
  .case-grid-lg {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.4);
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-link,
  .nav:not(.scrolled) .nav-link {
    color: var(--ink);
    font-size: 18px;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .service-grid,
  .value-grid,
  .case-grid,
  .case-grid-lg,
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
