/* ===== 黑金摄影 · 主题变量 ===== */
:root {
  --bg: #0a0a0b;
  --bg-soft: #111114;
  --bg-alt: #0e0e11;
  --panel: #15151a;
  --line: rgba(212, 175, 55, 0.18);
  --line-strong: rgba(212, 175, 55, 0.5);
  --gold: #d4af37;
  --gold-2: #f3e3a3;
  --gold-deep: #a9842a;
  --text: #f4f1ea;
  --muted: #9a958c;
  --radius: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand__mark {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-weight: 700;
}

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

.gold {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-2) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== 导航 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10,10,11,.85); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 6px; }
.brand__mark {
  font-size: 22px; color: var(--gold);
  letter-spacing: 1px;
}
.brand__sub { font-size: 15px; color: var(--muted); letter-spacing: 4px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav__links a { color: var(--muted); transition: color .25s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  border: 1px solid var(--line-strong);
  padding: 8px 18px; border-radius: 999px;
  color: var(--gold-2) !important;
}
.nav__cta:hover { background: var(--line); }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-2);
  padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.nav__phone:hover { background: var(--gold); color: #1a1407; box-shadow: 0 8px 26px rgba(212,175,55,.3); }
.nav__phone-ico { font-size: 15px; line-height: 1; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__phone { margin-left: auto; }
  .nav__phone-num { font-size: 14px; }
}
@media (max-width: 380px) {
  .nav__phone-num { display: none; }
  .nav__phone { padding: 8px 12px; }
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  letter-spacing: .5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn--gold {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold) 50%, var(--gold-2));
  color: #1a1407;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(212,175,55,.25);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212,175,55,.4); }
.btn--ghost { border-color: var(--line-strong); color: var(--gold-2); background: transparent; }
.btn--ghost:hover { background: var(--line); }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 20%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(50% 50% at 10% 80%, rgba(212,175,55,.08), transparent 60%),
    linear-gradient(180deg, #0a0a0b, #101015);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.hero__content { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__eyebrow {
  color: var(--gold); letter-spacing: 6px; font-size: 13px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.05; letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero__lead {
  max-width: 620px; color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
}
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; gap: 16px; margin: 34px 0 48px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; list-style: none; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 30px; color: var(--gold-2); font-family: "Noto Serif SC", serif; }
.hero__stats span { font-size: 13px; color: var(--muted); letter-spacing: 1px; }

/* ===== 通用区块 ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section--alt { background: var(--bg-alt); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow { color: var(--gold); letter-spacing: 5px; font-size: 12px; text-transform: uppercase; }
.section__title { font-size: clamp(30px, 4.5vw, 52px); margin: 10px 0 14px; letter-spacing: 1px; }
.section__desc { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ===== 作品 ===== */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform .35s var(--ease), border-color .35s;
}
.work:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.work__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #0e0e11;
}
.work__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work:hover .work__media img { transform: scale(1.06); }
.work__meta { padding: 18px 20px 22px; }
.work__meta h3 { font-size: 18px; margin-bottom: 4px; }
.work__meta p { color: var(--muted); font-size: 13px; }

/* ===== 服务 ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  background: var(--bg-soft);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.service:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--panel); }
.service__num {
  font-family: "Noto Serif SC", serif;
  font-size: 15px; color: var(--gold);
  border: 1px solid var(--line-strong);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%; margin-bottom: 18px;
}
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 14px; }
.service--clickable { cursor: pointer; }
.service--clickable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.service__view {
  display: inline-block; margin-top: 16px;
  color: var(--gold-2); font-size: 14px; font-weight: 600; letter-spacing: .5px;
  transition: transform .25s, color .25s;
}
.service--clickable:hover .service__view { transform: translateX(4px); color: var(--gold); }

/* ===== 城市选择 ===== */
.city__wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg-soft);
}
.city__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.city {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center;
}
.city:hover { border-color: var(--line-strong); color: var(--gold-2); }
.city.is-active {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold));
  color: #1a1407; font-weight: 700;
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212,175,55,.35);
}
.city__hint { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.city__hint b { color: var(--gold-2); }

/* ===== 预约表单 ===== */
.section--booking { padding-top: 40px; }
.booking__card {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(212,175,55,.10), transparent 60%),
    var(--panel);
  padding: 44px;
  max-width: 760px; margin: 0 auto;
}
.booking__head { text-align: center; margin-bottom: 30px; }
.booking__head h2 { font-size: clamp(28px, 4vw, 42px); }
.booking__head p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.field > span { color: var(--muted); }
.field > span i { color: var(--gold); font-style: normal; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.field input[readonly] { color: var(--gold-2); cursor: default; }
.field textarea { resize: vertical; }
.form__status { text-align: center; font-size: 14px; min-height: 20px; }
.form__status.ok { color: #8fd19e; }
.form__status.err { color: #f0a3a3; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 60px 24px 30px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer__brand .brand__mark { font-size: 20px; }
.footer__brand p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.footer__tel { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer__tel a { color: var(--gold-2); font-weight: 500; }
.footer__cols a[href^="tel:"] { color: var(--gold-2); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols h4 { font-size: 14px; color: var(--gold-2); margin-bottom: 12px; letter-spacing: 1px; }
.footer__cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; transition: color .25s; }
.footer__cols a:hover { color: var(--text); }
.footer__copy { text-align: center; color: #5f5b54; font-size: 12px; margin-top: 40px; }

/* ===== 滚动渐显 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links a:not(.nav__cta) { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 70px 18px; }
  .works__grid, .services__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .booking__card { padding: 28px 20px; }
  .hero__stats { gap: 28px; }
}

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  background: rgba(6,6,8,.92);
  backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  margin: 0; max-width: 92vw;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__stage img {
  max-width: 92vw; max-height: 64vh;
  border-radius: 8px; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border: 1px solid var(--line-strong);
}
.lightbox__cap {
  margin-top: 14px; color: var(--text); font-size: 14px; text-align: center;
}
.lightbox__count { color: var(--muted); margin-left: 10px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s;
}
.lightbox__close:hover { background: var(--gold); color: #1a1407; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 30px; cursor: pointer;
  transition: background .25s, color .25s;
}
.lightbox__nav:hover { background: var(--gold); color: #1a1407; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__thumbs {
  display: flex; gap: 10px; margin-top: 18px;
  max-width: 92vw; overflow-x: auto; padding: 4px 2px;
}
.lightbox__thumbs img {
  width: 64px; height: 44px; object-fit: cover; border-radius: 5px;
  border: 2px solid transparent; cursor: pointer; opacity: .6;
  transition: opacity .25s, border-color .25s;
}
.lightbox__thumbs img:hover { opacity: 1; }
.lightbox__thumbs img.is-active { opacity: 1; border-color: var(--gold); }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__thumbs img { width: 52px; height: 36px; }
}

/* ===== 城市分站入口 / 城市页互链 ===== */
.cities__more {
  margin-top: 28px; text-align: center;
  color: var(--muted); font-size: 14px; line-height: 2.2;
}
.cities__more a { color: var(--gold-2); margin: 0 7px; }
.cities__more a:hover { color: var(--gold); }
.citylinks { text-align: center; line-height: 2.4; }
.citylinks a { color: var(--gold-2); margin: 0 8px; font-size: 14px; }
.citylinks a:hover { color: var(--gold); }
.citylinks a.is-current { color: var(--text); border-bottom: 1px solid var(--gold); }
