/* =====================================================================
   Xinyuemei Furniture — Solid Wood B2B Landing
   Modern industrial UI: deep charcoal, warm wood, white space.
   Single stylesheet for the whole site.
   ===================================================================== */

:root {
  --c-ink: #0e0e10;
  --c-ink-2: #18181b;
  --c-ink-3: #232327;
  --c-line: #2a2a2f;
  --c-line-soft: #e6e2dd;
  --c-paper: #ffffff;
  --c-paper-2: #faf8f5;
  --c-paper-3: #f1ece4;
  --c-text: #14141a;
  --c-text-2: #4a4a55;
  --c-text-3: #6f6f7a;
  --c-text-on-dark: #f5f1ea;
  --c-text-on-dark-soft: #b6b1a6;
  --c-wood: #b07d4e;
  --c-wood-2: #8a5a35;
  --c-wood-soft: #d8b88c;
  --c-accent: #c9a25a;
  --c-accent-2: #a78240;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: min(1200px, 100% - 48px);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(14, 14, 16, 0.06), 0 1px 3px rgba(14, 14, 16, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 14, 16, 0.08), 0 2px 4px rgba(14, 14, 16, 0.05);
  --shadow-lg: 0 16px 40px rgba(14, 14, 16, 0.12), 0 6px 16px rgba(14, 14, 16, 0.06);
  --shadow-xl: 0 28px 64px rgba(14, 14, 16, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 520ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.xy-site {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip-link */
.skip-link {
  position: absolute; left: -1000px; top: -1000px;
  background: var(--c-ink); color: #fff; padding: 12px 16px;
  border-radius: 6px; z-index: 999; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

::selection { background: var(--c-wood); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-wood);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =================== Typography =================== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.18; margin: 0; color: var(--c-text); }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; color: var(--c-text-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-wood-2);
  margin: 0 0 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--c-wood); }
.eyebrow--light { color: var(--c-wood-soft); }
.eyebrow--light::before { background: var(--c-wood-soft); }

.section-title { color: var(--c-text); margin: 0 0 16px; }
.section-title--light { color: var(--c-text-on-dark); }
.section-lead { font-size: 1.05rem; color: var(--c-text-2); max-width: 64ch; margin: 0 0 24px; }
.section-lead--light { color: var(--c-text-on-dark-soft); }

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 64px; }
.section-header--center .eyebrow { justify-content: center; }
.section-header--center .section-lead { margin-inline: auto; }

/* =================== Buttons =================== */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

.btn-primary { --btn-bg: var(--c-ink); --btn-fg: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { --btn-bg: var(--c-wood-2); box-shadow: var(--shadow-md); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn-ghost-dark { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); }
.btn-ghost-dark:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; }

