:root {
  --bg: #0a0a0f;
  --bg-elevated: #13131a;
  --bg-card: rgba(19, 19, 26, 0.7);
  --text: #f5f0e8;
  --text-muted: #a0a0b0;
  --gold: #c8a45c;
  --gold-bright: #d4af37;
  --gold-dim: #a0854a;
  --gold-glow: rgba(200, 164, 92, 0.12);
  --border: rgba(200, 164, 92, 0.1);
  --border-hover: rgba(200, 164, 92, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Ambient background light */
.ambient-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(200, 164, 92, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(200, 164, 92, 0.03) 0%, transparent 50%);
}

.page-shell {
  position: relative;
  z-index: 1;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 5%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 80px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  top: -15%;
  right: -10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 92, 0.06), transparent 70%);
  bottom: 10%;
  left: -15%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  flex: 1;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-copy h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(200, 164, 92, 0.25);
}

.button-primary:hover {
  box-shadow: 0 8px 32px rgba(200, 164, 92, 0.4);
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 164, 92, 0.05);
}

/* Hero visual */
.visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.visual-photo {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #141420 0%, #0c0c14 50%, #1a1525 100%);
  position: relative;
  overflow: hidden;
}

.visual-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visual-frame:hover .visual-photo img {
  opacity: 0.7;
  transform: scale(1.03);
}

.visual-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(200, 164, 92, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(200, 164, 92, 0.06) 0%, transparent 40%);
  z-index: 1;
}

.visual-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.6) 0%, transparent 40%);
  z-index: 1;
}

.visual-note {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(19, 19, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  z-index: 2;
}

.visual-note span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.visual-note strong {
  color: var(--gold);
  font-size: 0.9rem;
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* Hero strip */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--border);
}

.hero-strip article {
  text-align: center;
  position: relative;
}

.hero-strip article:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.hero-strip article span {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.hero-strip article p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section */
.section {
  padding: 7rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-tag {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.section-heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  letter-spacing: -0.3px;
}

/* Intro */
.intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}

.intro-card p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.intro-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  min-height: 280px;
}

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

.intro-image:hover img {
  transform: scale(1.04);
}

.intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.3), rgba(10, 10, 15, 0.1));
  pointer-events: none;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 0.6;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 164, 92, 0.1);
  border: 1px solid rgba(200, 164, 92, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.service-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin: 0.75rem 0 0.6rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.process-item {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.4s ease;
}

.process-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.process-item span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 500;
}

.process-item h3 {
  font-size: 1.15rem;
  margin: 0.8rem 0 0.6rem;
  font-weight: 600;
}

.process-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Projects */
.projects-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 0.5rem;
}

.projects-copy {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 480px;
}

.project-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.project-card:hover::after {
  opacity: 0.5;
}

.project-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-bg {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.3) 100%);
  z-index: 1;
}

.project-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}

.project-content span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 500;
}

.project-content h3 {
  font-size: 1.25rem;
  margin: 0.8rem 0 0.6rem;
  font-weight: 600;
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Appliances */
.appliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.appliance-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.appliance-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.appliance-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--gold);
}

.appliance-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(200, 164, 92, 0.06), rgba(200, 164, 92, 0.01));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-layout::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 92, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.contact-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.contact-panel a,
.contact-panel p {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
}

.contact-panel a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(4px);
}

.contact-panel svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  flex-shrink: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--gold);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .visual-photo {
    height: 300px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 260px;
  }

  .project-card.project-card-large {
    grid-column: auto;
    min-height: 320px;
  }

  .appliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-layout {
    grid-template-columns: 1fr;
  }

  .intro-image {
    min-height: 240px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-copy h1 {
    font-size: 2rem;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .appliance-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-strip article:not(:last-child)::after {
    display: none;
  }

  .hero-strip article span {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 4rem 4%;
  }

  .contact-layout {
    padding: 2.5rem;
  }

  .contact-copy h2 {
    font-size: 1.7rem;
  }
}
