:root {
  --bs-primary: #5b6f57;
  --bs-secondary: #7a7168;
  --bs-success: #5b6f57;
  --bs-info: #6d8790;
  --bs-warning: #b98955;
  --bs-danger: #a4483c;
  --bs-light: #f7f3ec;
  --bs-dark: #241f1a;
  --bs-body-font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-color: #2b2620;
  --bs-body-bg: #f7f3ec;
  --bs-link-color: #425540;
  --bs-link-hover-color: #2f3d2e;
  --furniture-bg: #f7f3ec;
  --furniture-bg-soft: #ebe4d8;
  --furniture-surface: #fffdf8;
  --furniture-surface-muted: #f0e8dc;
  --furniture-text: #2b2620;
  --furniture-text-muted: #786d63;
  --furniture-border: rgba(66, 54, 43, 0.14);
  --furniture-wood: #8a5f3d;
  --furniture-sage: #5b6f57;
  --furniture-charcoal: #201c18;
  --furniture-shadow: 0 22px 54px rgba(54, 43, 31, 0.1);
  --furniture-shadow-soft: 0 12px 30px rgba(54, 43, 31, 0.07);
  --furniture-shadow-float: 0 20px 60px color-mix(in srgb, var(--furniture-charcoal) 40%, transparent);
  --furniture-radius-xs: 4px;
  --furniture-radius-md: 12px;
  --furniture-radius-lg: 20px;
  --furniture-radius-xl: 24px;
  --furniture-radius-full: 999px;
  --furniture-radius: 8px;
}

[data-bs-theme="dark"] {
  --bs-body-color: #eee6da;
  --bs-body-bg: #181b1a;
  --furniture-bg: #181b1a;
  --furniture-bg-soft: #20241f;
  --furniture-surface: #20231f;
  --furniture-surface-muted: #282d27;
  --furniture-text: #eee6da;
  --furniture-text-muted: #b9ab9a;
  --furniture-border: rgba(224, 206, 180, 0.16);
  --furniture-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  --furniture-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body.furniture-theme {
  min-width: 320px;
  font-family: var(--bs-body-font-family);
  line-height: 1.62;
  color: var(--furniture-text);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 243, 236, 0.95) 42%, rgba(235, 228, 216, 0.64)),
    var(--furniture-bg);
}

[data-bs-theme="dark"] body.furniture-theme,
body.furniture-theme.dark-mode {
  background:
    linear-gradient(180deg, rgba(24, 27, 26, 0.96), rgba(28, 31, 29, 0.98)),
    var(--furniture-bg);
}

.site-frame {
  width: min(100%, 1220px);
}

.site-main-shell {
  padding-top: clamp(14px, 2vw, 24px);
}

.furniture-theme img {
  max-width: 100%;
}

.furniture-theme a {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.furniture-theme .btn {
  border-radius: var(--furniture-radius);
  font-weight: 800;
}

.furniture-outline-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--furniture-border);
  background: transparent;
  color: var(--furniture-text);
  font-size: 0.82rem;
}

.furniture-outline-button:hover,
.furniture-outline-button:focus-visible {
  border-color: rgba(91, 111, 87, 0.42);
  background: rgba(91, 111, 87, 0.08);
  color: var(--furniture-text);
}

.furniture-home {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.furniture-hero-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.furniture-hero-stage:empty {
  display: none;
}

.furniture-hero-support {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: clamp(18px, 2.5vw, 30px);
  align-items: start;
}

.furniture-hero-support:empty {
  display: none;
}

.furniture-business-stack,
.furniture-content-stack {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.furniture-section {
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  scroll-margin-top: 96px;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: rgba(255, 253, 248, 0.74);
  box-shadow: var(--furniture-shadow-soft);
}

[data-bs-theme="dark"] .furniture-section,
body.dark-mode .furniture-section {
  background: rgba(32, 35, 31, 0.78);
}

.furniture-section-primary,
.furniture-service-section {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(240, 232, 220, 0.88)),
    var(--furniture-surface);
}

[data-bs-theme="dark"] .furniture-section-primary,
[data-bs-theme="dark"] .furniture-service-section,
body.dark-mode .furniture-section-primary,
body.dark-mode .furniture-service-section {
  background:
    linear-gradient(135deg, rgba(32, 35, 31, 0.96), rgba(40, 45, 39, 0.88)),
    var(--furniture-surface);
}

.furniture-product-section {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(239, 232, 220, 0.74) 58%, rgba(230, 222, 208, 0.6)),
    var(--furniture-surface);
}

.furniture-product-section::before {
  display: none;
}

[data-bs-theme="dark"] .furniture-product-section,
body.dark-mode .furniture-product-section {
  background:
    linear-gradient(135deg, rgba(32, 35, 31, 0.98), rgba(40, 45, 39, 0.76) 58%, rgba(30, 34, 30, 0.7)),
    var(--furniture-surface);
}