/* =================== Header / Nav =================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.site-header--over-hero {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.site-header--over-hero.is-stuck {
  background: rgba(14, 14, 16, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.brand-mark { width: 44px; height: 44px; display: inline-flex; }
.brand-mark-svg { width: 100%; height: 100%; color: var(--c-wood); }
.brand-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-header--over-hero .brand-mark-svg,
.site-header--over-hero.is-stuck .brand-mark-svg { color: var(--c-wood-soft); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--c-text-3); margin-top: 3px;
}
.site-header--over-hero .brand-tag { color: rgba(255, 255, 255, 0.72); }

.nav-main { display: flex; align-items: center; }
.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 6px;
}
.nav-menu__link a {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: inherit; text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  position: relative;
}
.nav-menu__link a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--c-wood); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-menu__link a:hover { color: var(--c-wood-2); }
.nav-menu__link a:hover::after { transform: scaleX(1); }
.site-header--over-hero .nav-menu__link a:hover { color: var(--c-wood-soft); }
.nav-menu__link--cta a { padding: 9px 18px; }
.nav-menu__link--cta a::after { display: none; }
/* Nav CTA: normal sticky header (404, thank-you, etc.) */
.site-header:not(.site-header--over-hero) .nav-menu__link--cta .btn-primary {
  --btn-bg: var(--c-wood);
  --btn-fg: #fff;
  box-shadow: none;
}
.site-header:not(.site-header--over-hero) .nav-menu__link--cta .btn-primary:hover {
  --btn-bg: var(--c-wood-2);
}
/* Nav CTA: transparent over hero */
.site-header--over-hero .nav-menu__link--cta .btn-primary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.site-header--over-hero .nav-menu__link--cta .btn-primary:hover {
  background: var(--c-wood); border-color: var(--c-wood); color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid currentColor;
  border-radius: var(--radius-sm); padding: 0; color: inherit;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle-bar { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; left: 0; right: 0; top: 76px;
    background: var(--c-ink); color: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - 76px); overflow: auto;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu__link a { padding: 14px 8px; font-size: 1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav-menu__link a::after { display: none; }
  .nav-menu__link--cta { margin-top: 12px; }
  .nav-menu__link--cta a {
    background: var(--c-wood); border-color: var(--c-wood);
    color: #fff; justify-content: center; padding: 14px;
    border-radius: var(--radius-sm); border-bottom: 0;
  }
}

/* =================== Section base =================== */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-dark { background: var(--c-ink); color: var(--c-text-on-dark); }
.section-dark p { color: var(--c-text-on-dark-soft); }

/* =================== Hero =================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff; overflow: hidden;
  background: var(--c-ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(0.85) contrast(1.04);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.62) 0%, rgba(14,14,16,0.55) 40%, rgba(14,14,16,0.85) 100%),
    radial-gradient(80% 60% at 20% 30%, rgba(176,125,78,0.18), transparent 60%);
}
.hero-body {
  position: relative;
  z-index: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  padding: 0;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-wood-soft); margin: 0 0 24px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--c-wood-soft); }
.hero-title {
  color: #fff; margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 60ch; margin: 0 0 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  position: relative; margin-top: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0;
}
.hero-stat {
  background: rgba(14, 14, 16, 0.55);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--c-wood-soft); letter-spacing: -0.01em;
}
.hero-stat-label {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 760px) {
  .hero-stats { display: none; }
}

/* =================== About =================== */
.section-about { background: var(--c-paper); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-copy p { color: var(--c-text-2); }
.about-kpi {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border-top: 1px solid var(--c-line-soft); padding-top: 28px;
}
.about-kpi li {
  display: flex; flex-direction: column; gap: 4px;
}
.about-kpi strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--c-wood-2);
}
.about-kpi span {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-text-3);
}
.about-figure {
  position: relative; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.about-figure:hover img { transform: scale(1.04); }
.about-figure--video .about-video {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; background: var(--c-ink);
}
.about-fig-caption {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(14, 14, 16, 0.86); color: #fff;
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.82rem; backdrop-filter: blur(6px);
}
.about-fig-tag {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--c-wood-soft);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-kpi { grid-template-columns: 1fr 1fr; }
}

/* =================== Why Choose Us =================== */
.why-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); overflow: hidden;
}
.why-card {
  padding: 36px 28px; background: var(--c-ink);
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color var(--t-med) var(--ease);
  position: relative;
}
.why-card::after {
  content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px;
  background: var(--c-wood);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.why-card:hover { background: var(--c-ink-2); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-wood-soft);
}
.why-icon svg { width: 100%; height: 100%; }
.why-card-title { color: var(--c-text-on-dark); font-size: 1.08rem; }
.why-card-text { color: var(--c-text-on-dark-soft); font-size: 0.92rem; line-height: 1.65; margin: 0; }
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .why-grid { grid-template-columns: 1fr; } }

/* =================== Product Categories =================== */
.section-products { background: var(--c-paper-2); }
.product-columns {
  display: flex;
  align-items: stretch;
  gap: 24px;
}
.product-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.product-column-list {
  list-style: none; margin: 0; padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-link {
  flex: 1;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--c-paper-3);
}
.product-card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 20px 20px 22px;
}
.product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: var(--c-text);
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  margin-bottom: 8px;
}
.product-card-desc {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.9rem; color: var(--c-text-2);
  line-height: 1.6;
  min-height: calc(1.6em * 3);
  margin-bottom: 12px;
}
.product-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--c-wood-2);
  transition: gap var(--t-fast) var(--ease);
}
.product-card:hover .product-card-cta { gap: 12px; }
@media (max-width: 1000px) {
  .product-columns { flex-wrap: wrap; }
  .product-column { flex: 1 1 calc(50% - 12px); }
  .product-column:last-child { flex: 1 1 100%; }
}
@media (max-width: 720px) {
  .product-columns { flex-direction: column; }
  .product-column,
  .product-column:last-child { flex: 1 1 auto; }
  .product-card { flex: initial; }
}

