:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-tint: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --line-strong: rgba(29, 29, 31, 0.18);
  --brand: #1677aa;
  --brand-deep: #10597f;
  --dark: #15171a;
  --dark-soft: #1d2126;
  --white-soft: rgba(255, 255, 255, 0.74);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shell: minmax(0, 1360px);
  --content: minmax(0, 1180px);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell,
.narrow {
  width: min(calc(100% - 96px), 1360px);
  margin: 0 auto;
}

.narrow {
  max-width: 920px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.kicker-light {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 4.8vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

p {
  max-width: 750px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header.is-scrolled {
  border-color: rgba(29, 29, 31, 0.08);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.header-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  padding: 6px 0;
  color: rgba(29, 29, 31, 0.72);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link-button {
  padding: 11px 16px;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 10px;
}

.nav-link-button::after {
  display: none;
}

.nav-link-button:hover,
.nav-link-button:focus-visible {
  border-color: rgba(29, 29, 31, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.menu-toggle span + span {
  margin-top: 8px;
}

.hero-section {
  padding: 38px 0 54px;
}

.hero-shell {
  width: min(calc(100% - 96px), 1380px);
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  padding: 44px 0;
}

.hero-summary {
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 20px;
}

.hero-note {
  font-size: 0.95rem;
}

.hero-media {
  align-self: center;
}

.hero-image,
.split-media img,
.feature-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.scroll-cue span {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(29, 29, 31, 0.12), rgba(29, 29, 31, 0.42), rgba(29, 29, 31, 0));
}

.statement-section,
.products-section,
.scenes-section {
  background: var(--bg);
}

.statement-section {
  padding: 120px 0 110px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(245, 245, 247, 0), rgba(245, 245, 247, 0.72)),
    var(--bg);
}

.statement-section h2,
.statement-section .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.section-intro,
.section-side-note {
  font-size: 1rem;
}

.about-section {
  padding: 116px 0;
  background: var(--bg-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.96fr);
  gap: 72px;
  align-items: start;
}

.split-copy p {
  margin-bottom: 18px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.fact-item {
  padding-top: 4px;
}

.fact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-item strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.products-section,
.advantages-section,
.scenes-section,
.contact-section {
  padding: 118px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

.section-side-note {
  justify-self: end;
  margin-bottom: 8px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(29, 29, 31, 0.22);
  color: var(--text);
}

.filter-button.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
}

.product-card.is-hidden {
  display: none;
}

.product-image-wrap {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7f9fb);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.product-category,
.modal-category {
  margin-bottom: 10px;
  color: #0f766e;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-body p:not(.product-category) {
  flex: 1;
}

.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  text-align: left;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-deep);
}

.showcase-section {
  padding: 48px 0 116px;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 74px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 88px;
}

.feature-row-reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.08fr);
}

.feature-row-reverse .feature-copy {
  order: 1;
}

.feature-row-reverse .feature-media {
  order: 2;
}

.feature-copy p:last-of-type {
  margin-bottom: 28px;
}

.advantages-section {
  background: var(--bg-soft);
}

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

.advantage-item {
  position: relative;
  padding: 34px 30px 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.advantage-index {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(29, 29, 31, 0.08);
  font-weight: 700;
}

.advantage-item h3,
.scene-item h3 {
  position: relative;
  z-index: 1;
}

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

.scene-item {
  padding: 26px 24px 24px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.scene-item:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 29, 31, 0.08);
  background: #fbfbfb;
}

.scene-item p {
  margin-bottom: 0;
}

.contact-section {
  background: linear-gradient(180deg, #171b20 0%, #111317 100%);
  color: #ffffff;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.88fr);
  gap: 56px;
  align-items: start;
}

.contact-section h2,
.contact-copy p,
.footer-title {
  color: #ffffff;
}

.contact-panel {
  padding-top: 12px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel strong {
  color: #ffffff;
}

.contact-form {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.button:focus-visible,
.filter-button:focus-visible,
.modal-close:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid rgba(22, 119, 170, 0.62);
  outline-offset: 2px;
}

.site-footer {
  padding: 34px 0 44px;
  background: #111317;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-brand p,
.footer-nav a,
.footer-meta p,
.footer-meta a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #ffffff;
}

.footer-meta {
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2a2a2d;
}

.button-secondary {
  border-color: rgba(29, 29, 31, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(29, 29, 31, 0.26);
  background: rgba(255, 255, 255, 0.9);
}

.button-contrast {
  background: #ffffff;
  color: var(--dark);
}

.button-contrast:hover,
.button-contrast:focus-visible {
  background: rgba(255, 255, 255, 0.88);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.form-status.is-error {
  color: #ffb4a9;
}

.form-status.is-success {
  color: #b4f0d0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(100%, 560px);
  padding: 34px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 36px 76px rgba(15, 23, 42, 0.18);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
}

.modal-features {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.72s ease-out, transform 0.72s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 34px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .split-layout,
  .feature-row,
  .feature-row-reverse,
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-media {
    order: initial;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-side-note {
    justify-self: start;
    margin-bottom: 0;
  }
}

@media (max-width: 980px) {
  .shell,
  .narrow,
  .hero-shell {
    width: min(calc(100% - 48px), 1360px);
  }

  .product-grid,
  .scene-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .brand-text {
    font-size: 0.88rem;
  }

  .hero-section,
  .statement-section,
  .about-section,
  .products-section,
  .showcase-section,
  .advantages-section,
  .scenes-section,
  .contact-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .product-grid,
  .scene-grid,
  .advantage-grid,
  .about-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell,
  .narrow,
  .hero-shell {
    width: min(calc(100% - 28px), 1360px);
  }

  .header-shell {
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-text {
    white-space: normal;
    line-height: 1.3;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-actions,
  .filter-bar {
    flex-direction: column;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .contact-form {
    padding: 22px;
  }

  .modal-panel {
    padding: 28px 22px 22px;
  }
}
