:root {
  --ink: #1f2a2e;
  --muted: #647174;
  --line: #dde4e1;
  --paper: #f7f7f2;
  --white: #ffffff;
  --green: #2f6b55;
  --green-dark: #214d3e;
  --blue: #1f4f66;
  --clay: #b76045;
  --gold: #b28a45;
  --shadow: 0 18px 45px rgba(31, 42, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#products,
#bedding-products,
#about-us,
#news,
#quality,
#inquiry,
#contact-us {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(249, 250, 246, 0.92));
  border-bottom: 1px solid rgba(31, 42, 46, 0.08);
  box-shadow: 0 16px 42px rgba(31, 42, 46, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  background: #112b33;
  border: 1px solid rgba(178, 138, 69, 0.55);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 43, 51, 0.18);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #142d35;
  font-size: 21px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  color: #38484d;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 42, 46, 0.1);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 28px rgba(31, 42, 46, 0.08);
}

.main-nav > a,
.mega-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #314146;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.main-nav > a::before,
.mega-nav > a::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  opacity: 0.82;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.mega-nav > a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 1px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  opacity: 0.64;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.main-nav > a:hover,
.main-nav > a:focus,
.mega-nav > a:hover,
.mega-nav > a:focus,
.mega-nav:hover > a,
.mega-nav.is-open > a {
  color: #153b45;
  background: linear-gradient(180deg, #ffffff, #edf4ef);
  border-color: rgba(178, 138, 69, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(31, 42, 46, 0.1);
  transform: translateY(-1px);
}

.mega-nav:hover > a::after,
.mega-nav.is-open > a::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.main-nav > a[href^="index.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.mega-nav > a {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6v6H4z'/%3E%3Cpath d='M14 4h6v6h-6z'/%3E%3Cpath d='M4 14h6v6H4z'/%3E%3Cpath d='M14 14h6v6h-6z'/%3E%3C/svg%3E");
}

.main-nav > a[href^="about.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V7l8-4 8 4v14'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 9h.01'/%3E%3C/svg%3E");
}

.main-nav > a[href^="news.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h11v18H6a2 2 0 0 1-2-1.5Z'/%3E%3Cpath d='M8 7h5'/%3E%3Cpath d='M8 11h6'/%3E%3Cpath d='M8 15h4'/%3E%3C/svg%3E");
}

.main-nav > a[href^="contact.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: rgba(17, 43, 51, 0.06);
  border: 1px solid rgba(17, 43, 51, 0.1);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(31, 42, 46, 0.06);
}

.language-switcher button {
  min-height: 30px;
  padding: 0 10px;
  color: #4d5d61;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus {
  color: var(--green-dark);
}

.language-switcher button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, #18363f, #2f6b55);
  box-shadow: 0 8px 18px rgba(33, 77, 62, 0.22);
}

.mega-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.mega-nav::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 29;
  width: calc(100% + 36px);
  height: 18px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  width: min(620px, calc(100vw - 40px));
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 244, 0.96));
  border: 1px solid rgba(31, 42, 46, 0.1);
  border-radius: 14px;
  box-shadow:
    0 24px 58px rgba(31, 42, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(31, 42, 46, 0.1);
  border-top: 1px solid rgba(31, 42, 46, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

.mega-nav:hover .mega-menu,
.mega-nav:focus-within .mega-menu,
.mega-nav.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(221, 228, 225, 0.8);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.mega-menu a:hover,
.mega-menu a:focus {
  border-color: rgba(178, 138, 69, 0.28);
  background: #f5f8f4;
  box-shadow: 0 14px 26px rgba(31, 42, 46, 0.08);
  transform: translateY(-1px);
}

.mega-menu strong {
  color: var(--ink);
  font-size: 15px;
}

.mega-menu span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: #f4f6f4;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 700;
}

.breadcrumb a::after,
.breadcrumb span::before {
  color: #97a3a0;
  font-weight: 400;
}

.breadcrumb a::after {
  margin-left: 8px;
  content: ">";
}

.breadcrumb span {
  color: var(--ink);
  font-weight: 700;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.78), rgba(20, 32, 35, 0.38) 46%, rgba(20, 32, 35, 0.1)),
    linear-gradient(0deg, rgba(20, 32, 35, 0.55), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 7vw, 96px) 12vh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c070;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 34px;
}

.hero-dots button {
  width: 32px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.46);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #f0c070;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metrics div {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
  transition: transform 220ms ease, background 220ms ease;
}

.metrics div::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 999px 999px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms ease;
}

.metrics div.is-counted::after {
  transform: scaleX(1);
}

