/* 西安禄盛文化传媒 — 站点样式 */

:root {
  --bg-deep: #0a0e14;
  --bg-elevated: #121820;
  --bg-card: #161d27;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaed;
  --text-muted: #9aa3af;
  --accent: #d4a853;
  --accent-soft: rgba(212, 168, 83, 0.15);
  --accent-glow: rgba(212, 168, 83, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--accent), #8b6914);
  color: #1a1204;
  font-weight: 700;
  font-size: 0.9rem; /* 字号适中 */
  letter-spacing: 0.02em;
  text-align: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 220px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.site-nav a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: var(--accent) !important;
}

.nav-cta:hover {
  background: rgba(212, 168, 83, 0.22);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover {
    background: var(--bg-card);
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 4rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 60%, rgba(80, 120, 200, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0d121a 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-accent {
  background: linear-gradient(90deg, var(--accent), #f0d78c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-hint 1.8s var(--ease) infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 600px) {
  .hero-scroll {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.15s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent), #a67c1f);
  color: #1a1204;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: #1a1204;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(212, 168, 83, 0.45);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* Sections */

.section {
  padding-block: 5rem;
}

.section:nth-of-type(even) {
  background: var(--bg-elevated);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.section-lead.narrow {
  max-width: 36rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 880px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.stat-row {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat-row li {
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat-row strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.stat-row span {
  font-size: 0.98rem;
}

.about-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
}

.about-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-deep));
}

.about-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-card p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Services */

.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.service-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.service-card:hover {
  border-color: rgba(212, 168, 83, 0.35);
  transform: translateY(-3px);
}

.service-card-muted {
  background: linear-gradient(145deg, var(--bg-card), rgba(212, 168, 83, 0.06));
}

.service-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Credentials */

.credentials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .credentials-grid {
    grid-template-columns: 1fr 0.45fr;
    align-items: start;
  }
}

.credentials-list {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.credentials-list > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.credentials-list > div:last-child {
  border-bottom: none;
}

.credentials-list dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credentials-list dd {
  margin: 0;
  font-size: 1rem;
}

.credentials-list code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.credentials-note {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(212, 168, 83, 0.35);
  background: rgba(212, 168, 83, 0.06);
}

.credentials-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-address,
.contact-placeholder {
  margin: 1.5rem 0 0;
  font-style: normal;
  color: var(--text-muted);
}

.contact-address strong,
.contact-placeholder strong {
  color: var(--text);
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 168, 83, 0.55);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-icp {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
}

.footer-icp a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-icp a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-scroll span {
    animation: none;
  }

  .btn:hover,
  .service-card:hover {
    transform: none;
  }
}
