/* ==========================================================================
   HEMAOXIN TRADE  —  Design System
   Rebuilt from the original site stylesheet
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

ol,
ul,
menu {
  list-style: none;
}

img,
svg,
video,
canvas {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
optgroup,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: transparent;
  border-radius: 0;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --ink: #173f35;
  --ink2: #0f2f28;
  --cream: #f3f0e7;
  --paper: #fbfaf6;
  --warm: #ff7a50;
  --muted: #6e7a74;
  --line: #dfe4df;
  --font: 'Manrope', 'Noto Sans SC', -apple-system, BlinkMacSystemFont,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

body {
  background: var(--paper);
  color: #1c332c;
  font-family: var(--font);
  margin: 0;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: min(1180px, 100% - 40px);
  margin: auto;
}

.section {
  padding: 100px 0;
}

.content-section {
  padding: 75px 0;
}

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

.section-head h2,
.page-hero h1 {
  letter-spacing: -0.045em;
  margin: 14px 0;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.08;
}

.section-head p {
  color: #6a7772;
  max-width: 620px;
  margin: 0;
  line-height: 1.7;
}

.kicker,
.eyebrow,
.crumb {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  font-size: 10px;
  font-weight: 800;
}

.text-link {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- 4. Topline + header ---------- */
.topline {
  background: var(--ink2);
  color: #c8d7d1;
  letter-spacing: 0.14em;
  font-size: 10px;
}

.topline .container {
  justify-content: space-between;
  align-items: center;
  height: 29px;
  display: flex;
}

.site-header {
  z-index: 50;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #fbfaf6eb;
  border-bottom: 1px solid #173f351a;
  position: sticky;
  top: 0;
}

.header-inner {
  align-items: center;
  gap: 28px;
  height: 76px;
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  min-width: 192px;
  display: flex;
}

.brand-mark {
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  width: 39px;
  height: 39px;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  flex: none;
}

.brand strong {
  letter-spacing: 0.14em;
  font-size: 15px;
  line-height: 1.1;
  display: block;
}

.brand small {
  color: #7d8883;
  letter-spacing: 0.2em;
  margin-top: 5px;
  font-size: 8px;
  display: block;
}

.main-nav {
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 23px;
  display: flex;
}

.main-nav a {
  color: #53645e;
  white-space: nowrap;
  padding: 29px 0 27px;
  font-size: 11px;
  font-weight: 700;
  position: relative;
}

