/* Base */
:root {
  --container: 1200px;
  --brand-red: #a5483e;
  --brand-red-2: #b85a4c;
  --text: #1a1a1a;
  --muted: rgba(255, 255, 255, 0.85);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

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

/* Layout helpers */
.container {
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  opacity: 0.9;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.is-active {
  color: var(--brand-red-2);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.jpg"); /* ✅换成你的背景图 */
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

/* Card like screenshot */
.hero-card {
  width: min(760px, 92vw);
  background: rgba(165, 72, 62, 0.62);
  border-radius: 10px;
  padding: 34px 34px 30px;
  text-align: center;
  backdrop-filter: blur(2px);
}

.hero-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 4px;

  background: #fff;
  color: var(--brand-red-2);
  font-weight: 700;
  font-size: 14px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.hero-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav {
    gap: 16px;
  }

  .hero-card {
    padding: 26px 18px 22px;
  }
}
