:root {
  --forest: #1F4E3D;
  --forest-deep: #14392C;
  --sage: #A8BC8F;
  --sage-light: #EDF2E3;
  --cream: #FFFFFF;
  --cream-deep: #F5F2EA;
  --wood: #8B6F47;
  --clay: #6F8F3A;
  --clay-soft: #E9EFDC;
  --ink: #222222;
  --muted: #555555;
  --line: rgba(34, 34, 34, 0.12);
  --line-soft: rgba(245, 241, 232, 0.22);
  --white: #FFFFFF;
  --radius: 8px;
  --shadow-sm: 0 10px 28px rgba(31, 78, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 57, 44, 0.18);
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html[data-lang="zh"] .en,
html[data-lang]:not([data-lang="zh"]) .zh {
  display: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 0.55em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1180px, 100% - clamp(36px, 7vw, 84px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--cream);
  color: var(--forest);
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--cream);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(31, 78, 61, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--sage);
}

.brand__text {
  display: grid;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
}

.brand__text small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 0;
}

.header-certs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.header-cert-img {
  display: block;
  height: 30px;
  width: auto;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 3px 5px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.92;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-link--products {
  position: relative;
}

.nav-links .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 8px;
  z-index: 200;
}

.nav-link--products:hover .dropdown,
.nav-link--products:focus-within .dropdown {
  display: block;
}

.nav-links .dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links .dropdown a:hover {
  background: var(--sage-light);
  color: var(--forest);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px;
  background: transparent;
  line-height: 1;
}

.lang-option {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 999px;
  opacity: 0.72;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.lang-option.active {
  background: var(--sage);
  color: var(--forest-deep);
  opacity: 1;
}

.lang-select {
  position: relative;
  flex: 0 0 auto;
}

.lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  background: transparent;
  line-height: 1;
  color: inherit;
  font-weight: 700;
  font-size: 12px;
}

.lang-select__trigger svg {
  width: 13px;
  height: 13px;
  opacity: 0.8;
}

.lang-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-select__current {
  min-width: 58px;
  text-align: left;
}

.lang-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  display: none;
  width: 220px;
  max-width: calc(100vw - 24px);
  max-height: 70vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
}

.lang-select.is-open .lang-select__menu {
  display: block;
}

.lang-select__menu .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 1;
  color: var(--ink);
  text-align: left;
}

.lang-select__menu .lang-option:hover {
  background: var(--sage-light);
}

.lang-select__menu .lang-option.active {
  background: var(--sage);
  color: var(--forest-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 13px;
}

.nav-toggle span:nth-child(2) {
  top: 20px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

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

.site-header.menu-open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  color: var(--forest);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background: url("../images/hero-texture.png") center / cover repeat;
  opacity: 0.07;
  transform: translateZ(0);
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(237, 242, 227, 0.42) 100%);
}

.hero__content {
  width: min(1180px, 100% - clamp(36px, 7vw, 84px));
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 96px;
  will-change: transform, opacity;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content .hero__ctas,
.hero__content .factory-badge,
.hero__content .hero__eyebrow {
  justify-content: center;
}

.hero__content .typewriter {
  margin-left: auto;
  margin-right: auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 22px;
  color: var(--forest);
}

.factory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clay-soft);
  color: var(--forest);
  border: 1px solid rgba(197, 106, 59, 0.28);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.factory-badge svg {
  width: 16px;
  height: 16px;
  color: var(--clay);
  flex: 0 0 auto;
}

.page-hero .factory-badge {
  color: var(--forest);
}

.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--clay);
}

.hero h1 {
  max-width: 15em;
  font-size: clamp(2.15rem, 5.4vw, 4.5rem);
  margin-bottom: 20px;
  color: var(--forest);
}

.typewriter {
  display: block;
  min-height: 1.8em;
  max-width: 34em;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  color: var(--forest);
  border-right: 2px solid var(--forest);
  padding-right: 4px;
  margin-bottom: 30px;
}

