﻿/* Gloris Lighting — atelier visual system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1714;
  --ink-soft: #2c2620;
  --stone: #f3f1ee;
  --stone-deep: #e8e4de;
  --paper: #fbfaf8;
  --muted: #7a736a;
  --line: rgba(26, 23, 20, 0.12);
  --line-strong: rgba(26, 23, 20, 0.22);
  --bronze: #b08d57;
  --bronze-bright: #c9a46a;
  --bronze-deep: #8a6a3a;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --container: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(26, 23, 20, 0.08);
  --section-y: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(176, 141, 87, 0.28);
}

.hero .btn-primary {
  background: var(--bronze-bright);
  border-color: var(--bronze-bright);
  color: var(--ink);
}
.hero .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-full { width: 100%; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header.is-inner {
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.site-header.is-solid { box-shadow: 0 8px 30px rgba(26, 23, 20, 0.06); }

.site-header.is-transparent .main-nav a,
.site-header.is-transparent .logo-text,
.site-header.is-transparent .nav-toggle {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.is-transparent .logo-mark { color: var(--bronze-bright); }
.site-header.is-transparent .main-nav a:hover,
.site-header.is-transparent .main-nav a.active { color: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  z-index: 2;
}

.logo img { display: none; }

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bronze);
  line-height: 1;
}

.logo-text {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.main-nav .nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  letter-spacing: 0.1em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.main-nav .nav-cta::after { display: none; }

.main-nav .nav-cta:hover {
  background: var(--ink);
  color: #fff !important;
}

.site-header.is-transparent .main-nav .nav-cta {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.site-header.is-transparent .main-nav .nav-cta:hover {
  background: var(--bronze-bright);
  border-color: var(--bronze-bright);
  color: var(--ink) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 2px;
  transition: color 0.25s;
}

.lang-btn:hover,
.lang-btn.is-active { color: var(--ink); }

.lang-btn.is-active { color: var(--bronze-deep); }

.lang-sep {
  color: var(--line-strong);
  font-size: 0.75rem;
}

.site-header.is-transparent .lang-btn { color: rgba(255, 255, 255, 0.55); }
.site-header.is-transparent .lang-btn.is-active,
.site-header.is-transparent .lang-btn:hover { color: #fff; }
.site-header.is-transparent .lang-sep { color: rgba(255, 255, 255, 0.3); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* —— Hero carousel —— */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #100e0c;
}

.hero-slides {
  position: relative;
  min-height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 24px) 0 88px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 164, 106, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(176, 141, 87, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #100e0c 0%, #1f1a15 45%, #2a221a 100%);
}

