/* ==========================================================
   LEO SHOT 雷欧影视 — 站点样式
   纯静态，无外部字体 / 无框架依赖
   ========================================================== */

:root {
  --bg: #0b0c0e;
  --bg-2: #101216;
  --surface: #16191e;
  --surface-2: #1d2128;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --text: #f3f0e9;
  --muted: #9da0a6;
  --muted-2: #6e727a;
  --gold: #d8a94b;
  --gold-soft: #e7c87e;
  --gold-dim: rgba(216, 169, 75, .12);
  --radius: 14px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

body[lang="en"] { font-family: var(--font-en); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #141414; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: 72px;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: auto; height: 42px; max-width: 56px;
  display: block; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; letter-spacing: .16em; font-family: var(--font-en); font-weight: 700; }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: .22em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 3px; font-size: 12px; font-family: var(--font-en);
  background: rgba(255, 255, 255, .04);
}
.lang-switch a { padding: 4px 12px; border-radius: 999px; color: #cfd2d7; transition: .2s; }
.lang-switch a.active { background: var(--text); color: #141414; font-weight: 600; }
.lang-switch a:not(.active):hover { color: var(--text); }

.btn-talk {
  padding: 9px 20px; border-radius: 999px;
  background: var(--gold); color: #141414;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: .25s;
}
.btn-talk:hover { background: var(--gold-soft); transform: translateY(-1px); }

.menu-toggle {
  display: none; width: 38px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: transparent; color: var(--text);
  place-items: center;
}
.menu-toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 72% 12%, rgba(216, 169, 75, .11), transparent 62%),
    radial-gradient(700px 500px at 8% 88%, rgba(88, 116, 168, .09), transparent 62%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.hero h1 {
  margin: 0; font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.12; font-weight: 700; letter-spacing: -.035em;
  max-width: 15em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
body[lang="en"] .hero h1 { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -.045em; }

.hero-sub {
  margin: 26px 0 0; max-width: 660px;
  font-size: clamp(15px, 1.5vw, 18px); color: var(--muted); line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: .25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #141414; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 72px; }
.hero-meta > div { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--line); }
.hero-meta > div:last-child { border-right: 0; margin-right: 0; }
.hero-meta strong { display: block; font-family: var(--font-en); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.hero-meta span { font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }

/* 胶片齿孔装饰带 */
.filmstrip {
  position: relative; height: 26px; margin-top: 70px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .11) 0 14px, transparent 14px 34px);
  background-size: 100% 5px;
  background-position: 0 4px, 0 17px;
  background-repeat: no-repeat;
  opacity: .8;
}
.filmstrip::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .11) 0 14px, transparent 14px 34px);
  background-size: 100% 5px;
  background-position: 0 17px;
  background-repeat: no-repeat;
}