.typewriter.is-typing {
  animation: caret 0.85s step-end infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

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

.btn--solid {
  background: var(--cream);
  color: var(--forest);
}

.btn--solid:hover {
  box-shadow: 0 14px 30px rgba(20, 57, 44, 0.28);
}

.btn--ghost {
  border-color: rgba(245, 241, 232, 0.62);
  color: var(--cream);
  background: rgba(20, 57, 44, 0.12);
}

.btn--ghost:hover {
  background: rgba(245, 241, 232, 0.14);
}

.hero .btn--solid {
  background: var(--forest);
  color: var(--cream);
}

.hero .btn--solid:hover {
  box-shadow: 0 14px 30px rgba(20, 57, 44, 0.18);
}

.hero .btn--ghost {
  border-color: rgba(31, 78, 61, 0.5);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.55);
}

.hero .btn--ghost:hover {
  background: rgba(31, 78, 61, 0.08);
}

.btn--forest {
  background: var(--forest);
  color: var(--cream);
}

.btn--forest:hover {
  background: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}

.btn--olive {
  background: var(--clay);
  color: #FFFFFF;
}

.btn--olive:hover {
  background: var(--forest);
}

.btn--outline {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(31, 78, 61, 0.07);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(31, 78, 61, 0.5);
  border-radius: 999px;
  z-index: 2;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--clay);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  display: block;
  color: var(--cream);
}

body[data-page="home"] .site-header {
  color: var(--forest);
}

body[data-page="home"] .site-header .brand__mark {
  color: var(--forest);
}

/* Page hero for inner pages */
.page-hero {
  position: relative;
  min-height: 48vh;
  min-height: 48svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
}

.page-hero--about {
  background: url("../images/about-workshop.jpg") center / cover no-repeat;
}

.page-hero--products {
  background: url("../images/hero-woven.jpg") center / cover no-repeat;
}

.page-hero--export {
  background: url("../images/export-eco.jpg") center / cover no-repeat;
}

.page-hero--contact {
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-deep) 70%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 57, 44, 0.52) 0%, rgba(20, 57, 44, 0.72) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(245, 241, 232, 0.9);
}

.crumb {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--sage {
  background: var(--sage-light);
}

.section--dark {
  background: var(--forest);
  color: var(--cream);
}

.section--wood {
  background: var(--cream-deep);
}

.section__head {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.section--dark .section__label {
  color: var(--sage);
}

.section__label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section__title {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}

.section__lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  max-width: 760px;
}

.section--dark .section__lead {
  color: rgba(245, 241, 232, 0.82);
}

.section__head--center .section__lead {
  margin-inline: auto;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 106, 59, 0.35);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--sage-light);
  color: var(--forest);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Product cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.catalog-sidebar h3 {
  font-size: 1rem;
  margin: 18px 0 12px;
}

.catalog-sidebar h3:first-child {
  margin-top: 0;
}

.catalog-sidebar__search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.catalog-sidebar__search input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--forest);
}

.filter-bar--vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

.filter-bar--vertical .filter-btn {
  text-align: left;
  border-radius: var(--radius);
}

.sidebar-featured {
  display: grid;
  gap: 10px;
}

.sidebar-featured__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sidebar-featured__item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
}

.sidebar-featured__item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.sidebar-featured__item:hover {
  border-color: var(--clay);
  background: var(--clay-soft);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 22px auto 0;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.newsletter-form input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--forest);
}

.newsletter-success {
  display: none;
  max-width: 520px;
  margin: 18px auto 0;
  background: var(--clay-soft);
  border: 1px solid rgba(111, 143, 58, 0.28);
  color: var(--forest);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.newsletter-success.is-visible {
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-deep);
}

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

.product-card:hover .product-card__media img {
  transform: scale(1.08);
}