.hero-slide[data-slide="1"] {
  background:
    radial-gradient(ellipse 70% 55% at 60% 30%, rgba(176, 141, 87, 0.26) 0%, transparent 55%),
    linear-gradient(145deg, #0e0c0a 0%, #241c14 50%, #1a1510 100%);
}

.hero-slide[data-slide="2"] {
  background:
    radial-gradient(ellipse 60% 50% at 75% 25%, rgba(201, 164, 106, 0.18) 0%, transparent 50%),
    linear-gradient(170deg, #12100e 0%, #1c1814 40%, #2e261e 100%);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.55) 42%, rgba(12, 10, 8, 0.18) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 106, 0.28) 0%, transparent 70%);
  top: 12%;
  right: 12%;
  filter: blur(10px);
  animation: float-glow 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-20px, 16px) scale(1.08); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-slide.is-active .hero-content {
  animation: hero-in 0.9s var(--ease) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 11vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand em {
  font-style: italic;
  color: var(--bronze-bright);
  font-weight: 400;
}

.hero-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 26ch;
  color: rgba(255, 255, 255, 0.95);
}

.hero-content > p:not(.hero-brand) {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  max-width: 520px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-controls {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.hero-arrow:hover {
  border-color: var(--bronze-bright);
  background: rgba(201, 164, 106, 0.15);
  color: var(--bronze-bright);
}

.hero-dots { display: flex; gap: 8px; }

.hero-dot {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.hero-dot.is-active,
.hero-dot:hover {
  color: var(--bronze-bright);
  border-bottom-color: var(--bronze-bright);
}

/* —— Sections —— */
.section { padding: var(--section-y) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-title.light { color: #fff; }

.section-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  max-width: 560px;
}

.section-actions { text-align: center; margin-top: 36px; }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

/* —— Categories —— */
.categories {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(176, 141, 87, 0.06) 0%, transparent 50%),
    var(--paper);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--stone);
  min-height: 440px;
  transition: transform 0.5s var(--ease);
}

.category-card:hover { transform: translateY(-4px); }

.category-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #d9d4cc;
  transition: transform 0.8s var(--ease);
}

.category-card:nth-child(1) .category-img {
  background-image: linear-gradient(160deg, #3a322a, #1a1714);
}
.category-card:nth-child(2) .category-img {
  background-image: linear-gradient(160deg, #4a3f32, #221c16);
}
.category-card:nth-child(3) .category-img {
  background-image: linear-gradient(160deg, #2e2a26, #151210);
}
.category-card:nth-child(4) .category-img {
  background-image: linear-gradient(160deg, #40362c, #1c1814);
}

.category-card:hover .category-img { transform: scale(1.06); }

.category-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 22px 24px;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.55) 55%, transparent 100%);
  color: #fff;
  z-index: 1;
}

.category-body h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.category-body p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
  line-height: 1.55;
  max-height: none;
  opacity: 1;
  margin-top: 0;
}

.category-num {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
}

/* —— Factory —— */
.dark-section {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(176, 141, 87, 0.1) 0%, transparent 55%),
    var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.dark-section .section-subtitle { color: rgba(255, 255, 255, 0.5); }

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.factory-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.factory-text p {
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 28px;
  font-weight: 300;
  max-width: 480px;
}

.factory-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.factory-stats li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.factory-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--bronze-bright);
  line-height: 1.1;
  margin-bottom: 4px;
}

.factory-image {
  height: 520px;
  background:
    linear-gradient(145deg, rgba(176, 141, 87, 0.15), transparent 40%),
    linear-gradient(160deg, #3a322a, #151210);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.factory-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 164, 106, 0.25);
  pointer-events: none;
}

/* —— Products —— */
.new-products {
  background: var(--stone);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}

.product-card {
  background: transparent;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  border: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f0ebe4;
  aspect-ratio: 1 / 1.15;
}

.product-img {
  height: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: #f0ebe4;
  transition: transform 0.7s var(--ease);
}

.product-card:nth-child(3n+1) .product-img {
  background-image: linear-gradient(145deg, #cfc8bc, #8a8074);
}
.product-card:nth-child(3n+2) .product-img {
  background-image: linear-gradient(145deg, #b8a898, #5c5248);
}
.product-card:nth-child(3n+3) .product-img {
  background-image: linear-gradient(145deg, #e4ddd2, #9a9084);
}

.product-card:hover .product-img { transform: scale(1.05); }

.product-model {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.product-info {
  padding: 14px 4px 6px;
  text-align: center;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 6px 0 6px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.product-info p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 300;
}

.product-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  transition: color 0.25s, gap 0.35s var(--ease);
}

.product-link:hover {
  color: var(--bronze-deep);
  gap: 12px;
}

.product-card.is-hidden {
  display: none;
}

.product-card.is-fading {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s, transform 0.3s;
}

/* —— Trust —— */
.trust-bar {
  padding: 32px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-inner span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
}

.trust-inner span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.5;
  transform: translateY(-50%);
}

/* —— Page hero —— */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(176, 141, 87, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #16120e 0%, #241c16 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 1px;
  background: var(--bronze);
  transform: translateX(-50%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 0.98rem;
}

/* —— Filters —— */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}

.search-box { position: relative; }

.search-box input {
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  width: 240px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  border-radius: 2px;
  color: var(--ink);
}

.search-box::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}

.search-box::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 58%;
  width: 7px;
  height: 1.5px;
  background: var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.search-box input:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.12);
}

.search-box input::placeholder { color: #a39c93; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.25s;
  background: var(--white);
  border-radius: 2px;
}

.page-link:hover,
.page-link.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* —— Product detail —— */
.product-detail { padding-top: calc(var(--header-h) + 32px); padding-bottom: var(--section-y); }

.categories { padding-top: 56px; }

.breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--bronze-deep); }
.breadcrumb span { color: var(--ink); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.main-image {
  height: 560px;
  background-size: cover;
  background-position: center;
  background-color: var(--stone-deep);
  background-image: linear-gradient(145deg, #cfc8bc, #6e655c);
  transition: opacity 0.35s;
}

.main-image.is-switching { opacity: 0.4; }

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: var(--stone);
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.25s, opacity 0.25s;
  opacity: 0.7;
}

.thumb:nth-child(1) { background-image: linear-gradient(145deg, #cfc8bc, #6e655c); }
.thumb:nth-child(2) { background-image: linear-gradient(145deg, #a89880, #3a322a); }
.thumb:nth-child(3) { background-image: linear-gradient(145deg, #e0d8cc, #8a8074); }

.thumb:hover,
.thumb.active {
  border-color: var(--bronze);
  opacity: 1;
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  margin: 10px 0 18px;
  line-height: 1.15;
}

.detail-desc {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.75;
  font-weight: 300;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
}

.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.spec-table td:first-child {
  font-weight: 500;
  width: 38%;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* —— About —— */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.2;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.about-image {
  height: 500px;
  background:
    linear-gradient(145deg, rgba(176, 141, 87, 0.2), transparent 50%),
    linear-gradient(160deg, #4a3f32, #1a1714);
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 164, 106, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 56px;
}

.stat-item { text-align: left; }

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--bronze-bright);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-item span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-card {
  padding: 28px 22px;
  background: var(--stone);
  border-top: 2px solid var(--bronze);
  transition: transform 0.4s var(--ease), background 0.4s;
}

.capability-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

/* —— Contact / Sales —— */
.sales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.sales-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.sales-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(26, 23, 20, 0.1);
}

.sales-avatar {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 164, 106, 0.45), transparent 55%),
    linear-gradient(145deg, #e8e0d4, #c4b29a);
}

.sales-avatar-b {
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 164, 106, 0.35), transparent 55%),
    linear-gradient(145deg, #d8d0c4, #8a8074);
  color: #fff;
}

.sales-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin: 4px 0 8px;
  line-height: 1.1;
}

.sales-role {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.sales-meta {
  list-style: none;
  margin-bottom: 28px;
}

.sales-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.sales-meta strong {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.sales-meta span {
  color: var(--ink);
  font-weight: 300;
  text-align: right;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-factory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.info-item strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
  font-weight: 500;
}

.info-item p { font-size: 0.95rem; font-weight: 300; color: var(--muted); }

/* —— Footer —— */
.site-footer {
  background: #100e0c;
  color: rgba(255, 255, 255, 0.55);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand .logo-mark {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze-bright);
}

.footer-brand .logo-text {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 300px;
  font-weight: 300;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 12px;
  font-weight: 300;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--bronze-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Toast —— */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 16px 28px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-left: 3px solid var(--bronze);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  max-width: 90vw;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* —— Empty state —— */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  display: none;
}

.empty-state.is-show { display: block; }

/* —— Services strip —— */
.services-strip {
  padding: 48px 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-item {
  display: block;
  padding: 4px 28px 4px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease);
}

.service-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 28px;
}

.service-item:first-child { padding-left: 0; }
.service-item:nth-child(2) { padding-left: 28px; }

.service-item:hover { transform: translateY(-3px); }

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bronze-bright);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff;
}

.service-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  margin-bottom: 14px;
  line-height: 1.65;
}

.service-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-bright);
}

