:root {
  --bg: #f3efe6;
  --surface: rgba(255, 250, 241, 0.86);
  --text: #132131;
  --muted: #5f6d7b;
  --line: rgba(19, 33, 49, 0.1);
  --line-strong: rgba(19, 33, 49, 0.18);
  --accent: #b88b3a;
  --accent-strong: #9b6d18;
  --accent-soft: rgba(184, 139, 58, 0.12);
  --shadow: 0 24px 60px rgba(14, 24, 35, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(184, 139, 58, 0.28), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(19, 33, 49, 0.08), transparent 24%),
    linear-gradient(180deg, #f6f1e7 0%, #efe7d8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
}

body::before {
  width: 240px;
  height: 240px;
  top: 120px;
  right: -60px;
  background: rgba(184, 139, 58, 0.12);
}

body::after {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: 160px;
  background: rgba(19, 33, 49, 0.08);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 21, 34, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 82px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: #f5efe5;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, 0.7);
}

.brand strong {
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex: 1;
}

.site-nav a,
.lang-link {
  position: relative;
  color: rgba(245, 239, 229, 0.84);
  font-size: 14px;
}

.site-nav a::after,
.lang-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.9));
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.lang-link:hover::after,
.lang-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(155, 109, 24, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(155, 109, 24, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.hero {
  padding: 56px 0 42px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero h1,
.section-title h2,
.about-copy h2,
.contact-panel h2,
.form-head h2 {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 0.98;
  max-width: 12ch;
}

.lead,
.section-note,
.about-copy p,
.contact-panel p,
.form-helper,
.news-footer p,
.product-card p,
.capability-copy p,
.news-card p {
  color: var(--muted);
}

.lead {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.72;
}

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

.hero .button-ghost {
  color: var(--text);
  background: rgba(19, 33, 49, 0.06);
  border-color: rgba(19, 33, 49, 0.12);
}

.hero .button-ghost:hover,
.hero .button-ghost:focus-visible {
  background: rgba(19, 33, 49, 0.11);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.stats-card,
.product-card,
.capability-card,
.news-card,
.contact-panel,
.inquiry-panel,
.about-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-points li {
  min-height: 158px;
  padding: 20px;
  border-radius: 22px;
}

.hero-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-points span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-card-side {
  min-height: 270px;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.hero-card-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 21, 34, 0), rgba(10, 21, 34, 0.86));
  color: #fff;
}

.hero-card-copy span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card-copy strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
}

.stats-card {
  padding: 24px;
  border-radius: var(--radius-xl);
}

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

.stats-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(19, 33, 49, 0.04);
}

.stats-item strong,
.about-stat strong {
  display: block;
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: clamp(28px, 5vw, 36px);
  color: var(--accent-strong);
}

.stats-item span,
.about-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2,
.about-copy h2,
.contact-panel h2,
.form-head h2 {
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.04;
}

.section-note {
  margin: 0;
  max-width: 560px;
  line-height: 1.72;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 139, 58, 0.32);
}

.product-image {
  aspect-ratio: 1.12;
  overflow: hidden;
}

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

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

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

.product-tag,
.news-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3,
.capability-copy h3,
.news-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.product-card p,
.capability-copy p,
.news-card p {
  margin: 0;
  line-height: 1.72;
}

.product-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.product-links a,
.footer-links a,
.news-link {
  color: var(--accent-strong);
  font-weight: 600;
}

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

.capability-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.capability-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.capability-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.capability-index {
  display: inline-block;
  color: rgba(19, 33, 49, 0.28);
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card-large {
  grid-column: span 6;
}

.gallery-card-wide {
  grid-column: span 6;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.news-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(184, 139, 58, 0.42);
}

.filter-chip.is-active {
  border-color: rgba(184, 139, 58, 0.56);
  background: rgba(184, 139, 58, 0.14);
  color: var(--accent-strong);
}

.news-grid {
  min-height: 160px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.news-original {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(19, 33, 49, 0.62);
}

.news-link {
  margin-top: auto;
}

.news-loading,
.news-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.news-footer p {
  margin: 0;
  max-width: 720px;
  line-height: 1.7;
}

.news-footer .button-ghost {
  color: var(--text);
  border-color: rgba(19, 33, 49, 0.14);
  background: rgba(19, 33, 49, 0.04);
}

.inquiry-panel .button-ghost {
  color: var(--text);
  border-color: rgba(19, 33, 49, 0.14);
  background: rgba(19, 33, 49, 0.04);
}

.about-layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

.about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: start;
}

.about-copy p {
  margin: 18px 0 0;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(19, 33, 49, 0.05);
  color: var(--text);
}

.about-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

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

.about-stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(19, 33, 49, 0.04);
}

.about-image {
  overflow: hidden;
  border-radius: 22px;
}

.about-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact-section {
  padding-top: 88px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
}

.contact-panel,
.inquiry-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(19, 33, 49, 0.04);
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  font-size: 19px;
  line-height: 1.45;
}

.form-head {
  margin-bottom: 22px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(19, 33, 49, 0.12);
  border-radius: 18px;
  background: #fffdf9;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(184, 139, 58, 0.62);
  box-shadow: 0 0 0 4px rgba(184, 139, 58, 0.12);
}

.field-full {
  margin-top: 14px;
}

.field textarea {
  min-height: 168px;
  resize: vertical;
}

.captcha-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.captcha-box {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 49, 0.12);
  background: #fffdf9;
}

.captcha-box img {
  width: 100%;
  height: 46px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.form-helper {
  margin: 14px 0 0;
  line-height: 1.7;
}

.site-footer {
  padding: 30px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid rgba(19, 33, 49, 0.1);
  padding-top: 20px;
}

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

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.06s;
}

.reveal-delay-2 {
  animation-delay: 0.12s;
}

.reveal-delay-3 {
  animation-delay: 0.18s;
}

.reveal-delay-4 {
  animation-delay: 0.24s;
}

.reveal-delay-5 {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .product-grid,
  .news-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card-main {
    min-height: 420px;
  }

  .section-head,
  .news-footer,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    min-height: 74px;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .hero {
    padding-top: 34px;
  }

  .hero-points,
  .hero-media,
  .product-grid,
  .news-grid,
  .capability-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-large,
  .gallery-card-wide {
    grid-column: span 12;
  }

  .hero-card-main,
  .hero-card-side {
    min-height: 300px;
  }

  .capability-card {
    grid-template-columns: 1fr;
  }

  .capability-card img {
    min-height: 220px;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .hero h1,
  .section-title h2,
  .about-copy h2,
  .contact-panel h2,
  .form-head h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .lead {
    font-size: 16px;
  }

  .contact-panel,
  .inquiry-panel,
  .about-panel {
    padding: 22px;
  }

  .product-body,
  .capability-copy,
  .news-card {
    padding: 20px;
  }
}