.main-nav a::after {
  content: '';
  background: var(--warm);
  height: 2px;
  transition: all 0.2s;
  position: absolute;
  bottom: 18px;
  left: 50%;
  right: 50%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a.active::after {
  left: 0;
  right: 0;
}

.language {
  border: 1px solid #d4dcd8;
  border-radius: 999px;
  gap: 1px;
  padding: 3px;
  display: flex;
}

.language button,
.language a {
  color: #73817b;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 999px;
  padding: 7px 8px;
  font-size: 9px;
  font-weight: 800;
  display: inline-block;
  line-height: 1;
  transition: color 0.2s;
}

.language button:hover,
.language a:hover {
  color: var(--ink);
}

.language button.active,
.language a.active {
  background: var(--ink);
  color: #fff;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  border: 1px solid #d4dcd8;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ---------- 5. Buttons ---------- */
.btn {
  letter-spacing: 0.05em;
  border: 1px solid #0000;
  border-radius: 3px;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-width: 180px;
  padding: 15px 18px;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.2s;
  display: inline-flex;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.warm {
  background: var(--warm);
  color: #fff;
}

.btn.ghost {
  color: var(--ink);
  background: #fff3;
  border-color: #b8c2bd;
}

.btn.ink {
  background: var(--ink2);
  color: #fff;
}

.btn.plain {
  background: #fff;
  color: var(--ink);
  border-color: #b8c2bd;
}

/* ---------- 6. Home hero ---------- */
.hero {
  background: var(--cream);
  border-bottom: 1px solid #d7ddd8;
  min-height: 675px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
  min-height: 675px;
  display: grid;
}

.hero-copy {
  z-index: 2;
  padding: 70px 0;
  position: relative;
}

.eyebrow {
  align-items: center;
  gap: 9px;
  display: flex;
}

.eyebrow span {
  background: var(--warm);
  width: 22px;
  height: 2px;
}

.hero h1 {
  letter-spacing: -0.055em;
  max-width: 720px;
  margin: 25px 0;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 730;
  line-height: 1.03;
}

.hero-copy > p {
  color: #5f6e68;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.8;
}

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

.hero-stats {
  border-top: 1px solid #cfd6d1;
  gap: 44px;
  max-width: 560px;
  margin-top: 54px;
  padding-top: 24px;
  display: flex;
}

.hero-stats div {
  flex-direction: column;
  display: flex;
}

.hero-stats strong {
  letter-spacing: -0.04em;
  font-size: 28px;
}

.hero-stats span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a857f;
  margin-top: 4px;
  font-size: 9px;
}

.hero-visual {
  z-index: 2;
  background: var(--ink);
  border-radius: 50% 50% 8px 8px / 35% 35% 8px 8px;
  height: 510px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 55px #0f2f282e;
}

.route-line {
  color: #a7b9b3;
  letter-spacing: 0.14em;
  align-items: center;
  gap: 8px;
  padding: 38px;
  font-size: 8px;
  display: flex;
}

.route-line i {
  background: #698079;
  flex: 1;
  height: 1px;
}

.product-stage {
  position: absolute;
  inset: 90px 28px 55px;
}

.stage-card {
  color: var(--ink);
  background: #f4eee2;
  position: absolute;
  box-shadow: 0 24px 50px #0003;
}

.stage-main {
  text-align: center;
  border-radius: 110px 110px 20px 20px;
  width: 240px;
  height: 285px;
  padding: 82px 30px 30px;
  bottom: 15px;
  left: 25px;
}

.stage-main::before {
  content: '';
  background: #b7aaa0;
  border-radius: 50% 50% 8px 8px;
  width: 96px;
  height: 52px;
  position: absolute;
  top: 24px;
  left: 72px;
}

.stage-main .tiny {
  letter-spacing: 0.2em;
  font-size: 8px;
}

.stage-main b {
  letter-spacing: -0.06em;
  margin-top: 15px;
  font-size: 52px;
  display: block;
}

.stage-main small {
  color: #73817b;
}

.stage-side {
  text-align: center;
  background: #8fb7b0;
  border-radius: 65px 65px 22px 22px;
  width: 150px;
  height: 225px;
  padding-top: 88px;
  font-size: 36px;
  line-height: 0.9;
  bottom: 42px;
  right: 32px;
}

.stage-side b {
  font-size: 18px;
}

.stage-badge {
  background: var(--warm);
  color: #fff;
  text-align: center;
  border-radius: 50%;
  place-items: center;
  width: 92px;
  height: 92px;
  font-size: 9px;
  line-height: 1;
  display: grid;
  position: absolute;
  top: 8px;
  right: 7px;
}

.stage-badge b {
  font-size: 28px;
}

.visual-note {
  letter-spacing: 0.1em;
  color: #b7c8c2;
  justify-content: center;
  gap: 12px;
  font-size: 9px;
  display: flex;
  position: absolute;
  bottom: 23px;
  left: 38px;
  right: 38px;
}

.visual-note span {
  color: var(--warm);
}

.hero-orbit {
  border: 1px solid #173f351f;
  border-radius: 50%;
  position: absolute;
}

.orbit-one {
  width: 540px;
  height: 540px;
  top: -240px;
  right: -180px;
}

.orbit-two {
  width: 240px;
  height: 240px;
  bottom: -90px;
  left: -110px;
}

/* ---------- 7. Category grid ---------- */
.category-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.category-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 28px;
  transition: all 0.25s;
  display: flex;
  position: relative;
}

.category-card:hover {
  background: var(--ink);
  color: #fff;
}

.category-glyph {
  color: #8fa9a0;
  font-size: 48px;
}

.category-card small {
  color: var(--warm);
  letter-spacing: 0.14em;
  font-size: 8px;
}

.category-card h3 {
  margin: 10px 0 9px;
  font-size: 21px;
}

.category-card p {
  color: #718079;
  max-width: 240px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.category-card:hover p {
  color: #bcd0c9;
}

.round-arrow {
  border: 1px solid #cbd5d0;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ---------- 8. Dark process band ---------- */
.dark-section {
  background: var(--ink);
  color: #fff;
}

.section-head.inverse p {
  color: #afc1bb;
}

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

.process {
  padding: 12px 28px 20px 0;
  position: relative;
}

.process > span {
  color: #8ba29a;
  font-size: 9px;
}

.process-icon {
  color: var(--warm);
  margin: 38px 0 30px;
  font-size: 55px;
}

.process h3 {
  font-size: 18px;
}

.process p {
  color: #9db3ac;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.7;
}

.process i {
  background: #577069;
  width: calc(100% - 75px);
  height: 1px;
  position: absolute;
  top: 105px;
  right: 22px;
}

/* ---------- 9. Product grid ---------- */
.product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  display: grid;
}

.product-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.25s;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px #0f2f2814;
}

.product-art {
  place-items: center;
  height: 240px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.product-art::before,
.product-art::after {
  content: '';
  border: 1px solid #ffffff73;
  border-radius: 50%;
  position: absolute;
}

.product-art::before {
  width: 190px;
  height: 190px;
}

.product-art::after {
  width: 125px;
  height: 125px;
}

.product-art > span {
  color: #173f35bf;
  z-index: 1;
  font-size: 88px;
}

.product-art small {
  letter-spacing: 0.1em;
  font-size: 8px;
  position: absolute;
  bottom: 12px;
  left: 14px;
}

.coral { background: #efaa8e; }
.amber { background: #e3ba76; }
.gold { background: #d7c06f; }
.blue { background: #94b9c4; }
.mint { background: #9fcbbb; }
.sand { background: #d9c8aa; }
.sage { background: #a4b399; }
.olive { background: #aebb83; }
.clay { background: #c5a38c; }
.aqua { background: #7fc6c9; }
.orange { background: #e19d70; }
.plum { background: #c6a4ba; }

.product-copy {
  padding: 20px;
}

.product-copy > span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  font-size: 8px;
}

.product-copy h3 {
  min-height: 44px;
  margin: 8px 0 10px;
  font-size: 16px;
  line-height: 1.35;
}

.product-copy p {
  color: #74817b;
  font-size: 11px;
  min-height: 32px;
}

.product-copy b {
  font-size: 10px;
}

.product-photo-frame {
  border-bottom: 1px solid var(--line);
  background: #f0f2ef;
  place-items: center;
  height: 240px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.product-photo-frame img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
  display: block;
}

.product-card:hover .product-photo-frame img {
  transform: scale(1.025);
}

.product-photo-frame small {
  color: #fff;
  letter-spacing: 0.1em;
  background: #0f2f28e0;
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 8px;
  position: absolute;
  bottom: 10px;
  left: 12px;
}

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

.products-wide .product-art {
  height: 290px;
}

.products-wide .product-photo-frame {
  height: 360px;
}

/* ---------- 10. Quote band ---------- */
.quote-band {
  background: var(--warm);
  padding: 65px 0;
}

.quote-band .container {
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  display: flex;
}

.quote-band .kicker {
  color: #6b3323;
}

.quote-band h2 {
  color: #183c33;
  max-width: 780px;
  margin: 10px 0 0;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

/* ---------- 11. Footer ---------- */
footer {
  background: var(--ink2);
  color: #dbe6e2;
  padding: 72px 0 20px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: start;
  gap: 45px;
  display: grid;
}

.brand.light .brand-mark {
  background: var(--warm);
}

.brand.light small {
  color: #8fa79f;
}

.footer-grid p {
  color: #91aaa2;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.8;
}

.footer-grid strong {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
}

.footer-grid .btn {
  min-width: 180px;
}

.footer-legal {
  border-top: 1px solid #36524a;
  margin-top: 55px;
  padding-top: 30px;
}

.footer-legal .legal-label {
  color: #718b82;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 800;
  display: block;
}

.footer-legal .legal-name {
  color: #f3f0e7;
  letter-spacing: 0.02em;
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-legal .legal-name:after {
  content: "";
  background: var(--warm);
  width: 34px;
  height: 2px;
  margin-top: 15px;
  display: block;
}

.footer-legal .legal-alt {
  color: #91aaa2;
  letter-spacing: 0.08em;
  margin-top: 12px;
  font-size: 10px;
  display: block;
}

.footer-bottom {
  color: #718b82;
  border-top: 1px solid #36524a;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 16px;
  font-size: 9px;
  display: flex;
}

/* ---------- 12. Page hero (inner pages) ---------- */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 85px 0 70px;
}

.page-hero .container {
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 60px;
  display: grid;
}

.page-hero p {
  color: #67756f;
  max-width: 620px;
  line-height: 1.75;
}

.page-count {
  color: #0000;
  -webkit-text-stroke: 1px #9caba5;
  letter-spacing: -0.08em;
  justify-self: end;
  font-size: 110px;
  font-weight: 750;
  line-height: 0.8;
  margin: 0;
}

/* ---------- 13. Filter / search ---------- */
.filter-row {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  display: flex;
}

.filters {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.filter {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ccd6d1;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.search-box {
  background: #fff;
  border: 1px solid #ccd6d1;
  gap: 8px;
  min-width: 230px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
}

.search-box input {
  background: 0 0;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 11px;
}

.empty {
  text-align: center;
  color: #78847f;
  border: 1px dashed #bdc9c3;
  padding: 60px;
}

/* ---------- 14. Prose / facts / advantages ---------- */
.prose-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
  display: grid;
}

.prose-grid h2 {
  letter-spacing: -0.04em;
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.prose-grid p {
  color: #64726c;
  line-height: 1.85;
  margin-bottom: 18px;
}

.prose-grid ul {
  margin-top: 22px;
}

.prose-grid li {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 12px;
  color: #55635d;
}

.fact-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  display: grid;
}

.fact {
  background: #edf1ec;
  padding: 25px;
}

.fact strong {
  font-size: 29px;
  display: block;
  letter-spacing: -0.03em;
}

.fact span {
  color: #6f7d77;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
}

.advantage-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.advantage {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 230px;
  padding: 30px;
}

.advantage > span {
  color: var(--warm);
  font-size: 42px;
}

.advantage h3 {
  margin-top: 30px;
  font-size: 20px;
}

.advantage p {
  color: #6d7a74;
  font-size: 12px;
  line-height: 1.75;
  margin-top: 12px;
}

.two-panels {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.info-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 42px;
}

.info-panel.dark {
  background: var(--ink);
  color: #fff;
}

.info-panel h2 {
  font-size: 34px;
  letter-spacing: -0.03em;
}

.info-panel p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #6d7a74;
}

.info-panel.dark p {
  color: #b6c8c2;
}

.info-panel ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  border-bottom: 1px solid #788c8440;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  font-size: 12px;
  display: flex;
}

.info-panel li b {
  font-weight: 800;
}

/* ---------- 15. Contact / inquiry form ---------- */
.contact-grid {
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  display: grid;
}

.contact-card,
.inquiry-form {
  border: 1px solid var(--line);
  background: #fff;
  padding: 38px;
}

.contact-card h2,
.inquiry-form h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.contact-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.contact-item small {
  color: #7b8983;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  display: block;
}

.contact-item b {
  margin-top: 7px;
  display: block;
  font-size: 13px;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
  margin-top: 26px;
}

.field {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #697770;
  font-size: 9px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  background: #fbfaf6;
  border: 1px solid #cdd6d2;
  outline: none;
  padding: 13px;
  font-size: 12px;
  border-radius: 2px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
}

.field textarea {
  resize: vertical;
  height: 120px;
}

.form-note {
  color: #75817c;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 16px;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 16. Product detail ---------- */
.detail-grid {
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  display: grid;
}

.detail-art {
  height: 520px;
}

.detail-copy .crumb {
  margin-bottom: 25px;
  display: block;
}

.detail-copy h1 {
  letter-spacing: -0.045em;
  font-size: 43px;
  line-height: 1.1;
  margin: 12px 0 14px;
}

.detail-copy .sub {
  color: #74817b;
  font-size: 14px;
  line-height: 1.7;
}

.detail-copy .sku {
  color: #7d8984;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.detail-specs {
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.detail-specs div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 14px 0;
  font-size: 11px;
  display: flex;
  gap: 20px;
}

.detail-specs span {
  color: #74817b;
}

.detail-specs b {
  font-weight: 700;
}

.detail-note {
  background: #edf3ef;
  padding: 18px;
  font-size: 11px;
  line-height: 1.7;
  color: #4f5f59;
}

.detail-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-gallery {
  align-content: start;
  gap: 14px;
  display: grid;
}

.detail-gallery figure {
  border: 1px solid var(--line);
  background: #eef1ee;
  place-items: center;
  min-height: 250px;
  margin: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}

.detail-gallery figure.primary {
  min-height: 500px;
}

.detail-gallery.single figure.primary {
  min-height: 620px;
}

.detail-gallery img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
}

.detail-gallery.single img {
  max-height: 620px;
}

.detail-gallery figure:not(.primary) img {
  max-height: 340px;
}

.detail-gallery small {
  color: #fff;
  letter-spacing: 0.1em;
  background: #0f2f28e6;
  padding: 6px 9px;
  font-size: 8px;
  position: absolute;
  bottom: 12px;
  left: 14px;
}

/* ---------- 17. Responsive ---------- */
@media (width <= 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    font-size: 13px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero-grid,
  .page-hero .container,
  .prose-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 35px 0;
  }

  .hero-copy {
    padding: 35px 0 10px;
  }

  .hero-visual {
    height: 460px;
  }

  .page-count {
    display: none;
  }

  .category-grid,
  .product-grid,
  .products-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process i {
    display: none;
  }

  .advantage-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .detail-art {
    height: 440px;
  }

  .detail-gallery figure.primary,
  .detail-gallery.single figure.primary {
    min-height: 500px;
  }
}

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

  .topline .container span:last-child {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 12px;
  }

  .language button {
    padding: 6px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stats strong {
    font-size: 23px;
  }

  .hero-visual {
    height: 400px;
  }

  .stage-main {
    transform-origin: 0 100%;
    transform: scale(0.82);
  }

  .stage-side {
    transform-origin: 100% 100%;
    transform: scale(0.82);
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid,
  .product-grid,
  .products-wide,
  .process-grid,
  .advantage-list,
  .two-panels,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-art,
  .products-wide .product-art {
    height: 260px;
  }

  .product-photo-frame,
  .products-wide .product-photo-frame {
    height: 390px;
  }

  .quote-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-band h2 {
    font-size: 26px;
  }

  .footer-legal .legal-name {
    font-size: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
  }

  .page-hero {
    padding: 60px 0 50px;
  }

  .contact-card,
  .inquiry-form,
  .info-panel {
    padding: 25px;
  }

  .field.full {
    grid-column: auto;
  }

  .detail-art {
    height: 350px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .detail-gallery figure.primary,
  .detail-gallery.single figure.primary {
    min-height: 400px;
  }

  .detail-gallery img,
  .detail-gallery.single img {
    max-height: 430px;
  }
}