.furniture-product-section .furniture-section-head,
.furniture-content-section .furniture-section-head {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  gap: 12px;
  margin-bottom: clamp(18px, 2.4vw, 24px);
  padding-bottom: 0;
  border-bottom: 0;
}

.furniture-product-section .furniture-section-head h2,
.furniture-content-section .furniture-section-head h2 {
  font-family: var(--bs-body-font-family);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.12;
}

.furniture-product-section .furniture-outline-button,
.furniture-content-section .furniture-outline-button {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 0.78rem;
}

.furniture-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(18px, 3vw, 28px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--furniture-border);
}

.furniture-section-head h2 {
  margin: 0;
  max-width: 720px;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  line-height: 1.02;
  color: var(--furniture-text);
}

.furniture-video-section {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(240, 232, 220, 0.58)),
    var(--furniture-surface);
}

[data-bs-theme="dark"] .furniture-video-section,
body.dark-mode .furniture-video-section {
  background:
    linear-gradient(135deg, rgba(32, 35, 31, 0.94), rgba(40, 45, 39, 0.62)),
    var(--furniture-surface);
}

.furniture-video-section .furniture-section-head {
  align-items: center;
  margin-bottom: clamp(16px, 2.2vw, 22px);
  padding-bottom: 12px;
}

.furniture-video-section .furniture-section-head h2 {
  font-family: var(--bs-body-font-family);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 800;
  line-height: 1.12;
}

.furniture-card-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}

.furniture-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.furniture-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.furniture-product-showcase {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.furniture-product-card,
.furniture-project-card,
.furniture-news-card,
.furniture-video-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
}

.furniture-product-home-card {
  position: relative;
  border-color: rgba(66, 54, 43, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.9)),
    var(--furniture-surface);
  box-shadow: 0 20px 44px rgba(54, 43, 31, 0.1);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.furniture-product-home-card:hover,
.furniture-product-home-card:focus-within {
  border-color: rgba(91, 111, 87, 0.36);
  box-shadow: 0 28px 58px rgba(54, 43, 31, 0.14);
  transform: translateY(-4px);
}

[data-bs-theme="dark"] .furniture-product-home-card,
body.dark-mode .furniture-product-home-card {
  border-color: rgba(224, 206, 180, 0.16);
  background:
    linear-gradient(180deg, rgba(35, 39, 34, 0.98), rgba(32, 35, 31, 0.9)),
    var(--furniture-surface);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.furniture-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(91, 111, 87, 0.12), rgba(138, 95, 61, 0.16)),
    var(--furniture-surface-muted);
}

.furniture-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.furniture-card-media:hover img,
.furniture-card-media:focus-visible img {
  transform: scale(1.04);
}

.furniture-product-home-media {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--furniture-border);
}

.furniture-product-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 28, 24, 0) 58%, rgba(32, 28, 24, 0.26)),
    linear-gradient(90deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0));
  pointer-events: none;
}

.furniture-product-home-media img {
  filter: saturate(0.96) contrast(1.02);
}

.furniture-product-media-mark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.62);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--furniture-charcoal);
  box-shadow: 0 12px 24px rgba(32, 28, 24, 0.16);
  opacity: 0;
  transform: translate(4px, 4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.furniture-product-home-card:hover .furniture-product-media-mark,
.furniture-product-home-card:focus-within .furniture-product-media-mark {
  opacity: 1;
  transform: translate(0, 0);
}

.furniture-product-home-body {
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
}

.furniture-product-home-body h3 {
  font-family: var(--bs-body-font-family);
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.16;
}

.furniture-product-home-body p {
  max-width: 58ch;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.furniture-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--furniture-sage);
  font-size: 2rem;
}

.furniture-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.furniture-card-body time {
  color: var(--furniture-wood);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.furniture-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.24;
  font-weight: 800;
}

.furniture-card-body h3 a {
  color: var(--furniture-text);
  text-decoration: none;
}

.furniture-card-body h3 a:hover,
.furniture-card-body h3 a:focus-visible {
  color: var(--furniture-sage);
}

.furniture-card-body p {
  margin: 0;
  color: var(--furniture-text-muted);
  font-size: 0.94rem;
}

.furniture-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(16px, 2.2vw, 24px);
}

.furniture-service-feature,
.furniture-service-row {
  overflow: hidden;
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
}

.furniture-service-feature {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.furniture-service-feature-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--furniture-surface-muted);
}

.furniture-service-feature-media img,
.furniture-service-row-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.furniture-service-feature-body {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
}

.furniture-service-feature-body h3 {
  margin: 0;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.furniture-service-feature-body h3 a,
.furniture-service-row h3 a {
  color: var(--furniture-text);
  text-decoration: none;
}

.furniture-service-feature-body p,
.furniture-service-row p {
  margin: 0;
  color: var(--furniture-text-muted);
}

.furniture-service-list {
  display: grid;
  gap: 14px;
}

.furniture-service-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  align-items: center;
}