/* =================== Factory Strength =================== */
.section-factory { background: var(--c-paper); }
.factory-kpi-grid {
  list-style: none; margin: 0 0 64px; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--c-line-soft); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--c-paper-2);
}
.factory-kpi {
  padding: 28px 18px; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--c-line-soft);
  text-align: center;
}
.factory-kpi:last-child { border-right: 0; }
.factory-kpi-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--c-wood-2);
}
.factory-kpi-label {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-text-3);
}
@media (max-width: 900px) {
  .factory-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .factory-kpi:nth-child(3n) { border-right: 0; }
  .factory-kpi { border-bottom: 1px solid var(--c-line-soft); }
  .factory-kpi:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .factory-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-kpi { border-right: 1px solid var(--c-line-soft); border-bottom: 1px solid var(--c-line-soft); }
  .factory-kpi:nth-child(2n) { border-right: 0; }
  .factory-kpi:nth-last-child(-n+2) { border-bottom: 0; }
}

.factory-mosaic {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  grid-auto-rows: 180px;
}
.factory-tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--c-paper-3);
}
.factory-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.factory-tile:nth-child(6) { grid-column: span 2; }
.factory-tile-btn {
  display: block; width: 100%; height: 100%; padding: 0;
  border: 0; background: transparent;
  position: relative; cursor: zoom-in; overflow: hidden;
}
.factory-tile-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.factory-tile-btn:hover img { transform: scale(1.06); }
.factory-tile-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,16,0.4));
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.factory-tile-btn:hover::after { opacity: 1; }
@media (max-width: 800px) {
  .factory-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .factory-tile:nth-child(1), .factory-tile:nth-child(6) { grid-column: auto; grid-row: auto; }
}

/* =================== Production Process =================== */
.section-process { background: var(--c-paper-2); }
.process-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 32px;
  counter-reset: process;
}
.process-item {
  display: grid; grid-template-columns: 360px 1fr; gap: 40px;
  align-items: center;
}
.process-item:nth-child(even) { grid-template-columns: 1fr 360px; }
.process-item:nth-child(even) .process-item-media { order: 2; }
.process-item-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--c-paper-3);
}
.process-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.process-item:hover .process-item-media img { transform: scale(1.04); }
.process-item-num {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: #fff;
  background: rgba(14, 14, 16, 0.78);
  padding: 6px 14px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.process-callout {
  position: absolute; right: 16px; bottom: 16px;
  max-width: min(240px, 72%);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--c-wood);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(14, 14, 16, 0.22);
  display: flex; flex-direction: column; gap: 4px;
}
.process-callout-title {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.35;
  color: var(--c-text);
}
.process-callout-text {
  font-size: 0.82rem; line-height: 1.45;
  color: var(--c-text-2);
}
.process-item-body { padding: 8px 0; }
.process-item-title { color: var(--c-text); margin: 0 0 12px; }
.process-item-text { color: var(--c-text-2); margin: 0; max-width: 56ch; line-height: 1.7; }
@media (max-width: 820px) {
  .process-item, .process-item:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .process-item:nth-child(even) .process-item-media { order: 0; }
}