.factory-cta { margin-top: 28px; }

/* —— Audience —— */
.audience { background: var(--paper); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-card {
  padding: 28px 24px;
  background: var(--white);
  border-top: 2px solid var(--bronze);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 8px 0 20px;
}

.audience-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.audience-card li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  border-bottom: 1px solid var(--line);
}

.audience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 1px;
  background: var(--bronze);
}

/* —— Process —— */
.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 4px;
}

.process-step {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--bronze-bright);
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  line-height: 1.7;
}

/* —— Trust label —— */
.trust-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* —— FAQ —— */
.faq-section { background: var(--stone); }

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--bronze);
  font-weight: 300;
}

.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--bronze-deep); }

.faq-item p {
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
}

/* —— CTA band —— */
.cta-band {
  padding: 64px 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(176, 141, 87, 0.14) 0%, transparent 50%),
    var(--ink);
  color: #fff;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  max-width: 480px;
}

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.cta-band .btn-primary {
  background: var(--bronze-bright);
  border-color: var(--bronze-bright);
  color: var(--ink);
}

.cta-band .btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band .btn-outline-dark:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* —— Float dock —— */
.float-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease), background 0.3s;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.float-btn:hover { transform: translateY(-3px); }

.float-whatsapp {
  background: #1f6b4a;
  border-color: #1f6b4a;
}

