:root {
  --bg: #f3efe7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(18, 18, 18, 0.92);
  --text: #121212;
  --muted: #626262;
  --line: rgba(18, 18, 18, 0.14);
  --accent: #9f7b4b;
  --shadow: 0 20px 60px rgba(18, 18, 18, 0.12);
  --radius: 28px;
  --max: 1180px;
  --font-sans: "Helvetica Neue", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: "Helvetica Neue", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(159, 123, 75, 0.22), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(18, 18, 18, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f3ec 0%, #f0ebe1 50%, #ece6dc 100%);
  font-family: var(--font-sans);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(18, 18, 18, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 18, 18, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 55%, transparent 95%);
}

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

.site-header,
.page-main,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(248, 243, 236, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.site-header.compact {
  position: relative;
  top: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-wordmark strong {
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.brand-wordmark small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.button-light {
  background: transparent;
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
}

.button-full {
  width: 100%;
}

.hero,
.page-hero {
  display: grid;
  align-items: center;
  gap: 36px;
  padding: 72px 0 40px;
}

.hero {
  grid-template-columns: 1.2fr 0.8fr;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 520;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  max-width: 9ch;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.3rem;
}

p {
  line-height: 1.7;
}

.hero-text,
.page-hero p:last-child,
.section-heading p:last-child {
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions,
.contact-quick {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  max-width: 760px;
}

.entry-card {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.entry-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(159, 123, 75, 0.34);
}

.entry-card strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.entry-card p {
  margin: 0;
  color: var(--muted);
}

.entry-index {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.price-preview-card h3,
.price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.price-money {
  font-family: var(--font-sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.plan-note {
  margin: 10px 0 0;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.editorial-card,
.gallery-card div,
.map-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 15, 15, 0.96), rgba(39, 39, 39, 0.84)),
    linear-gradient(180deg, rgba(159, 123, 75, 0.4), transparent);
  color: #f7f2eb;
}

.editorial-card {
  width: min(100%, 430px);
  min-height: 560px;
  padding: 32px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  box-shadow: var(--shadow);
}

.editorial-card::before,
.gallery-card div::before,
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 54%);
}

.editorial-card span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.hero-stack {
  position: relative;
  width: min(100%, 480px);
  min-height: 560px;
}

.hero-minimal {
  padding-bottom: 80px;
}

.hero-minimal h1 {
  max-width: none;
  white-space: nowrap;
}

.hero-stack-clean {
  min-height: 600px;
}

.hero-shot {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-shot-main {
  min-height: 560px;
}

/* Home hero no longer uses a side stacked photo. */

.hero-shot img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
}

.hero-shot-main img {
  object-position: 50% 70%;
}

.section {
  padding: 36px 0 24px;
}

.section-tight {
  padding-top: 18px;
}

.soft-panel {
  margin-top: 20px;
  padding: 34px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 28px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-preview-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.price-preview-card.featured {
  background: linear-gradient(180deg, rgba(159, 123, 75, 0.08), rgba(255, 255, 255, 0.92));
}

.price-preview-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
}

.card,
.pricing-card,
.gallery-card,
.lead-form,
.contact-info .card {
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.pricing-card,
.gallery-card,
.lead-form {
  padding: 24px;
}

.feature-card,
.product-card {
  min-height: 190px;
}

.product-card {
  display: block;
}

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

.case-tile {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
}

.case-image,
.gallery-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.case-tile.tall .case-image,
.gallery-card.tall img {
  aspect-ratio: 3 / 4.3;
}

.case-caption {
  padding: 18px 18px 20px;
}

.case-caption span {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.case-caption p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline-step {
  padding: 22px;
  border-top: 2px solid rgba(159, 123, 75, 0.5);
  background: rgba(255, 255, 255, 0.48);
  border-radius: 24px;
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.conversion-panel,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
}

.lead-form,
.light-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

.lead-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.form-note,
.form-feedback,
li,
.chip,
.filter-row,
.site-footer,
.contact-info p {
  color: var(--muted);
}

.form-feedback {
  min-height: 1.4em;
}

.page-main {
  padding-bottom: 40px;
}

.site-footer {
  padding: 18px 0 46px;
  font-size: 0.92rem;
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
}

.footer-brand {
  margin: 0;
  color: var(--muted);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-label {
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.chip.active {
  background: #111;
  color: #f7f2eb;
}

.gallery-card {
  cursor: pointer;
}

.case-tag {
  margin-bottom: 12px;
}

body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 1000;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
}

.lightbox-panel {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 24, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  padding: 18px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-main {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.lightbox-thumb {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.lightbox-thumb.active {
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-card h3 {
  margin-top: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(159, 123, 75, 0.18), rgba(255, 255, 255, 0.78));
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
  font-size: 0.82rem;
}

ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.detail-layout .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.qr-placeholder,
.map-placeholder {
  min-height: 200px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  letter-spacing: 0.16em;
}

.store-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
  background: #fff;
}

.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.qr-image {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-inline {
  max-width: 200px;
  margin: 4px auto 0;
}

.site-footer {
  padding: 12px 0 40px;
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .conversion-panel,
  .contact-layout,
  .pricing-preview,
  .pricing-grid,
  .grid-3,
  .timeline,
  .masonry,
  .gallery-grid,
  .detail-layout .detail-grid,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stack {
    width: 100%;
    min-height: auto;
  }

  .hero-shot-main {
    min-height: 520px;
  }

  .hero-entry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 28px;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .desktop-nav {
    display: flex;
    width: auto;
    padding-top: 0;
    flex-direction: row;
  }

  .hero,
  .conversion-panel,
  .contact-layout,
  .pricing-preview,
  .pricing-grid,
  .grid-3,
  .timeline,
  .masonry,
  .gallery-grid,
  .detail-layout .detail-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-entry-grid {
    grid-template-columns: 1fr;
  }

  .soft-panel {
    padding: 26px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-minimal h1 {
    white-space: normal;
  }

  .hero-shot-side {
    display: none;
  }

}