.furniture-service-row-media {
  width: 128px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: calc(var(--furniture-radius) - 2px);
  background: var(--furniture-surface-muted);
}

.furniture-service-row h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.22;
}

.furniture-client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.furniture-client-card {
  min-height: 140px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--furniture-text);
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  box-shadow: var(--furniture-shadow-soft);
}

.furniture-client-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--furniture-border);
}

.furniture-client-card span {
  font-weight: 800;
  line-height: 1.24;
}

.furniture-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.furniture-gallery-tile {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface-muted);
}

.furniture-gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.furniture-video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(32, 28, 24, 0.48));
}

.furniture-video-card .furniture-card-media {
  aspect-ratio: 16 / 10;
}

.furniture-video-card .furniture-card-body {
  padding: 18px 20px 20px;
}

.furniture-video-card .furniture-card-body h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.furniture-video-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--furniture-charcoal);
  font-size: 1.35rem;
}

.furniture-news-row-meta {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--furniture-text-muted);
}

.furniture-news-category-sections {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.furniture-publication-comments,
.furniture-publication-banner,
.furniture-popup-modal .modal-content {
  border: 1px solid var(--furniture-border);
  border-radius: var(--furniture-radius);
  background: var(--furniture-surface);
  color: var(--furniture-text);
}

.furniture-publication-comments {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--furniture-shadow-soft);
}

.furniture-publication-comments h2 {
  margin: 0;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.furniture-comment-form {
  display: grid;
  gap: 12px;
}

.furniture-comment-note {
  margin: 0;
  color: var(--furniture-text-muted);
  font-size: 0.94rem;
}

.furniture-publication-banner {
  padding: 18px;
  overflow: hidden;
  box-shadow: var(--furniture-shadow-soft);
}

.furniture-popup-modal {
  --bs-modal-bg: var(--furniture-surface);
  --bs-modal-color: var(--furniture-text);
}

.furniture-popup-modal .modal-header {
  border-bottom-color: var(--furniture-border);
}

.furniture-popup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--furniture-radius) - 2px);
}

.furniture-popup-frame {
  overflow: hidden;
  border-radius: calc(var(--furniture-radius) - 2px);
  background: var(--furniture-charcoal);
}

.furniture-popup-content {
  margin-top: 16px;
}

.cookie-consent-banner {
  position: fixed !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 380px !important;
  max-width: calc(100vw - 48px) !important;
  padding: 24px !important;
  background: color-mix(in srgb, var(--furniture-charcoal) 95%, transparent) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  color: var(--furniture-surface) !important;
  border: 1px solid color-mix(in srgb, var(--furniture-surface) 10%, transparent) !important;
  border-radius: var(--furniture-radius-xl) !important;
  box-shadow: var(--furniture-shadow-float) !important;
  z-index: 2000 !important;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner[style*="display: none"] {
    transform: translateY(100px);
    opacity: 0;
}

.cookie-consent-banner .container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.cookie-consent-banner .cookie-consent-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: inherit;
}

.cookie-consent-banner .cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-banner .btn-primary {
  background-color: var(--furniture-wood);
  border-color: var(--furniture-wood);
  color: var(--furniture-charcoal);
}

.cookie-consent-banner .btn-outline-light {
  border-color: color-mix(in srgb, var(--furniture-surface) 74%, transparent);
  color: var(--furniture-surface);
}

@media (max-width: 991.98px) {
  .furniture-hero-support,
  .furniture-service-layout {
    grid-template-columns: 1fr;
  }

  .furniture-card-grid-three,
  .furniture-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .furniture-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .furniture-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-frame {
    width: 100%;
  }

  .furniture-section {
    padding: 20px 16px;
    scroll-margin-top: 84px;
  }

  .furniture-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .furniture-outline-button {
    width: 100%;
  }

  .furniture-card-grid-three,
  .furniture-card-grid-two {
    grid-template-columns: 1fr;
  }

  .furniture-product-section {
    padding: 20px 16px;
  }

  .furniture-product-section .furniture-section-head,
  .furniture-content-section .furniture-section-head {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .furniture-product-section .furniture-section-head h2,
  .furniture-content-section .furniture-section-head h2 {
    font-size: 1.55rem;
  }

  .furniture-product-section .furniture-outline-button,
  .furniture-content-section .furniture-outline-button {
    width: auto;
  }

  .furniture-product-media-mark {
    width: 34px;
    height: 34px;
    opacity: 1;
    transform: none;
  }

  .furniture-service-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .furniture-service-row-media {
    width: 96px;
  }

  .cookie-consent-banner {
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
  }

  .cookie-consent-banner .container {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-consent-banner .cookie-consent-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575.98px) {
  .furniture-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