.metrics div:hover {
  background: #fbfbf8;
  transform: translateY(-2px);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.section,
.split-section,
.inquiry-section,
.site-footer {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--white);
}

.overview-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.overview-panel {
  display: grid;
  gap: 14px;
}

.overview-panel div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: 0 12px 26px rgba(31, 42, 46, 0.06);
}

.overview-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 20px;
}

.overview-panel span {
  color: var(--muted);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(31, 42, 46, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 20px;
}

.product-card p,
.process-grid p,
.news-grid p,
.catalog-copy p,
.inquiry-copy p,
.site-footer p {
  color: var(--muted);
}

.news-section {
  background: var(--white);
}

.new-products {
  background: var(--white);
}

.why-section {
  background: #eef3ef;
}

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

.why-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(47, 107, 85, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(31, 42, 46, 0.07);
}

.why-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 50%;
  font-weight: 700;
}

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

.why-grid p {
  margin: 0;
  color: var(--muted);
}

.partner-section {
  overflow: hidden;
  background: #f4f6f4;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: brand-slide 26s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  min-height: 86px;
  padding: 16px 20px;
  color: #2c3d42;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(31, 42, 46, 0.07);
  font-weight: 700;
}

.brand-track img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 7px;
  background: #f7f8f5;
  border: 1px solid rgba(221, 228, 225, 0.9);
  border-radius: 12px;
}

.brand-track b {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #f4e0a6;
  background: linear-gradient(135deg, #17313a, #2f6b55);
  border-radius: 50%;
  font-size: 13px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@keyframes brand-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

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

.news-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.news-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card {
  position: relative;
}

.category-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.product-list-heading {
  margin-top: clamp(54px, 7vw, 86px);
}

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

.sample-product {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(31, 42, 46, 0.06);
}

.sample-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sample-product-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.sample-product-body h3,
.sample-product-body p {
  margin-bottom: 0;
}

.product-badge {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--green-dark);
  background: #e7eee9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-specs span {
  padding: 5px 8px;
  color: #4b5b60;
  background: #f1f4f2;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.product-detail-section {
  background: #eef3ef;
}

.product-detail-section .section-heading p:last-child {
  max-width: 700px;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(420px, 1fr);
  gap: 22px;
  align-items: start;
}

.bedding-list {
  display: grid;
  gap: 12px;
}

.bedding-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.bedding-item.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(47, 107, 85, 0.12);
}

.bedding-item img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.bedding-item strong,
.bedding-item small {
  display: block;
}

.bedding-item strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
}

.bedding-item small {
  color: var(--muted);
  font-size: 12px;
}

.bedding-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bedding-detail > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.bedding-detail-body {
  padding: clamp(24px, 4vw, 42px);
}