.float-whatsapp:hover,
.float-whatsapp.is-open { background: #27855c; }

.float-quote {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--ink);
}

.float-quote:hover { background: var(--bronze-bright); }

.float-panel {
  width: 240px;
  padding: 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.float-panel[hidden] { display: none; }

.float-panel-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.float-panel a {
  display: block;
  padding: 10px 8px;
  font-size: 0.88rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s;
}

.float-panel a:hover {
  color: var(--bronze-deep);
  background: rgba(176, 141, 87, 0.06);
}

.float-panel-more {
  border-bottom: none !important;
  margin-top: 4px;
  color: var(--bronze) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .category-grid,
  .audience-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .service-item,
  .service-item:first-child,
  .service-item:nth-child(2),
  .service-item:last-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
  }

  .category-card { min-height: 360px; }
}

@media (max-width: 900px) {
  .factory-grid,
  .detail-grid,
  .about-content,
  .sales-grid,
  .contact-factory,
  .faq-layout,
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide { min-height: 92vh; align-items: center; padding-bottom: 100px; }
  .hero-controls { right: 24px; bottom: 24px; }
  .factory-image,
  .about-image { height: 320px; }
  .main-image { height: 360px; }
  .sales-card { grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 22px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }

  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(16, 14, 12, 0.97);
    padding: 100px 36px 40px;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 1;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.1rem;
    letter-spacing: 0.16em;
  }

  .main-nav a.active,
  .main-nav a:hover { color: #fff !important; }

  .main-nav a::after { background: var(--bronze-bright); }

  .main-nav .nav-cta {
    display: inline-flex;
    width: fit-content;
    border-color: var(--bronze-bright) !important;
    color: var(--bronze-bright) !important;
    margin-top: 8px;
  }

  .nav-toggle { display: block; }
  .site-header.is-transparent .nav-toggle.is-open,
  .nav-toggle.is-open { color: #fff; }

  .header-actions { gap: 10px; }
  .logo-text { display: none; }
  .hero-slide { min-height: 88vh; padding-bottom: 88px; }
  .hero-brand { font-size: 3.2rem; }
  .hero-arrow { display: none; }
  .section { padding: 56px 0; }
  :root { --section-y: 56px; }
  .category-grid,
  .product-grid,
  .capability-grid,
  .stats-grid,
  .audience-grid,
  .services-grid,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .sales-card { grid-template-columns: 1fr; }
  .sales-avatar { width: 72px; height: 72px; }
  .sales-meta li { flex-direction: column; gap: 4px; }
  .sales-meta span { text-align: left; }

  .category-card { min-height: 300px; }

  .search-box input { width: 100%; }
  .filter-bar { align-items: stretch; }
  .trust-inner { gap: 20px 28px; }
  .trust-inner span:not(:last-child)::after { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .product-img { min-height: 200px; }
  .float-dock { right: 14px; bottom: 14px; }
  .float-btn { min-width: 48px; height: 48px; }
}
