:root {
  --color-ink: #20201d;
  --color-muted: #6f6a60;
  --color-line: #ded6c9;
  --color-soft: #f7f4ee;
  --color-paper: #fffdf8;
  --color-brand: #1f765e;
  --color-brand-dark: #165644;
  --color-accent: #c6532f;
  --shadow-soft: 0 18px 45px rgba(42, 35, 24, 0.08);
  --container: 1200px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-soft);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(100% - 32px, 1280px);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand img {
  width: 118px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 6px;
  color: #3f3b34;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: var(--color-brand);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 0 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 900;
}

.language-switch a:hover,
.language-switch a.is-active {
  color: #fff;
  background: var(--color-accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(430px, 56vw, 690px);
  overflow: hidden;
  background: #111;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22) 46%, rgba(0, 0, 0, 0.08));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  min-height: clamp(430px, 56vw, 690px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
}

.hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions,
.section-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button:hover {
  background: var(--color-brand-dark);
}

.button--accent {
  background: var(--color-accent);
}

.button--accent:hover {
  background: #a84427;
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--color-ink);
}

.button--ghost {
  border-color: var(--color-line);
  background: #fff;
  color: var(--color-ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--color-brand);
}

.main {
  min-height: 60vh;
}

.section,
.page-hero {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section + .section {
  padding-top: 0;
}

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

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p,
.page-hero p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
}

.page-hero {
  padding: 68px 0 42px;
}

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

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

.category-tile {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.category-tile img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.category-tile span {
  padding: 18px 18px 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.category-tile small {
  padding: 0 18px 18px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  padding: 22px;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 56px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #e6f1eb;
  color: var(--color-brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.chip--soft {
  background: #f1ece4;
  color: var(--color-muted);
}

.product-card h3 {
  min-height: 74px;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.product-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.meta-label {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.meta-value {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.product-card .button {
  width: 100%;
  margin-top: auto;
}

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

.feature {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.collection-tools {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.collection-tools strong {
  display: block;
  font-size: 18px;
}

.collection-tools span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.filter-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.search-field {
  width: min(100%, 360px);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font-size: 15px;
}

.filter-field {
  width: min(100%, 190px);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font-size: 15px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: start;
}

.product-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 36px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-gallery img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.price-line {
  margin: 22px 0;
  font-size: 32px;
  font-weight: 900;
}

.price-note {
  margin: -10px 0 22px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.selling-points {
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.selling-points li {
  position: relative;
  padding-left: 24px;
  color: #3d3830;
  line-height: 1.65;
}

.selling-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-brand);
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.use-case-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

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

.spec-item {
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.inquiry-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
}

.inquiry-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.inquiry-panel p {
  margin: 0 0 18px;
  color: var(--color-muted);
  line-height: 1.65;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.inquiry-form h3 {
  margin: 0 0 2px;
  font-size: 20px;
}

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

.inquiry-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  font-weight: 600;
}

.inquiry-form textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

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

.inquiry-status {
  min-height: 22px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-status[data-state="success"] {
  color: var(--color-brand-dark);
}

.inquiry-status[data-state="warning"],
.inquiry-status[data-state="error"] {
  color: var(--color-accent);
}

.copy-block {
  max-width: 850px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

.copy-block h2 {
  color: var(--color-ink);
  font-size: 28px;
}

.faq-block {
  max-width: 860px;
}

.faq-block h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.faq-block details {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.faq-block details + details {
  margin-top: 12px;
}

.faq-block summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq-block p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.contact-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.site-footer {
  margin-top: 54px;
  border-top: 1px solid var(--color-line);
  background: #181713;
  color: #f4efe5;
}

.site-footer__inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.site-footer img {
  width: 148px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer p,
.site-footer a {
  color: rgba(244, 239, 229, 0.78);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  display: none;
  padding: 28px;
  border: 1px dashed var(--color-line);
  border-radius: 8px;
  background: var(--color-paper);
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 16px;
  }

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

  .site-nav a {
    justify-content: center;
  }

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

  .header-tools {
    justify-self: end;
  }

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

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

  .product-detail,
  .contact-grid,
  .collection-tools {
    grid-template-columns: 1fr;
  }

  .filter-row {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .search-field,
  .filter-field {
    width: 100%;
    flex: 1 1 210px;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .section,
  .page-hero,
  .site-footer__inner,
  .hero__content {
    width: min(100% - 28px, var(--container));
  }

  .header-contact {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: 520px;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2));
  }

  .section {
    padding: 46px 0;
  }

  .section-head {
    display: block;
  }

  .section-actions {
    margin-top: 18px;
  }

  .product-grid,
  .feature-band,
  .category-grid,
  .form-grid,
  .product-specs,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    min-height: auto;
  }

  .product-gallery {
    min-height: 320px;
    padding: 24px;
  }
}

.map-embed-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.map-embed { display: block; width: 100%; height: 400px; border: 0; }