/* =================== Certificates =================== */
.section-certificates { background: var(--c-paper-2); position: relative; overflow: hidden; }
.section-certificates:has(.cert-capacity-band) { padding-bottom: 0; }
.section-certificates:has(.cert-capacity-band) + #why { padding-top: 0; }
.section-certificates::before {
  content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(circle at 60% 30%, rgba(176,125,78,0.10), transparent 60%);
  pointer-events: none;
}
.cert-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
  position: relative;
}
.cert-compliance-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.cert-compliance-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 16px; border-left: 3px solid var(--c-wood);
}
.cert-compliance-code {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.06em;
  color: var(--c-text);
}
.cert-compliance-text {
  color: var(--c-text-2);
  font-size: 0.92rem; line-height: 1.55;
}
.cert-tagline {
  margin: 28px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0.08em;
  color: var(--c-wood);
}
.cert-capacity-band {
  margin-top: 64px;
  background: var(--c-ink);
  color: var(--c-text-on-dark);
  padding: 56px 0;
}
.cert-capacity-title {
  margin: 0 0 36px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: #fff;
  text-align: center; letter-spacing: 0.02em;
}
.cert-capacity-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.cert-capacity-kpi {
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.cert-capacity-kpi:last-child { border-right: 0; }
.cert-capacity-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--c-wood-soft);
  text-shadow: 0 1px 12px rgba(216, 184, 140, 0.35);
}
.cert-capacity-label {
  font-size: 0.78rem; line-height: 1.5;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 900px) {
  .cert-capacity-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-capacity-kpi:nth-child(2n) { border-right: 0; }
  .cert-capacity-kpi { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .cert-capacity-kpi:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .cert-capacity-grid { grid-template-columns: 1fr; }
  .cert-capacity-kpi { border-right: 0; }
  .cert-capacity-kpi:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
}
.cert-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.cert-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.cert-card:hover { transform: translateY(-3px); border-color: var(--c-wood-soft); box-shadow: var(--shadow-md); }
.cert-card-btn {
  width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in;
}
.cert-card-btn img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  display: block;
}
@media (max-width: 900px) {
  .cert-layout { grid-template-columns: 1fr; gap: 40px; }
  .cert-capacity-band { margin-top: 48px; padding: 44px 0; }
}
@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
}

/* =================== Reviews =================== */
.section-reviews { background: var(--c-paper); }
.reviews-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-wood-soft); }
.review-stars { display: inline-flex; gap: 2px; color: var(--c-wood); }
.review-stars svg { width: 18px; height: 18px; }

/* Evaluation badge strip (image-form ratings) */
.reviews-badges {
  list-style: none; margin: 0 0 48px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: center;
}
.reviews-badge {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.reviews-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-wood-soft); }
.reviews-badge-btn {
  display: block; width: 100%; padding: 0;
  border: 0; background: none; cursor: zoom-in;
}
.reviews-badge-btn img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
}
@media (max-width: 1000px) { .reviews-badges { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px)  { .reviews-badges { grid-template-columns: 1fr; } }
.review-quote {
  margin: 0; font-size: 1rem; line-height: 1.7;
  color: var(--c-text); font-family: var(--font-display); font-weight: 400;
  font-style: normal;
}
.review-meta {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--c-line-soft);
  display: flex; flex-direction: column; gap: 2px;
}
.review-name { font-weight: 600; color: var(--c-text); font-size: 0.95rem; }
.review-role { font-size: 0.82rem; color: var(--c-text-3); letter-spacing: 0.04em; }
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .reviews-grid { grid-template-columns: 1fr; } }

/* =================== Service Process Timeline =================== */
.section-service { background: var(--c-paper-2); }
.service-timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
  counter-reset: service;
}
.service-timeline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 22px;
  height: 1px; background: var(--c-line-soft);
}
.service-step {
  padding: 0 18px 28px; position: relative;
  border-left: 1px dashed var(--c-line-soft);
}
.service-step:first-child { border-left: 0; padding-left: 0; }
.service-step-dot {
  position: relative; z-index: 1; display: block;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-wood); border: 4px solid var(--c-paper-2);
  margin: 14px 0 24px;
  box-shadow: 0 0 0 1px var(--c-wood);
}
.service-step-title {
  font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.02em;
  color: var(--c-text); margin: 0 0 8px;
  text-transform: uppercase;
}
.service-step-text {
  font-size: 0.9rem; color: var(--c-text-2); line-height: 1.65; margin: 0;
}
@media (max-width: 1000px) {
  .service-timeline { grid-template-columns: repeat(2, 1fr); }
  .service-timeline::before { display: none; }
  .service-step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .service-step { padding-bottom: 24px; padding-top: 8px; border-top: 1px solid var(--c-line-soft); }
  .service-step:nth-child(-n+2) { border-top: 0; padding-top: 0; }
}
@media (max-width: 560px) {
  .service-timeline { grid-template-columns: 1fr; }
  .service-step { border-left: 0 !important; padding-left: 0 !important; }
}