.spec-table {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.spec-table div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table dt {
  color: var(--blue);
  font-weight: 800;
}

.spec-table dd {
  margin: 0;
  color: var(--muted);
}

.detail-inquiry {
  width: max-content;
}

.category-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: clamp(80px, 11vw, 140px) clamp(20px, 6vw, 84px) clamp(56px, 8vw, 92px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.76), rgba(20, 32, 35, 0.34)),
    url("https://images.unsplash.com/photo-1617104678098-de229db51175?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: clamp(90px, 12vw, 150px) clamp(20px, 6vw, 84px) clamp(56px, 8vw, 92px);
  color: var(--white);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.product-page-hero {
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.74), rgba(20, 32, 35, 0.22)),
    url("https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.compact-page-heading {
  padding: clamp(96px, 11vw, 132px) clamp(20px, 6vw, 84px) 34px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.compact-page-heading h1 {
  max-width: 850px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
}

.compact-page-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.product-directory {
  padding-top: 34px;
}

.about-page-hero {
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.74), rgba(20, 32, 35, 0.22)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.news-page-hero {
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.74), rgba(20, 32, 35, 0.22)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-page-hero {
  background:
    linear-gradient(90deg, rgba(20, 32, 35, 0.78), rgba(20, 32, 35, 0.28)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.news-list article {
  min-height: 270px;
}

.factory-section,
.quality-story {
  background: var(--white);
}

.factory-section .section-heading p:last-child,
.trade-copy p {
  max-width: 760px;
  color: var(--muted);
}

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

.factory-grid article {
  overflow: hidden;
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(31, 42, 46, 0.06);
}

.factory-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.factory-grid div {
  padding: 22px;
}

.factory-grid p {
  color: var(--muted);
}

.trade-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #eef3ef;
}

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

.market-grid div {
  min-height: 170px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.market-grid strong,
.market-grid span {
  display: block;
}

.market-grid strong {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 22px;
}

.market-grid span {
  color: var(--muted);
}

.category-hero > div {
  max-width: 780px;
}

.category-hero h1 {
  margin-bottom: 16px;
}

.category-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #f0c070;
  font-weight: 800;
}

.category-products {
  background: var(--white);
}

.category-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.category-toolbar h2 {
  margin-bottom: 0;
}

.category-toolbar span {
  color: var(--muted);
  font-weight: 800;
}

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

.category-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: 0 10px 25px rgba(31, 42, 46, 0.06);
}

.category-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-product-card > div {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.category-product-card h3,
.category-product-card p {
  margin-bottom: 0;
}

.category-product-card p {
  color: var(--muted);
}

.category-product-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.category-product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.category-product-card dt {
  color: var(--blue);
  font-weight: 800;
}

.category-product-card dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.category-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-icon-grid a,
.category-icon-grid button {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 128px;
  padding: 16px 10px;
  text-align: center;
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.category-icon-grid button.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(47, 107, 85, 0.12);
}

.category-icon-grid img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.category-icon-grid span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.all-products {
  background: #eef3ef;
}

.category-products {
  padding-bottom: 28px;
}

.all-products {
  padding-top: 34px;
}

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

.all-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(31, 42, 46, 0.06);
}

.all-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.all-product-card > div {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.all-product-card h3,
.all-product-card p {
  margin-bottom: 0;
}

.all-product-card p {
  color: var(--muted);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pagination div {
  display: flex;
  gap: 8px;
}

.pagination button {
  min-width: 42px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.pagination button.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.pagination button:disabled {
  color: #9aa5a8;
  cursor: not-allowed;
  background: #f0f2f0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  background: #e9eee9;
}

.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list,
.catalog-panel ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li,
.catalog-panel li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(31, 42, 46, 0.12);
}

.feature-list li::before,
.catalog-panel li::before {
  position: absolute;
  left: 0;
  color: var(--clay);
  content: "•";
  font-weight: 900;
}

.quality {
  background: var(--white);
}

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

.process-grid div {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.process-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 800;
}

.catalog {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
}

.catalog-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-panel li {
  border-color: rgba(255, 255, 255, 0.16);
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--blue);
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: 0 12px 28px rgba(31, 42, 46, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #3a474b;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cad5d1;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, 0.9fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(46px, 7vw, 72px);
  padding-bottom: clamp(46px, 7vw, 72px);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 12% 0%, rgba(178, 138, 69, 0.16), transparent 34%),
    linear-gradient(135deg, #13272d, #172327 48%, #0f1b1f);
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-label {
  color: #d8b66a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-link,
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.footer-link {
  width: max-content;
  margin-top: 8px;
  color: #f1d590;
}

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

.footer-links a {
  position: relative;
  padding-left: 16px;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #d8b66a;
  border-radius: 50%;
}

.footer-contact p {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .metrics,
  .product-grid,
  .sample-product-grid,
  .why-grid,
  .category-product-grid,
  .category-icon-grid,
  .all-product-grid,
  .factory-grid,
  .news-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .home-overview,
  .split-section,
  .catalog,
  .detail-layout,
  .bedding-detail,
  .trade-section,
  .inquiry-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .language-switcher {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .language-switcher button {
    flex: 1;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-bottom: 72px;
  }

  h1 {
    font-size: 42px;
  }

  .metrics,
  .product-grid,
  .sample-product-grid,
  .why-grid,
  .category-product-grid,
  .category-icon-grid,
  .all-product-grid,
  .factory-grid,
  .market-grid,
  .news-grid,
  .process-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .category-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }

  .bedding-item {
    grid-template-columns: 78px 1fr;
  }

  .bedding-item img {
    width: 78px;
    height: 64px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.floating-contact {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 60;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.float-item {
  position: relative;
  display: grid;
  place-items: center;
}

.float-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #17313a, #2f6b55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(31, 42, 46, 0.22);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.float-button svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
}

.float-card {
  position: absolute;
  top: 50%;
  right: 62px;
  width: 218px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(31, 42, 46, 0.12);
  border-radius: 12px;
  box-shadow: 0 22px 52px rgba(31, 42, 46, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.float-item:hover .float-card,
.float-item:focus-within .float-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.float-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.float-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.float-card img {
  width: 132px;
  height: 132px;
  margin: 0 auto 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.float-card a {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 640px) {
  .floating-contact {
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .float-button {
    width: 44px;
    height: 44px;
  }

  .float-card {
    top: auto;
    right: 54px;
    bottom: 0;
    transform: translateX(10px);
  }

  .float-item:hover .float-card,
  .float-item:focus-within .float-card {
    transform: translateX(0);
  }
}