.product-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(245, 241, 232, 0.92);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-card__body {
  padding: 18px 18px 20px;
}

.product-card__body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.product-card__body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.product-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.product-card:hover .product-card__more svg {
  transform: translateX(4px);
}

.product-card:hover .product-card__more {
  color: var(--clay);
}

.product-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--clay-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: var(--forest);
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clay-soft);
  border: 1px solid rgba(111, 143, 58, 0.28);
  color: var(--forest);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 800;
}

.cert-badge svg {
  width: 17px;
  height: 17px;
  color: var(--clay);
}

.cert-badge img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 4px 6px;
}

.footer-cert-img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  background: #FFFFFF;
  border-radius: 3px;
  padding: 2px 3px;
}

.footer-certs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-note {
  text-align: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  text-align: center;
}

.stat {
  padding: 26px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  color: var(--clay);
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.95rem;
  color: rgba(245, 241, 232, 0.82);
}

/* Split intro */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 241, 232, 0.22);
  border-radius: var(--radius);
  pointer-events: none;
}

.split__body h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

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

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--clay);
  margin-top: 3px;
}

/* Pill rows for export keywords */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 800;
}

.pill svg {
  width: 16px;
  height: 16px;
}

.pill--dark {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--clay);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.qr-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.qr-card img {
  width: 104px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.inquiry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.inquiry-card h2 {
  font-size: 1.6rem;
}

.inquiry-card > p {
  color: var(--muted);
}

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

.form-field {
  display: grid;
  gap: 6px;
}

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

.form-field label {
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--forest);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  display: none;
  background: var(--sage-light);
  border: 1px solid rgba(31, 78, 61, 0.25);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--forest);
  margin-top: 18px;
}

.form-success.is-visible {
  display: block;
}

.form-success strong {
  display: block;
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.86);
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  padding-bottom: 42px;
}

.footer-brand .brand {
  color: var(--cream);
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.95rem;
}

.footer-col h3 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--sage);
}

.footer-col a svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 8px;
  color: var(--sage);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  padding-top: 22px;
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 33, 25, 0.88);
  padding: 24px;
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__frame {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.lightbox__img {
  max-width: min(80vw, 760px);
  max-height: 64vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  color: var(--cream);
  margin-top: 16px;
  padding: 0 8px;
}

.lightbox__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.lightbox__caption span {
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.95rem;
}

.lightbox__btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 241, 232, 0.4);
  border-radius: 50%;
  background: rgba(20, 57, 44, 0.5);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__btn:hover {
  background: var(--forest);
  transform: scale(1.05);
}

.lightbox__btn svg {
  width: 20px;
  height: 20px;
}

.lightbox__close {
  top: 18px;
  right: 18px;
}

.lightbox__prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Floating leaves */
.leaf-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  top: -80px;
  width: var(--leaf-size, 34px);
  height: auto;
  opacity: 0.5;
  background: url("../images/leaf.png") center / contain no-repeat;
  animation: leafFloat var(--leaf-duration, 16s) linear var(--leaf-delay, 0s) infinite;
}

@keyframes leafFloat {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(var(--leaf-sway, 60px), 112vh, 0) rotate(340deg);
  }
}

/* Back to top */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 120;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-34px);
}

[data-reveal="right"] {
  transform: translateX(34px);
}

[data-reveal="zoom"] {
  transform: scale(0.94);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header.menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 6px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link--products .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .split,
  .contact-grid,
  .footer-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .filter-bar--vertical {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .header-certs {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand__text {
    font-size: 14px;
  }

  .brand__text small {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .hero__ctas .btn {
    flex: 1 1 100%;
  }

  .page-hero {
    min-height: 62vh;
    min-height: 62svh;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__body h3 {
    font-size: 0.98rem;
  }

  .product-card__body p {
    font-size: 0.84rem;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 68px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .leaf-layer {
    display: none;
  }
}

html[data-lang="ar"] {
  direction: rtl;
}