/* =================== Shipping =================== */
.section-shipping { background: var(--c-paper); }
.shipping-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--c-line-soft);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
}
.shipping-card {
  background: var(--c-paper);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color var(--t-med) var(--ease);
  position: relative;
}
.shipping-card:hover { background: var(--c-paper-2); }
.shipping-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-wood-2);
}
.shipping-icon svg { width: 100%; height: 100%; }
.shipping-card-title { color: var(--c-text); font-size: 1.05rem; }
.shipping-card-text { color: var(--c-text-2); font-size: 0.92rem; line-height: 1.65; margin: 0; }
@media (max-width: 880px) { .shipping-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .shipping-grid { grid-template-columns: 1fr; } }

/* =================== FAQ =================== */
.section-faq { background: var(--c-paper-2); }
.faq-wrap { max-width: 880px; margin-inline: auto; }
.faq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line-soft); }
.faq-item { border-bottom: 1px solid var(--c-line-soft); }
.faq-q {
  width: 100%; background: transparent; border: 0;
  text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; color: var(--c-text);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.4; cursor: pointer;
}
.faq-q:hover { color: var(--c-wood-2); }
.faq-q-icon {
  flex: 0 0 auto; width: 22px; height: 22px;
  position: relative;
  transition: transform var(--t-med) var(--ease);
}
.faq-q-icon::before, .faq-q-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: currentColor; border-radius: 1px;
  transform: translate(-50%, -50%);
}
.faq-q-icon::before { width: 14px; height: 1.6px; }
.faq-q-icon::after { width: 1.6px; height: 14px; transition: transform var(--t-med) var(--ease); }
.faq-item.is-open .faq-q-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 0 22px;
  color: var(--c-text-2);
  font-size: 0.96rem; line-height: 1.7; max-width: 70ch;
}
.faq-a p { margin: 0; }

/* =================== Contact =================== */
.section-contact {
  background: var(--c-ink);
  background-image:
    linear-gradient(180deg, rgba(14,14,16,1), rgba(14,14,16,0.95)),
    radial-gradient(60% 50% at 80% 20%, rgba(176,125,78,0.18), transparent 70%);
  position: relative;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.contact-info {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px;
}
.contact-info li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--c-text-on-dark-soft);
}
.contact-info-ico {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(176, 125, 78, 0.18);
  color: var(--c-wood-soft);
  border-radius: var(--radius-sm);
}
.contact-info-ico svg { width: 18px; height: 18px; }
.contact-info-label {
  display: block; font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-wood-soft); margin-bottom: 4px;
}
.contact-info-val {
  display: inline-block; color: var(--c-text-on-dark);
  font-size: 0.95rem; text-decoration: none; word-break: break-word;
  transition: color var(--t-fast) var(--ease);
}
a.contact-info-val:hover { color: var(--c-wood-soft); }
.contact-map {
  margin-top: 32px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9; background: var(--c-ink-2);
}
.contact-map-frame { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-wood-soft);
  display: flex; align-items: center; gap: 6px;
}
.form-label em { color: #ff8a8a; font-style: normal; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; padding: 13px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #fff; font: inherit;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--c-wood-soft);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-consent { font-size: 0.78rem; color: var(--c-text-on-dark-soft); margin: 0; line-height: 1.5; }
.form-submit { align-self: flex-start; background: var(--c-wood); color: #fff; padding: 14px 26px; }
.form-submit:hover { background: var(--c-wood-2); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; line-height: 1.5;
  border: 1px solid currentColor;
}
.form-alert--ok { color: #6dd49e; background: rgba(109, 212, 158, 0.08); }
.form-alert--err { color: #ff8a8a; background: rgba(255, 138, 138, 0.08); }

/* Cloudflare Turnstile widget container */
.form-turnstile {
  display: flex; justify-content: flex-start;
  margin: 4px 0 2px; min-height: 65px;
}
.form-turnstile .cf-turnstile { width: 100%; max-width: 320px; }
.contact-form--modal .form-turnstile { justify-content: center; }
.contact-form--modal .form-turnstile .cf-turnstile { max-width: 100%; }

@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
}

/* =================== Prefooter CTA =================== */
.prefooter-cta {
  background: var(--c-paper-3);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 36px 0;
}
.prefooter-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.prefooter-cta-label {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--c-text);
}
.prefooter-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prefooter-cta .btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); }
.prefooter-cta .btn-ghost-light:hover { --btn-bg: var(--c-ink); --btn-fg: #fff; }

/* =================== Footer =================== */
.site-footer { background: #07070a; color: var(--c-text-on-dark-soft); padding-top: 64px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col-title {
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-wood-soft); margin: 0 0 16px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list li { font-size: 0.9rem; color: var(--c-text-on-dark-soft); display: flex; flex-direction: column; gap: 2px; }
.footer-list a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer-list a:hover { color: var(--c-wood-soft); }
.footer-list-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.brand--footer .brand-name { color: var(--c-text-on-dark); }
.brand--footer .brand-tag { color: var(--c-wood-soft); }
.brand--footer .brand-mark-svg { color: var(--c-wood-soft); }
.footer-tagline {
  margin: 18px 0 0; font-size: 0.88rem; color: var(--c-text-on-dark-soft);
  line-height: 1.65; max-width: 30ch;
}

.footer-list--contact li { gap: 0; }
.footer-contact-link {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--c-text-on-dark);
  transition: color var(--t-fast) var(--ease);
  word-break: break-word;
}
.footer-contact-link--static { cursor: default; color: inherit; }
.footer-contact-link:hover { color: var(--c-wood-soft); }
.footer-contact-ico {
  flex: 0 0 auto; width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-wood-soft);
}
.footer-contact-ico svg { width: 100%; height: 100%; }
.footer-contact-val { font-size: 0.92rem; }

