/* 707 Studio 全局样式 - Pico CSS 覆盖 */
:root {
  --pico-background-color: #0F0F11;
  --pico-card-background-color: #17171a;
  --pico-primary: #B88647;
  --pico-primary-hover: #c99c5b;
  --pico-color: #EAEAEA;
  --pico-muted-color: #9a9a9a;
  --pico-border-color: rgba(255, 255, 255, 0.1);
  --pico-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0F0F11;
}

/* 顶部金线 */
.studio-topline {
  height: 3px;
  background: linear-gradient(90deg, #B88647, #e0b97a, #B88647);
}

/* ===== 顶部导航（参考百度开放平台风格：横向平铺 + hover下划线 + 右侧CTA） ===== */
.studio-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 17, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-nav .nav-inner {
  display: flex;
  align-items: center;
  flex-direction: row !important;
  gap: 2.5rem;
}

.studio-nav .brand {
  color: var(--pico-primary);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.studio-nav .brand img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.studio-nav .menu {
  display: flex;
  align-items: center;
  flex-direction: row !important;
  gap: 2rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.studio-nav .menu > li {
  position: relative;
  margin: 0;
}

.studio-nav .menu > li > a {
  color: #c9c9c9;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.studio-nav .menu > li > a:hover,
.studio-nav .menu > li > a[aria-current="page"] {
  color: var(--pico-primary);
  border-bottom-color: var(--pico-primary);
}

/* 下拉触发项 */
.has-drop > .drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.has-drop > .drop-trigger .chev {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b9b9b9;
  transition: transform 0.2s;
}
.has-drop:hover > .drop-trigger .chev,
.has-drop.open > .drop-trigger .chev {
  transform: rotate(180deg);
  border-top-color: var(--pico-primary);
}

/* 下拉面板：简洁纯文字列表，固定左侧对齐，不被内容撑宽 */
.drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: block;
  min-width: 200px;
  width: max-content;
  max-width: 240px;
  background: #1a1a1e;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
  z-index: 60;
}
/* 透明桥：消除 hover 间隙，鼠标下移不缩回 */
.has-drop::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 8px;
}
.has-drop:hover .drop,
.has-drop.open .drop {
  opacity: 1;
  visibility: visible;
}
.drop li {
  display: block;
  margin: 0;
}
.drop li a {
  display: block;
  color: #c9c9c9;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.5;
  transition: background 0.15s, color 0.15s;
}
.drop li a:hover {
  background: rgba(184,134,71,0.12);
  color: var(--pico-primary);
}
.drop .drop-label {
  display: none;
}
.drop .drop-sep {
  display: none;
}
.drop .drop-note {
  display: none;
}

/* 窄屏：导航始终保持单行横向，过宽时允许横向滚动（不折叠成竖向） */
@media (max-width: 768px) {
  .studio-nav .nav-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
  }
  .studio-nav .menu {
    gap: 1.2rem;
    margin-left: auto;
  }
  .has-drop .drop {
    left: 0;
    right: auto;
    width: max-content;
    max-width: 200px;
  }
}

/* Hero 区块 */
.hero {
  padding: 5.5rem 0 4rem;
}

.hero-eyebrow {
  color: var(--pico-primary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: #f5f5f5;
}

.hero .lead {
  max-width: 64ch;
  color: var(--pico-muted-color);
  line-height: 1.7;
}

/* 通用区块 */
.section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #f5f5f5;
}

.section-desc {
  color: var(--pico-muted-color);
  max-width: 70ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* 卡片 */
.card {
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 71, 0.5);
}

.card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.card p {
  color: var(--pico-muted-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* 详情页 */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero .back {
  color: var(--pico-muted-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.page-hero .back:hover {
  color: var(--pico-primary);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0.6rem 0 0.8rem;
  color: #f5f5f5;
}

.page-hero .lead {
  color: var(--pico-muted-color);
  max-width: 70ch;
  line-height: 1.7;
}

/* 服务明细列表 */
.service-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-list li strong {
  color: var(--pico-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* ===== 页脚（高端版：左品牌区 + 右多列菜单） ===== */
footer.studio-footer {
  border-top: 1px solid rgba(184, 134, 71, 0.25);
  padding: 3.5rem 0 2rem;
  margin-top: 3.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(184, 134, 71, 0.04) 100%);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}

/* 品牌区 */
.footer-brand {
  max-width: 320px;
  flex-shrink: 0;
  padding-right: 3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: block;
  max-height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

.footer-tagline {
  color: var(--pico-primary);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  opacity: 0.9;
}

.footer-desc {
  color: var(--pico-muted-color);
  font-size: 0.85rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.footer-icons {
  display: flex;
  gap: 0.9rem;
}
.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #9a9a9a;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-icons a:hover {
  border-color: var(--pico-primary);
  color: var(--pico-primary);
  background: rgba(184, 134, 71, 0.1);
}

/* 右侧列 */
.footer-cols {
  display: flex;
  gap: 4.5rem;
  flex-wrap: wrap;
}

footer.studio-footer h4 {
  color: #d5d5d5;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.6rem;
}
footer.studio-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--pico-primary);
  opacity: 0.7;
}

footer.studio-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.studio-footer .footer-col ul li {
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

/* “服务”列：全部 6 个服务排成两列网格（行距与普通列一致） */
footer.studio-footer .footer-svc-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 2.2rem;
  row-gap: 0;
  align-items: start;
}
footer.studio-footer .footer-svc-list li {
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

footer.studio-footer a {
  color: var(--pico-muted-color);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
  transition: color 0.2s;
}

footer.studio-footer a:hover {
  color: var(--pico-primary);
}

.footer-copy {
  text-align: center;
  color: var(--pico-muted-color);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* 备案号行 */
.footer-beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  margin-top: 0.4rem;
}
.footer-beian .beian-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pico-muted-color);
  font-size: 0.75rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-beian .beian-link:hover {
  color: var(--pico-primary);
}
.footer-beian .beian-link img {
  display: inline-block;
  height: 15px;
  width: auto;
  vertical-align: middle;
}

/* 窄屏：页脚堆叠为单列 */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-cols {
    gap: 2rem;
  }
}

/* 窄屏区块间距调整 */
@media (max-width: 768px) {
  .studio-nav .menu {
    gap: 1rem;
  }
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .section {
    padding: 2.5rem 0;
  }
}