/* ---------- Section base ---------- */
.section { padding: 108px 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 52px; max-width: 780px; }
.section-kicker {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 18px;
}
.section-head h2 {
  margin: 0; font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.25; font-weight: 700; letter-spacing: -.03em;
}
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  position: relative; padding: 30px 28px 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(216, 169, 75, .4); background: var(--surface-2); }
.service-card:hover::after { opacity: 1; }
.service-card .num {
  position: absolute; right: 24px; top: 24px;
  font-family: var(--font-en); font-size: 12px; color: var(--muted-2); letter-spacing: .12em;
}
.icon-box {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-dim); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 24px;
}
.icon-box svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.service-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.tag {
  display: inline-block; margin-top: 18px; padding: 3px 10px;
  font-size: 11px; letter-spacing: .1em; color: var(--gold);
  border: 1px solid rgba(216, 169, 75, .3); border-radius: 999px;
}
.note-bar {
  margin-top: 28px; padding: 18px 22px;
  border: 1px dashed rgba(216, 169, 75, .35); border-radius: 12px;
  background: rgba(216, 169, 75, .045);
  font-size: 14px; color: var(--muted);
}
.note-bar strong { color: var(--gold-soft); font-weight: 600; }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.work-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #1b1f26 0%, #262c35 52%, #191c22 100%);
  display: grid; place-items: center;
  transition: border-color .3s, transform .3s;
}
.work-card:hover .work-thumb { border-color: rgba(216, 169, 75, .5); transform: translateY(-4px); }
.work-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(220px 140px at 50% 45%, rgba(216, 169, 75, .13), transparent 70%);
}
.play-circle {
  position: relative; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34); background: rgba(0, 0, 0, .3);
  display: grid; place-items: center; color: var(--text);
  transition: .3s;
}
.play-circle svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.work-card:hover .play-circle { background: var(--gold); color: #141414; border-color: var(--gold); }
.work-thumb.is-ready .play-circle { background: var(--gold); color: #141414; border-color: var(--gold); }
.pending-label {
  position: absolute; z-index: 2; left: 14px; bottom: 12px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.work-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 16px; }
.work-info h3 { margin: 0; font-size: 16px; font-weight: 600; }
.work-info small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 12px; }
.work-cat { flex-shrink: 0; font-size: 11px; color: var(--gold); letter-spacing: .06em; padding-top: 3px; }

/* ---------- Pricing ---------- */
.price-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(120deg, rgba(216, 169, 75, .09), transparent 58%), var(--surface);
}
.price-figure {
  font-family: var(--font-en); font-size: clamp(56px, 8vw, 96px);
  font-weight: 700; line-height: 1; color: var(--gold); letter-spacing: -.05em;
}
.price-figure small { font-size: .28em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 10px; }
.price-caption { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--gold); }
.price-list strong { color: var(--text); font-weight: 600; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.why-item .why-num { font-family: var(--font-en); font-size: 13px; color: var(--gold); letter-spacing: .16em; }
.why-item h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 650; }
.why-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person-card, .office-card {
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.person-card .role { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-family: var(--font-en); }
.person-card h3 { margin: 14px 0 4px; font-size: 22px; font-weight: 650; }
.person-card .phone {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-en); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600;
  letter-spacing: .01em; color: var(--text); transition: color .2s;
}
.person-card .phone:hover { color: var(--gold); }
.wechat-line { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.copy-btn {
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  border-radius: 6px; padding: 3px 10px; font-size: 11px; transition: .2s;
}
.copy-btn:hover { color: var(--gold); border-color: var(--gold); }
.office-card h3 { margin: 0 0 22px; font-size: 18px; font-weight: 650; }
.office-row { padding: 16px 0; border-top: 1px solid var(--line); }
.office-row:first-of-type { border-top: 0; padding-top: 0; }
.office-row strong { display: block; font-size: 13px; color: var(--gold); margin-bottom: 6px; letter-spacing: .04em; }
.office-row p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.office-row .tba { color: var(--muted-2); font-style: italic; }
.contact-foot {
  margin-top: 26px; padding: 24px 28px;
  border: 1px dashed rgba(216, 169, 75, .3); border-radius: 12px;
  background: rgba(216, 169, 75, .04);
  color: var(--muted); font-size: 14px;
}
.contact-foot strong { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: auto; height: 76px; display: block; flex-shrink: 0; }
.footer-inner p { margin: 0; color: var(--muted-2); font-size: 13px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--gold); }

/* ---------- Modal & toast ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; place-items: center; padding: 24px;
}
.modal.open { display: grid; }
.modal-inner { width: min(100%, 960px); position: relative; }
.modal-frame {
  width: 100%; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
}
.modal-frame video, .modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-title { margin-top: 14px; font-size: 15px; color: var(--muted); }
.modal-close {
  position: absolute; top: -46px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05);
  color: var(--text); font-size: 20px; line-height: 1;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--gold); color: #141414; border-color: var(--gold); }
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 120;
  transform: translate(-50%, 18px); opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 999px;
  background: var(--text); color: #141414; font-size: 14px; font-weight: 600;
  transition: opacity .25s, transform .25s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ----------
   只在 JS 可用时隐藏，且 main.js 设有兜底定时器强制显示，
   避免爬虫 / 快速锚点跳转 / JS 异常时内容永久不可见 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(16, 18, 22, .98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .btn-talk { display: none; }
  .hero-meta > div { padding-right: 22px; margin-right: 22px; }
  .price-panel { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 36px, var(--maxw)); }
  .section { padding: 76px 0; }
  .hero { padding: 120px 0 44px; min-height: auto; }
  .hero-meta { margin-top: 48px; gap: 20px 0; }
  .hero-meta > div { padding-right: 18px; margin-right: 18px; }
  .hero-meta strong { font-size: 21px; }
  .services-grid, .works-grid, .why-grid, .person-grid { grid-template-columns: 1fr; }
  .filmstrip { margin-top: 48px; }
  .footer-brand img { height: 60px; }
  .brand-mark { height: 36px; }
  .modal-close { top: -42px; }
  .toast { white-space: normal; text-align: center; width: min(90%, 340px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