.footer-bar { padding: 22px 0; }
.footer-bar-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}
.copyright { margin: 0; font-size: 0.82rem; color: var(--c-text-on-dark-soft); }
.copyright-meta { margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =================== Floating contact dock =================== */
.floating-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.floating-dock-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.floating-dock-item {
  position: relative;
  width: 52px; height: 52px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 50%;
  line-height: 1; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.floating-dock-item:hover { transform: translateY(-2px); }
.floating-dock-ico { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.floating-dock-ico svg { width: 100%; height: 100%; }
/* The WhatsApp glyph is a dense filled icon — shrink slightly so all icons read the same size */
.floating-dock-item--wa .floating-dock-ico svg { transform: scale(0.86); }

/* Label appears as a tooltip to the left on hover/focus */
.floating-dock-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--c-ink); color: #fff;
  padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.floating-dock-label::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--c-ink);
}
.floating-dock-item:hover .floating-dock-label,
.floating-dock-item:focus-visible .floating-dock-label {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
.floating-dock-item--email { background: #0ea5a4; color: #fff; }
.floating-dock-item--email:hover { background: #0c8b8a; box-shadow: 0 16px 36px rgba(14, 165, 164, 0.45); }
.floating-dock-item--wa { background: #25d366; color: #fff; }
.floating-dock-item--wa:hover { box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5); }
.floating-dock-item--form { background: #2f6fed; color: #fff; font-family: inherit; }
.floating-dock-item--form:hover { background: #2357c9; box-shadow: 0 16px 36px rgba(47, 111, 237, 0.45); }

.floating-dock-toggle {
  width: 56px; height: 56px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-ink); color: #fff;
  box-shadow: 0 12px 28px rgba(14, 14, 16, 0.4);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.floating-dock-toggle:hover { transform: translateY(-2px); }
.floating-dock-toggle-ico { width: 22px; height: 22px; display: inline-flex; }
.floating-dock-toggle-ico svg { width: 100%; height: 100%; }
.floating-dock-toggle-ico--close { display: none; }

/* Collapsed state: hide actions, show "open chat" icon */
.floating-dock.is-collapsed .floating-dock-actions {
  opacity: 0; transform: translateY(8px) scale(0.96);
  pointer-events: none; height: 0; overflow: hidden; margin: 0;
}
.floating-dock:not(.is-collapsed) .floating-dock-toggle { background: var(--c-wood); }
.floating-dock:not(.is-collapsed) .floating-dock-toggle-ico--open { display: none; }
.floating-dock:not(.is-collapsed) .floating-dock-toggle-ico--close { display: inline-flex; }

@media (max-width: 540px) {
  .floating-dock { right: 16px; bottom: 16px; }
  .floating-dock-toggle { width: 52px; height: 52px; }
}

/* =================== Lightbox =================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 7, 10, 0.94);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lightbox-panel {
  position: relative; max-width: min(94vw, 1100px); max-height: 92vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img {
  max-width: 100%; max-height: 92vh; height: auto; width: auto;
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  background: var(--c-paper);
}
.lightbox-close {
  position: absolute; top: -52px; right: -8px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.4rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* =================== Inquiry modal =================== */
html.is-modal-open, html.is-modal-open body { overflow: hidden; }
.inquiry-modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.inquiry-modal[hidden] { display: none; }
.inquiry-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.inquiry-modal.is-open .inquiry-modal-backdrop { opacity: 1; }
.inquiry-modal-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, #1a1a1f 0%, #121215 100%);
  color: var(--c-text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.98); opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.inquiry-modal.is-open .inquiry-modal-panel { transform: translateY(0) scale(1); opacity: 1; }
.inquiry-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--c-text-on-dark);
  font-size: 1.25rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.inquiry-modal-close:hover { background: rgba(176, 125, 78, 0.2); border-color: var(--c-wood-soft); }

.inquiry-modal-head { margin-bottom: 22px; }
.inquiry-modal-head .eyebrow { margin-bottom: 10px; }
.inquiry-modal-title {
  margin: 0 0 8px; color: var(--c-text-on-dark);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
}
.inquiry-modal-lead {
  margin: 0; color: var(--c-text-on-dark-soft);
  font-size: 0.92rem; line-height: 1.55;
}
.contact-form--modal { gap: 14px; }
.contact-form--modal .form-row { gap: 12px; }
.contact-form--modal input[type="text"],
.contact-form--modal textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.contact-form--modal input::placeholder,
.contact-form--modal textarea::placeholder { color: rgba(255, 255, 255, 0.42); }
.contact-form--modal input:focus,
.contact-form--modal textarea:focus { background: rgba(255, 255, 255, 0.10); border-color: var(--c-wood-soft); }
.inquiry-modal-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-end; margin-top: 4px;
}
.inquiry-modal-actions .form-submit { background: var(--c-wood); color: #fff; }
.inquiry-modal-actions .form-submit:hover { background: var(--c-wood-2); }
.inquiry-modal-actions .btn-ghost-light {
  --btn-bd: rgba(255, 255, 255, 0.32);
  --btn-fg: var(--c-text-on-dark-soft);
}
.inquiry-modal-actions .btn-ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.5);
}

@media (max-width: 560px) {
  .inquiry-modal { padding: 0; align-items: stretch; }
  .inquiry-modal-panel {
    max-width: 100%; max-height: 100vh; min-height: 100vh;
    border-radius: 0; border-left: 0; border-right: 0;
    padding: 60px 22px 28px;
  }
  .inquiry-modal-actions { justify-content: stretch; flex-direction: column-reverse; }
  .inquiry-modal-actions .btn { width: 100%; }
  .contact-form--modal .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-modal-backdrop, .inquiry-modal-panel { transition: none; }
}

/* =================== Reveal animation =================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =================== Thank-you =================== */
.thank-you-body { background: var(--c-paper); }
.thank-you-main { padding: 140px 0 120px; }
.thank-you-card {
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.thank-you-icon { color: var(--c-wood); margin-bottom: 20px; }
.thank-you-title { margin: 0 0 16px; }
.thank-you-lead { font-size: 1.05rem; color: var(--c-text-2); max-width: 56ch; margin: 0 auto 28px; }
.thank-you-cta { background: var(--c-wood); color: #fff; }
.thank-you-cta:hover { background: var(--c-wood-2); }

/* =================== 404 =================== */
.http-404-body { background: var(--c-paper); }
.http-404-main { padding: 140px 0 120px; }
.http-404-card {
  background: #fff; border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg); padding: 56px 40px;
  text-align: center; box-shadow: var(--shadow-md);
}
.http-404-code {
  margin: 0 0 8px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem); color: var(--c-wood); line-height: 1;
}
.http-404-title { margin: 0 0 12px; }
.http-404-meta { color: var(--c-text-2); margin: 0 0 24px; }
.http-404-back { background: var(--c-ink); color: #fff; }

/* =================== Print =================== */
@media print {
  .site-header, .site-footer, .prefooter-cta, .floating-dock, .nav-toggle, .hero-cta, .contact-form-wrap { display: none !important; }
  .hero { padding: 24px 0; color: var(--c-text); background: #fff; }
  .hero-bg, .hero-scrim { display: none; }
  .section { padding: 24px 0; }
  body { background: #fff; color: #000; }
}
