/*
Theme Name: ecoweavon (Refined v2)
Theme URI: https://ecoweavon.com
Author: ecoweavon Team
Description: Premium recycled cotton yarn manufacturer theme — Refined variant. Playfair Display + Inter Tight, low-saturation sustainable green, calm composition for B2B.
Version: 2.0.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: ecoweavon
*/

/* =========================================================
   1. Design Tokens
   ========================================================= */
:root {
  /* Backgrounds */
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8F5;
  --bg-deep:      #EEF0EA;
  --bg-ink:       #0F1B14;          /* used in dark CTA band */

  /* Ink */
  --ink:          #0F1B14;
  --ink-soft:     #4D5A52;
  --ink-faint:    #8B948E;
  --line:         #E5E8E3;
  --line-soft:    rgba(15, 27, 20, 0.08);

  /* Brand */
  --brand:        #2D5A3D;
  --brand-deep:   #1F3F2A;
  --brand-tint:   #E7EEE7;

  /* State */
  --ok:           #2D5A3D;
  --warn:         #8B6914;

  /* Typography */
  --font-display: "Playfair Display", "Cormorant Garamond", "Songti SC", Georgia, serif;
  --font-body:    "Inter Tight", "Inter", "PingFang SC", -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", "Cascadia Code", "Consolas", ui-monospace, monospace;

  --fs-xs:        0.75rem;
  --fs-sm:        0.875rem;
  --fs-base:      1rem;
  --fs-md:        1.125rem;
  --fs-lg:        1.5rem;
  --fs-xl:        2rem;
  --fs-2xl:       2.5rem;
  --fs-3xl:       3.25rem;
  --fs-display:   clamp(2.75rem, 5.5vw, 4.75rem);

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-pill: 999px;

  /* Shadows (calm, multi-layer) */
  --sh-1: 0 1px 3px rgba(15, 27, 20, 0.06), 0 1px 2px rgba(15, 27, 20, 0.04);
  --sh-2: 0 4px 12px rgba(15, 27, 20, 0.08);
  --sh-3: 0 16px 40px rgba(15, 27, 20, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;

  /* Layout */
  --container: 1240px;
  --gutter:    clamp(20px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
input, select, textarea { font: inherit; color: inherit; }

/* Display headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-snug, -0.01em);
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-2xl); font-weight: 600; }
h3 { font-size: var(--fs-xl); font-weight: 500; }

/* =========================================================
   2. Layout primitives
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section--soft  { background: var(--bg-soft); }
.section--ink   { background: var(--bg-ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-7);
}

.section-head h2 { margin-bottom: var(--s-3); }
.section-head p  {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.6;
}

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
}

.btn-sm { padding: 10px 18px; font-size: var(--fs-sm); }

.btn-arrow::after {
  content: "→";
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   4. Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand span { color: var(--brand); }
.brand img { width: 28px; height: 28px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--brand); }
.nav a.active {
  color: var(--brand);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
}

.nav .dropdown {
  position: relative;
}
.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--dur-base) var(--ease-out);
}
.nav .dropdown:hover .dropdown-menu,
.nav .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: var(--fs-sm);
  border-radius: 4px;
}
.nav .dropdown-menu a:hover { background: var(--bg-soft); color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur-base);
}

@media (max-width: 880px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter);
    gap: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(520px, 75vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--bg-ink);
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,20,0.55) 0%, rgba(15,27,20,0.7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__volume {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-4);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--s-5);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #C5AA65;
}

.hero__sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: var(--s-6);
  line-height: 1.7;
}

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

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-sm);
}
.hero__badges strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2px;
}

/* =========================================================
   6. Trust Strip
   ========================================================= */
.trust-strip {
  background: var(--bg-soft);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  align-items: center;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.trust-strip__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  border-radius: var(--r-pill);
  color: var(--brand);
}
.trust-strip__icon svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .trust-strip__row { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}

/* =========================================================
   7. Product Grid
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--sh-3);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow, 560ms) var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__index {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.product-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__body h3 {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin: 0;
}
.product-card__spec {
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.product-card__body p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 6px 0 0;
  flex: 1;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
}
.product-card__link::after {
  content: "→";
  transition: transform var(--dur-fast);
}
.product-card:hover .product-card__link::after { transform: translateX(4px); }

/* =========================================================
   8. Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats__cell {
  padding: var(--s-6) var(--s-5);
  text-align: center;
  border-right: 1px solid var(--line);
}
.stats__cell:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stats__label {
  margin-top: 8px;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__cell { border-bottom: 1px solid var(--line); }
  .stats__cell:nth-child(2n) { border-right: 0; }
  .stats__cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =========================================================
   9. Quality / Why cards (4 SVG icons)
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: var(--s-6) var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-base);
}
.why-card:hover { border-color: var(--brand); }

.why-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  color: var(--brand);
}
.why-card__icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.why-card p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================
   10. Process Timeline
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
}
.timeline__item {
  text-align: center;
  position: relative;
}
.timeline__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand);
  margin: 20px auto var(--s-3);
  border: 4px solid var(--bg-soft);
  position: relative;
  z-index: 1;
}
.timeline__item:nth-child(even) .timeline__dot { background: var(--brand-deep); }

.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.timeline__title {
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: 6px;
}
.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: var(--s-5); }
  .timeline::before { display: none; }
  .timeline__item { text-align: left; padding-left: 32px; position: relative; }
  .timeline__dot { position: absolute; left: 0; top: 4px; margin: 0; }
}

/* =========================================================
   11. CTA band
   ========================================================= */
.cta-band {
  background: var(--bg-ink);
  color: #fff;
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-4); }
.cta-band p { color: rgba(255,255,255,0.78); font-size: var(--fs-md); line-height: 1.7; }

.cta-band__channels {
  display: grid;
  gap: var(--s-3);
}
.cta-channel {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  transition: all var(--dur-base);
}
.cta-channel:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--brand);
  transform: translateX(4px);
}
.cta-channel__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
  border-radius: var(--r-md);
  flex: 0 0 40px;
  color: #fff;
}
.cta-channel__icon svg { width: 20px; height: 20px; }
.cta-channel__body { flex: 1; }
.cta-channel__label { font-size: var(--fs-xs); color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; }
.cta-channel__value { color: #fff; font-weight: 500; font-size: var(--fs-base); }
.cta-channel__arrow {
  color: rgba(255,255,255,0.5);
  font-size: 1.25rem;
  transition: transform var(--dur-fast);
}
.cta-channel:hover .cta-channel__arrow { transform: translateX(4px); color: #fff; }

@media (max-width: 880px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   12. Page hero (sub-pages)
   ========================================================= */
.page-hero {
  background: var(--bg-soft);
  padding: clamp(60px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 760px; }
.page-hero__inner h1 { margin-bottom: var(--s-3); }
.page-hero__inner p {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.6;
  margin-bottom: var(--s-4);
}
.breadcrumb {
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }

/* =========================================================
   13. About intro (split layout)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: var(--s-6); }
  .split--reverse > :first-child { order: 0; }
}
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__body h2 { margin-bottom: var(--s-4); }
.split__body p  { color: var(--ink-soft); margin-bottom: var(--s-4); }

.bullet-list {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.bullet-list li {
  display: flex;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.bullet-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.bullet-list li:last-child { border-bottom: 0; }

/* =========================================================
   14. Products page
   ========================================================= */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-7);
  padding: var(--s-7) 0 var(--s-9);
}
@media (max-width: 880px) {
  .products-layout { grid-template-columns: 1fr; }
}

.products-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.products-sidebar h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  margin-bottom: var(--s-3);
}
.products-sidebar a {
  display: block;
  padding: 10px 12px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  margin-bottom: 2px;
}
.products-sidebar a:hover,
.products-sidebar a.active {
  background: #fff;
  color: var(--brand);
  font-weight: 500;
}

.product-category {
  margin-bottom: var(--s-8);
  scroll-margin-top: 96px;
}
.product-category__head {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.product-category__head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin: 0;
}
.product-category__head .index {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.product-category .product-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .product-category .product-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   15. Factory gallery
   ========================================================= */
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 720px) { .factory-gallery { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-deep);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 560ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__label {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(15,27,20,0.85);
  color: #fff;
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.05em;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--bg-soft);
  color: var(--ink-faint);
  font-size: var(--fs-sm);
  border: 1px dashed var(--line);
}
.gallery-placeholder small {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-top: 4px;
}

.factory-video {
  margin-top: var(--s-6);
  aspect-ratio: 21 / 9;
  background: var(--bg-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.factory-video img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   16. Forms (Contact + Inquiry)
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  padding: var(--s-7) 0 var(--s-9);
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-list { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.info-list__item {
  display: flex;
  gap: var(--s-4);
}
.info-list__icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: var(--r-md);
}
.info-list__icon svg { width: 18px; height: 18px; }
.info-list__label { font-size: var(--fs-xs); color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.info-list__value { color: var(--ink); font-weight: 500; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: var(--sh-1);
}

.form-card h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-2);
}
.form-card .sub {
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
  font-size: var(--fs-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.form-group label { font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.form-group label .req { color: #b04848; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-notice {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.form-notice--ok  { background: var(--brand-tint); color: var(--brand-deep); }
.form-notice--err { background: #FBE9E9; color: #7A2929; }

.inquiry-promise {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--brand-tint);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--brand-deep);
  text-align: center;
}

/* =========================================================
   17. Footer
   ========================================================= */
.site-footer {
  background: #0A130E;
  color: rgba(255,255,255,0.7);
  padding: var(--s-8) 0 var(--s-5);
  font-size: var(--fs-sm);
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s-7);
  margin-bottom: var(--s-6);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-3);
}
.site-footer__brand span { color: var(--brand); }

.footer-links li { padding: 6px 0; }

.footer-contact li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s-4);
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
}

/* =========================================================
   18. WhatsApp Floating Button
   ========================================================= */
.fab-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform var(--dur-base);
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 600px) {
  .fab-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   19. Focus / a11y
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   20. Helpers
   ========================================================= */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }