:root {
  --bg: #fafafa;
  --paper: #ffffff;
  --text: #252525;
  --muted: #747474;
  --line: #eeeeee;
  --dark: #171717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); line-height: 1.8; }

.home-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.logo {
  display: grid;
  gap: 3px;
  color: #111;
}

.logo span {
  color: #999;
  font-size: 11px;
  letter-spacing: .18em;
}

.logo strong {
  font-size: 19px;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: #666;
  font-size: 14px;
}

nav a:hover { color: #111; }

.banner {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, .46)),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=82") center / cover no-repeat;
}

.banner-content {
  width: min(760px, 100%);
}

.sub-title,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.banner h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: 2px;
}

.banner p {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
}

.intro-section,
.gallery-section,
.contact-section {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  padding: 68px 0 58px;
  text-align: center;
}

.section-label {
  color: #999;
}

.intro-section h2,
.gallery-title h2,
.contact-section h2 {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  color: #222;
  font-size: 26px;
  letter-spacing: 1px;
}

.intro-section h2::after,
.gallery-title h2::after,
.contact-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 2px;
  background: #333;
  transform: translateX(-50%);
}

.intro-section p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
}

.gallery-section {
  padding-bottom: 74px;
}

.gallery-title {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.gallery-title p {
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .035);
  transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #eee;
}

.gallery-item .info {
  padding: 18px;
}

.gallery-item h3 {
  margin-bottom: 7px;
  color: #222;
  font-size: 17px;
}

.gallery-item p {
  color: #999;
  font-size: 13px;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 80px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.contact-section h2::after {
  left: 0;
  transform: none;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: #999;
}

.contact-list strong {
  color: #333;
  font-weight: 600;
  text-align: right;
}

footer {
  padding: 40px 20px;
  border-top: 1px solid #222;
  background: #1a1a1a;
  color: #888;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

footer a {
  color: #888;
}

footer a:hover {
  color: #fff;
}

.compliances {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 820px) {
  .home-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .banner {
    min-height: 420px;
  }

  .gallery-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    gap: 24px;
    padding: 26px 22px;
  }

  .contact-list p {
    flex-direction: column;
    gap: 4px;
  }

  .contact-list strong {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 30px;
  }

  .banner p {
    font-size: 15px;
  }

  .intro-section {
    padding-top: 52px;
  }
}
