@import url("https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Figtree:wght@400;500;600;700&display=swap");

/* ═══════════════════════════════════════════
   В Беседки.Ру — estate glass, тёмный бар + фото
═══════════════════════════════════════════ */
:root {
  --bg: #f3ece1;
  --bg-soft: #ebe3d4;
  --surface: #fffaf3;
  --chip: #e7ddcd;
  --ink: #1a1410;
  --fg: #1a1410;
  --muted: #6a5c4e;
  --line: #d9ccb8;
  --border: #d9ccb8;
  --primary: #1a1410;
  --accent: #b45a28;
  --accent-deep: #8d4118;
  --accent-soft: rgba(180, 90, 40, 0.12);
  --secondary: #2a463c;
  --card: #fffaf3;
  --header-bg: rgba(22, 18, 16, 0.94);
  --header-text: #f6efe4;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 18px 40px rgba(26, 20, 16, 0.12);
  --shadow-lift: 0 22px 48px rgba(26, 20, 16, 0.16);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space-section: clamp(40px, 7vw, 88px);
  --space-section-sm: clamp(24px, 4vw, 40px);
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(180, 90, 40, 0.08), transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.hero-visual img,
.hero-bg-photo,
.hero-cutout,
.product-card img,
.product-card-media img,
.product-gallery-main img,
[data-gallery-main],
.article-cover img,
.about-photo img,
.blog-card img,
.hero-slide img,
.projects-slider-track img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.container, .c-container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.section, .c-section {
  padding: var(--space-section) 0;
  position: relative;
  background: transparent;
}

/* hide legacy plant / ornament assets if any remain */
.plant-decor,
.ui-decor,
.ui-divider,
.plant-ivy-left,
.plant-leaves-top,
.plant-herbs-right,
.plant-palm-right,
.plant-leaf-accent-left,
.plant-leaf-accent-right,
.plant-branch-left {
  display: none !important;
}

/* ─── Buttons: soft rectangle, not pills ─── */
.btn, .c-button {
  --btn-bg: var(--ink);
  --btn-fg: #fbfaf8;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover, .c-button:hover {
  transform: translateY(-1px);
  color: var(--btn-fg);
}

.btn:focus-visible, .c-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-accent, .btn-primary, .c-button--accent, .c-button--primary {
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  --btn-bd: var(--accent);
}

.btn-accent:hover, .btn-primary:hover, .c-button--accent:hover {
  --btn-bg: var(--accent-deep);
  --btn-bd: var(--accent-deep);
  --btn-fg: #ffffff;
}

.btn-outline, .btn-secondary, .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(28, 27, 25, 0.22);
}

.btn-outline:hover, .btn-secondary:hover, .c-button--outline:hover {
  --btn-bg: rgba(28, 27, 25, 0.04);
  --btn-fg: var(--ink);
}

.actions, .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── Eyebrow / headings ─── */
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.section-heading h2 { margin-bottom: 0.35em; }
.section-heading p { font-size: 1.05rem; }

/* ─── Header ─── */
.site-header, .c-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
  color: var(--header-text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--header-text);
  min-height: 44px;
  flex-shrink: 0;
}

.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--header-text);
}

.brand-wordmark span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 239, 228, 0.55);
}

.main-nav > a {
  padding: 0.45rem 0.7rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(246, 239, 228, 0.86);
}

.main-nav > a:hover {
  background: rgba(180, 90, 40, 0.18);
  color: #fff;
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--header-text);
}
.header-phone:hover { color: #e8b089; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 2px;
  border: 1px solid rgba(246, 239, 228, 0.28);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: var(--header-text);
}

.header-main-row {
  width: min(100% - 28px, var(--container));
  margin: 0 auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: auto !important;
  height: 40px !important;
  max-width: none !important;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  border-radius: 0;
}

.site-header .brand-wordmark {
  display: none;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  gap: 2px;
}

.header-brand-info,
.header-slogan,
.header-hours { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-extra { display: none; }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-contact-group { display: flex; flex-direction: column; align-items: flex-end; }

.nav-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines {
  background: transparent;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--header-text);
}
.nav-toggle-lines::before {
  top: 0;
  box-shadow: 0 5px 0 var(--header-text);
}
.nav-toggle-lines::after { bottom: 0; }
.nav-toggle-label { font-size: 0.9rem; line-height: 1; }

.site-header .btn, .site-header .c-button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .header-main-row {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    gap: 12px;
  }
  .header-left { min-width: 0; }
  .header-phone,
  .header-callback { display: none !important; }
  .header-right { gap: 0; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 2px;
    background: #161210;
    border: 1px solid rgba(246, 239, 228, 0.12);
    box-shadow: var(--shadow-lift);
    max-height: calc(100vh - 88px);
    overflow: auto;
    z-index: 60;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a {
    padding: 0.85rem 0.9rem;
    border-radius: 2px;
  }
  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(246, 239, 228, 0.12);
  }
  .nav-extra-phone {
    font-weight: 800;
    text-decoration: none;
    color: #fffaf3;
    font-size: 1.05rem;
  }
  .nav-extra-email { font-size: 0.9rem; color: rgba(246, 239, 228, 0.55); }
  .nav-extra .btn,
  .nav-extra .c-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .brand-wordmark span { display: none; }
  .brand-wordmark strong { font-size: 1.05rem; }
  .brand img { width: auto; height: 32px; max-width: 150px; }
  .nav-toggle {
    padding: 0 12px 0 10px;
  }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle {
    width: 44px;
    padding: 0;
  }
}

/* ─── Full-bleed photo hero ─── */
.hero, .hero--home, .hero--bright {
  position: relative;
  width: 100%;
  min-height: min(88vh, 820px);
  padding: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #161210;
}

.hero.container,
.hero.c-container,
.hero.section {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero::after { display: none; }

.hero-bg-fades,
.hero-accents,
.hero-orb,
.hero-halo,
.hero-chip,
.hero-points {
  display: none !important;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) 0 clamp(48px, 7vh, 80px);
}

.hero-copy, .hero-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 640px;
  margin: 0;
  padding: 0;
  color: #f6efe4;
}

.hero-copy, .hero-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 720px;
  margin: 0;
  padding: 0;
  color: #f6efe4;
}

.hero-brand {
  display: none;
}

.hero-copy .eyebrow, .hero-content .eyebrow {
  color: #e8b089;
  letter-spacing: 0.22em;
}

.hero--home h1,
.hero h1,
main#top > section.hero h1 {
  color: #fffaf3;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 800;
  max-width: 11ch;
  margin: 0 0 0.35em;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-copy p, .hero-content p {
  color: rgba(246, 239, 228, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.5;
  max-width: 38ch;
  margin: 0 0 1.4rem;
}

.hero .actions { gap: 12px; }

.hero .btn, .hero .c-button {
  min-height: 52px;
  padding: 0.9rem 1.45rem;
  font-size: 0.9rem;
}

.hero .btn-outline, .hero .c-button--outline {
  --btn-fg: #fffaf3;
  --btn-bd: rgba(255, 250, 243, 0.35);
  --btn-bg: transparent;
}

.hero .btn-outline:hover, .hero .c-button--outline:hover {
  --btn-bg: rgba(255, 250, 243, 0.1);
  --btn-fg: #fffaf3;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
}

.hero-cutout,
.hero-bg-photo,
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 45%;
  filter: none;
  animation: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 18, 16, 0.78) 0%, rgba(22, 18, 16, 0.38) 46%, rgba(22, 18, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(22, 18, 16, 0.2) 0%, rgba(22, 18, 16, 0.55) 100%);
}

.hero-slider-dots { display: none; }
.slider-dot { display: none; }

@media (max-width: 900px) {
  .hero, .hero--home, .hero--bright { min-height: 78vh; }
  .hero-stage {
    padding-top: 88px;
    text-align: left;
  }
  .hero-visual { inset: 0; }
}

.hero-stats-wrap {
  width: min(100% - 28px, var(--container));
  margin: -42px auto 0;
  padding: 0;
  position: relative;
  z-index: 3;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(18px, 2.4vw, 28px) clamp(10px, 1.5vw, 18px);
  border: 0;
  border-radius: 2px;
  background: #161210;
  color: #f6efe4;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px;
  text-align: center;
  border-right: 1px solid rgba(246, 239, 228, 0.12);
}

.hero-stat:last-child { border-right: 0; }

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fffaf3;
  text-transform: none;
}

.hero-stat span {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(246, 239, 228, 0.72);
  max-width: 14em;
  text-transform: none;
  letter-spacing: 0;
}

.hero-stats { display: contents; }

/* ─── Products ─── */
.product-slider-section { overflow: hidden; }

.product-slider-viewport {
  overflow: hidden;
  margin: 0;
  touch-action: pan-y;
}

.product-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.product-slider-track > .product-card {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.product-card-media,
.product-card > a:first-of-type {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--chip);
}

.product-card img,
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover img { transform: scale(1.03); }

.product-card-body,
.product-card > div:not(.product-badges) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  flex: 1;
}

.product-card h3, .product-card .h3 { margin: 0; font-size: 1.02rem; }
.product-card h3 a, .product-card .h3 a {
  text-decoration: none;
  color: var(--ink);
}
.product-card h3 a:hover { color: var(--accent); }
.product-card p { font-size: 0.9rem; margin: 0; }

.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--chip);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-price {
  margin-top: auto !important;
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-weight: 700;
  color: var(--ink) !important;
}

.product-price small {
  font-size: 0.7em;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--font-body);
}

.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-actions .btn, .product-actions .c-button {
  flex: 1;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}

.pill-hit { background: var(--accent); }
.pill-recommend { background: #3d4f43; }
.pill-new { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.product-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.product-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.05rem;
}

.product-slider-btn:hover:not(:disabled) { border-color: var(--accent); }
.product-slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }

@media (max-width: 980px) {
  .product-slider-track > .product-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 720px) {
  .product-slider-section {
    overflow: visible;
  }

  .product-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    width: 100vw;
    max-width: 100vw;
  }

  .product-slider-viewport::-webkit-scrollbar {
    display: none;
  }

  .product-slider-track {
    gap: 12px;
    width: max-content;
    margin-inline: auto;
    padding-inline: max(16px, calc((100vw - min(86vw, 360px)) / 2));
    transform: none !important;
    transition: none;
  }

  .product-slider-track > .product-card {
    flex: 0 0 min(86vw, 360px);
    max-width: min(86vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .product-slider-controls,
  .projects-slider-btn {
    display: none !important;
  }

  [data-catalog-grid],
  .catalog-grid,
  .product-grid {
    justify-items: center;
  }

  [data-catalog-grid] > .product-card,
  .catalog-grid > .product-card,
  .product-grid > .product-card {
    width: min(100%, 420px);
  }

  .blog-preview-grid,
  .blog-grid {
    justify-items: center;
  }

  .blog-card,
  article.blog-card {
    width: min(100%, 520px);
  }

  .reviews-grid {
    justify-items: center;
  }

  .review-card {
    width: min(100%, 520px);
  }

  .bento-grid {
    justify-items: center;
  }

  .bento-card {
    width: min(100%, 520px);
  }

  .project-paths,
  .project-steps,
  .project-facts {
    justify-items: center;
  }

  .project-path,
  .project-step,
  .project-fact {
    width: min(100%, 520px);
  }

  /* Center all button groups on mobile */
  .actions,
  .row,
  .hero .actions,
  .about-copy .row,
  .product-actions,
  .product-summary-actions,
  .product-cta-box,
  .article-footer-cta__actions,
  .cta-panel .actions,
  .section .actions,
  .page-main .actions,
  .catalog-result {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .product-actions .btn,
  .product-actions .c-button,
  .product-summary-actions .btn,
  .product-summary-actions .c-button,
  .actions .btn,
  .actions .c-button,
  .row .btn,
  .row .c-button,
  .article-footer-cta__actions .btn,
  .article-footer-cta__actions .c-button,
  .hero .actions .btn,
  .hero .actions .c-button {
    justify-content: center;
  }

  .product-cta-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-cta-box .row,
  .product-cta-box .actions {
    width: 100%;
    justify-content: center;
  }

  .cta-panel {
    text-align: center;
  }

  .cta-panel .contact-lines {
    text-align: left;
  }

  .article-footer-cta {
    text-align: center;
  }

  .article-footer-cta__actions {
    width: 100%;
  }

  .catalog-filters,
  [data-catalog-filters] {
    justify-items: stretch;
  }

  .catalog-filters .btn,
  [data-catalog-filters] .btn,
  .catalog-filters .c-button,
  [data-catalog-filters] .c-button {
    width: 100%;
    justify-content: center;
  }
}

.catalog-toolbar { display: grid; gap: 10px; margin-bottom: 22px; }
.catalog-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

[data-catalog-grid], .catalog-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

[data-product-card][hidden],
[data-product-card].is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  [data-catalog-grid], .catalog-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  [data-catalog-grid], .catalog-grid, .product-grid { grid-template-columns: 1fr; }
}

.catalog-filters, [data-catalog-filters] {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: end;
  margin-bottom: 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px 14px;
  flex: 1 1 620px;
}

.filter-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.filter-actions .catalog-count {
  margin: 0 6px 0 0;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.filter-actions .catalog-count strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1410' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  border-radius: 2px;
}

.catalog-filters .btn,
.catalog-filters .c-button {
  min-height: 48px;
}

.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.input, .textarea, select.input, .filter-field select,
.lead-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.textarea, .lead-form textarea { min-height: 110px; resize: vertical; }

.input:focus, .textarea:focus, select:focus,
.lead-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (max-width: 900px) {
  .catalog-filters, [data-catalog-filters] { align-items: stretch; }
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .filter-actions { width: 100%; margin-left: 0; justify-content: flex-end; }
}

/* ─── About ─── */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy .row { margin-top: 0.75rem; }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ─── Advantages ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bento-card {
  padding: 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.bento-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.bento-card h3 { margin-bottom: 0.35em; }
.bento-card p { font-size: 0.94rem; }

@media (max-width: 980px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: none;
}

.faq-item p {
  max-width: 72ch;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
}

.faq-item[open] { border-color: rgba(47, 93, 69, 0.35); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 11px; margin: 0; }

/* ─── Reviews ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.review-card {
  margin: 0;
  padding: 14px 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.review-card p {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-weight: 800;
}

.review-card .meta {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ─── Blog ─── */
.blog-preview-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.blog-card, article.blog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 93, 69, 0.35);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.blog-card > div, .blog-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-card h2, .blog-card h3, .blog-card .h3 { margin: 0; }
.blog-card a { text-decoration: none; }

.blog-card .meta, .blog-card-body .meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 860px) {
  .blog-preview-grid, .blog-grid { grid-template-columns: 1fr; }
  .blog-card, article.blog-card { grid-template-columns: 1fr; }
  .blog-card img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ─── CTA ─── */
.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(14px, 2.5vw, 24px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: 2px;
  background: #161210;
  color: #f6efe4;
  overflow: hidden;
}

.cta-panel .eyebrow { color: #e8b089; }
.cta-panel h2 { color: #fffaf3; }
.cta-panel p { color: rgba(246, 239, 228, 0.72); }

.contact-lines {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-lines li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 0.95rem;
}

.contact-lines strong {
  color: rgba(243, 246, 243, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0.25rem;
}

.contact-lines a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.lead-form .field { display: grid; gap: 6px; }
.lead-form label { font-size: 0.85rem; font-weight: 600; color: rgba(243,246,243,.8); }
.lead-form .input,
.lead-form .textarea,
.lead-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lead-form textarea {
  background: #fff;
  border-color: transparent;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(243, 246, 243, 0.78);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 1.5px solid rgba(28, 27, 25, 0.28);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  position: relative;
}

.checkbox-field input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.checkbox-field input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: #fff;
}

.checkbox-field input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: scale(1);
}

.checkbox-field input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-color: var(--accent);
}

.checkbox-field > span {
  flex: 1 1 auto;
  min-width: 0;
}

.checkbox-field a { color: #c5dbc9; }
.field-honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.lead-form-message { font-size: 0.9rem; margin: 0; }

@media (max-width: 860px) {
  .cta-panel { grid-template-columns: 1fr; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
}

.page-main .lead-form:not(.cta-panel .lead-form),
.catalog-section .lead-form:not(.cta-panel .lead-form) {
  background: var(--surface);
  border: 1px solid var(--line);
}
.page-main .lead-form:not(.cta-panel .lead-form) label { color: var(--muted); }
.page-main .checkbox-field:not(.cta-panel .checkbox-field) { color: var(--muted); }

.cta-panel .lead-form {
  background: transparent;
  border: 0;
}
.cta-panel .lead-form label,
.cta-panel .checkbox-field { color: rgba(246, 239, 228, 0.8); }

/* ─── Footer ─── */
.site-footer, .c-footer {
  margin-top: auto;
  padding: 28px 0 16px;
  background: #171614;
  color: rgba(247, 246, 243, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.site-footer .brand-wordmark { display: none; }
.site-footer p { color: rgba(247, 246, 243, 0.62); max-width: 36ch; }
.footer-contacts { margin-top: 14px; line-height: 1.7; }
.footer-contacts a { color: #fff; text-decoration: none; font-weight: 600; }

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  align-content: start;
}

.site-footer nav a {
  text-decoration: none;
  color: rgba(247, 246, 243, 0.75);
  font-weight: 600;
}
.site-footer nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.88rem;
}
.footer-bottom a { color: rgba(247, 246, 243, 0.6); }

@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Inner pages ─── */
.page-main, main.page-main, main#top {
  flex: 1;
  position: relative;
  background: var(--bg);
}

.page-main, main.page-main { padding-bottom: var(--space-section-sm); }

.error-page {
  text-align: center;
  padding-top: clamp(18px, 3vw, 32px);
  padding-bottom: clamp(8px, 1.5vw, 16px);
}
.error-page .error-code {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.error-page h1 {
  max-width: 16ch;
  margin-inline: auto;
}
.error-page .lead {
  max-width: 42ch;
  margin-inline: auto;
}
.error-page .actions {
  justify-content: center;
  margin-top: 1rem;
}
.error-offers .section-heading {
  text-align: center;
  margin-inline: auto;
}
.error-offers .section-heading h2 {
  margin-inline: auto;
}
.error-offers .product-grid {
  margin-top: 8px;
}

.page-hero, .od-page-hero { padding: clamp(14px, 2.5vw, 24px) 0 8px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead, .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 10px 0 4px;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumbs a { text-decoration: none; font-weight: 600; color: var(--accent); }

.prose-flow, .od-content { max-width: 760px; }

.projects-reviews {
  width: 100%;
  max-width: none;
  margin-top: clamp(28px, 4vw, 48px);
}

.projects-block {
  width: 100%;
  max-width: none;
  margin-top: clamp(36px, 5vw, 64px);
}

.project-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.project-path {
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.project-path h3 {
  margin: 0.2em 0 0.5em;
}

.project-path p {
  margin: 0;
  color: var(--muted);
}

.project-path--dark {
  background: #161210;
  border-color: #161210;
  color: #f6efe4;
}

.project-path--dark .eyebrow { color: #e8b089; }
.project-path--dark h3 { color: #fffaf3; }
.project-path--dark p { color: rgba(246, 239, 228, 0.72); }

.project-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-step {
  margin: 0;
  padding: 16px 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.project-step em {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.project-step h3 {
  margin: 0 0 0.35em;
}

.project-step p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.project-fact {
  margin: 0;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.project-fact strong {
  display: block;
  margin-bottom: 0.45em;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
}

.project-fact p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .project-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .project-paths,
  .project-facts { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .project-steps { grid-template-columns: 1fr; }
}

.pay-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 4px;
}

.pay-intro .page-hero {
  padding: clamp(18px, 3vw, 32px) 0 8px;
}

.pay-aside {
  margin: 0;
  padding: clamp(20px, 2.8vw, 28px);
  background: #161210;
  color: #f6efe4;
  border-radius: 2px;
}

.pay-aside .eyebrow { color: #e8b089; }
.pay-aside h2 {
  color: #fffaf3;
  margin: 0.2em 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.pay-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(246, 239, 228, 0.12);
}

.pay-stat:last-child { padding-bottom: 0; }

.pay-stat strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #e8b089;
  line-height: 1;
  min-width: 3.2ch;
}

.pay-stat span {
  color: rgba(246, 239, 228, 0.72);
  font-size: 0.94rem;
}

.pay-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pay-col {
  margin: 0;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.pay-col--muted { background: var(--bg-soft); }

.pay-col h3 { margin: 0.15em 0 0.85em; }

.pay-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pay-col li {
  position: relative;
  padding: 10px 0 10px 1.6em;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.pay-col li:last-child { border-bottom: 0; padding-bottom: 0; }

.pay-col li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--accent);
}

.pay-col--in li::before { content: "+"; }
.pay-col--out li::before { content: "–"; }

.pay-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
}

.pay-rail li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 8px 22px;
  margin: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
}

.pay-rail li:last-child { border-bottom: 0; }

.pay-rail em {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.pay-rail small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-rail h3 { margin: 0 0 0.35em; }
.pay-rail p { margin: 0; color: var(--muted); }

.pay-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pay-way {
  margin: 0;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.pay-way h3 { margin: 0.25em 0 0.4em; }
.pay-way p { margin: 0; font-size: 0.94rem; color: var(--muted); }

.pay-page .cta-panel { margin-top: clamp(36px, 5vw, 64px); }

@media (max-width: 900px) {
  .pay-intro,
  .pay-compare { grid-template-columns: 1fr; }
  .pay-rail li { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .pay-ways { grid-template-columns: 1fr; }
  .pay-col,
  .pay-way,
  .pay-aside {
    width: min(100%, 520px);
    justify-self: center;
  }
  .pay-compare,
  .pay-ways { justify-items: center; }
}
.prose-flow h2 { margin-top: 1.15em; }
.prose-flow img {
  border-radius: var(--radius-lg);
  margin: 0.8em 0;
  border: 1px solid var(--line);
}

/* Product page */
.product-hero, .product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
  margin: 8px 0 20px;
}

.product-gallery, [data-product-gallery] { display: grid; gap: 10px; }

.product-gallery-main {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--chip);
}

.product-gallery-main img, [data-gallery-main] {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-gallery-thumbs, .product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.product-gallery-thumb, .product-thumbs button, [data-gallery-thumb] {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.product-gallery-thumb.is-active,
.product-thumbs button.is-active,
[data-gallery-thumb].is-active { border-color: var(--accent); }

.product-gallery-thumb img, .product-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
}

.product-summary .product-price {
  margin: 0.4rem 0 0.8rem !important;
  font-size: clamp(1.55rem, 3vw, 1.9rem) !important;
}

.product-summary-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.product-block {
  margin: 14px 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.product-block h2 { margin-top: 0; }

.product-cta {
  margin: 22px 0;
}
.product-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 2px;
  background: #161210;
  color: #f6efe4;
  border: 0;
}
.product-cta-copy { min-width: 0; flex: 1 1 280px; }
.product-cta-box .eyebrow {
  color: #e8b089 !important;
  background: none !important;
  border: 0 !important;
  padding: 0;
  margin: 0 0 10px;
}
.product-cta-box h2 {
  color: #fffaf3 !important;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 8px;
  max-width: 18ch;
  line-height: 1.15;
}
.product-cta-box p {
  color: rgba(246, 239, 228, 0.72) !important;
  margin: 0;
  max-width: 42ch;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.specs-table th, .specs-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}
.specs-table th { width: 42%; color: var(--muted); font-weight: 600; }

.complect-list, .product-complect {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.complect-list li { margin: 0.35em 0; }

@media (max-width: 900px) {
  .product-hero, .product-layout { grid-template-columns: 1fr; }
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.15fr);
  gap: clamp(20px, 3.2vw, 48px);
  align-items: center;
  margin: 8px 0 8px;
}

.projects-hero-copy .page-hero {
  padding: 0;
}

.projects-hero-copy h1 {
  max-width: 11ch;
}

.projects-hero-copy .lead {
  max-width: 38ch;
  margin-bottom: 1.25rem;
}

.projects-hero-copy .actions {
  margin-top: 4px;
}

.projects-hero-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.projects-showcase,
.projects-slider,
[data-projects-slider] {
  position: relative;
}

.projects-showcase {
  max-width: none;
  margin: 0;
}

.projects-showcase .hero-slide img,
.projects-showcase .projects-slider-track img {
  aspect-ratio: 4 / 3;
  max-height: none;
  height: auto;
}

@media (max-width: 900px) {
  .projects-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .projects-hero-copy h1 { max-width: 14ch; }
}

.hero-slider-viewport,
.projects-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  touch-action: pan-y;
}

.hero-slider-track,
.projects-slider-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.hero-slide,
.projects-slider-track > .hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
}

.hero-slide img,
.projects-slider-track img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.projects-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lift);
}
.projects-slider-btn--prev { left: 12px; }
.projects-slider-btn--next { right: 12px; }
.projects-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.projects-slider-dots .slider-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
}
.projects-slider-dots .slider-dot.is-active { background: var(--accent); }
.projects-slider-caption {
  text-align: center;
  margin: 8px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .hero-slider-viewport,
  .projects-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  .hero-slider-viewport::-webkit-scrollbar,
  .projects-slider-viewport::-webkit-scrollbar { display: none; }
  .hero-slider-track,
  .projects-slider-track {
    transform: none !important;
    transition: none;
  }
  .hero-slide,
  .projects-slider-track > .hero-slide {
    scroll-snap-align: center;
  }
}

/* Modals */
.lead-modal[hidden] { display: none !important; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(3px);
}
.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 26px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.lead-modal-dialog h2 { margin-bottom: 0.3em; }
.lead-modal-desc { margin-bottom: 1rem; }
.lead-modal-dialog .lead-form {
  background: transparent;
  border: 0;
  padding: 0;
}
.lead-modal-dialog .lead-form label { color: var(--muted); }
.lead-modal-dialog .checkbox-field { color: var(--muted); }
.lead-modal-dialog .checkbox-field a { color: var(--accent); }
.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--chip);
  cursor: pointer;
  font-size: 1.15rem;
}

/* Cookie */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--ink);
  color: #f7f6f3;
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
}
.cookie-consent-inner p { margin: 0; color: rgba(247,246,243,.85); font-size: 0.9rem; }
.cookie-consent-inner a { color: #b7d0c2; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1.is-visible { transition-delay: 0.06s; }
.reveal.delay-2.is-visible { transition-delay: 0.12s; }
.reveal.delay-3.is-visible { transition-delay: 0.18s; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
[data-motion="fade-down"] { animation: fadeDown 0.5s var(--ease) both; }

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
  margin-right: 0.4rem;
}

.catalog-count, [data-catalog-count] {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--muted);
}

.catalog-empty, [data-catalog-empty] {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.article-body h2 { margin-top: 1.1em; }
.article-header h1 {
  max-width: 18ch;
  line-height: 1.18;
}
.article-content--wide { max-width: none; width: 100%; }
.article-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 16px;
}
.article-column {
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.article-column h2 {
  margin: 0 0 0.35em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 12ch;
  line-height: 1.25;
}
.article-column p {
  margin: 0;
  font-size: 0.95rem;
}
.article-intro {
  display: grid;
  gap: 0.55em;
  margin: 0 0 16px;
  max-width: 72ch;
}
.article-intro p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.article-text { max-width: 72ch; }
.article-text h2 {
  max-width: 18ch;
  margin-top: 1.15em;
  line-height: 1.2;
}
.article-faq,
.article-popular {
  width: 100%;
  max-width: none;
  margin-top: 22px;
}
.article-faq .faq-list,
.faq-list--wide {
  width: 100%;
  max-width: none;
}
.article-faq .faq-item p { max-width: none; }
.article-popular .product-grid { margin-top: 8px; }

.article-footer-cta {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  margin: 22px 0 4px;
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(168, 214, 186, 0.18), transparent 55%),
    linear-gradient(135deg, #1e2a23 0%, #24352c 55%, #1a2420 100%);
  color: #f3f6f3;
  overflow: hidden;
}
.article-footer-cta__copy { min-width: 0; }
.article-footer-cta .eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #a8c4b4;
}
.article-footer-cta h2 {
  margin: 0 0 0.4em;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  max-width: 16ch;
}
.article-footer-cta p {
  margin: 0;
  color: rgba(243, 246, 243, 0.78);
  max-width: 40ch;
  font-size: 1.02rem;
}
.article-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.article-footer-cta .btn-accent,
.article-footer-cta .c-button--accent {
  --btn-bg: #fff;
  --btn-fg: #1e2a23;
  --btn-bd: #fff;
  background: #fff;
  color: #1e2a23;
  border-color: #fff;
}
.article-footer-cta .btn-accent:hover,
.article-footer-cta .c-button--accent:hover {
  background: #eef5f0;
  color: #1e2a23;
}
.article-footer-cta .btn-outline,
.article-footer-cta .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.article-footer-cta .btn-outline:hover,
.article-footer-cta .c-button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
@media (max-width: 720px) {
  .article-footer-cta {
    grid-template-columns: 1fr;
    padding: 16px 14px;
    text-align: center;
  }
  .article-footer-cta__actions {
    justify-content: center;
    width: 100%;
  }
  .article-footer-cta h2 {
    max-width: none;
    margin-inline: auto;
  }
  .article-footer-cta p {
    margin-inline: auto;
  }
}

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0.6rem 0 1rem;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
@media (max-width: 860px) {
  .article-columns { grid-template-columns: 1fr; }
}

.seo-related { margin-top: 16px; }
.seo-related a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.seo-related a:hover { text-decoration: underline; }

main#top, main.page-main:has(> .plant-ivy-left) {
  background-image: none;
}

.site-header .btn-outline,
.site-header .c-button--outline {
  --btn-fg: #f6efe4;
  --btn-bd: rgba(246, 239, 228, 0.32);
  --btn-bg: transparent;
  text-transform: uppercase;
}
.site-header .btn-outline:hover,
.site-header .c-button--outline:hover {
  --btn-bg: rgba(246, 239, 228, 0.08);
  --btn-fg: #fffaf3;
}
.site-header .btn-accent,
.site-header .c-button--accent {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
}

.hero-bg, .hero > .hero-image, .hero-slider-viewport.hero-bg,
.hero-image:not(.hero-bg) {
  display: block;
}
.hero-visual img.hero-bg-photo,
.hero-visual img.hero-cutout {
  display: block;
}

.bento-card,
.review-card,
.faq-item,
.product-block,
.article-column,
.catalog-filters,
[data-catalog-filters] {
  border-radius: 2px;
  background: var(--surface);
}

.faq-item[open] { border-color: rgba(180, 90, 40, 0.4); }
.blog-card, article.blog-card { border-radius: 2px; }
.blog-card:hover { border-color: rgba(180, 90, 40, 0.4); }

.article-footer-cta {
  border-radius: 2px;
  background:
    linear-gradient(135deg, #161210 0%, #241c16 55%, #1a1410 100%);
}

@media (max-width: 720px) {
  .hero, .hero--home, .hero--bright { min-height: 72vh; }
  .hero-stats-wrap { margin-top: -28px; width: min(100% - 20px, 420px); }
  .hero-stats-bar { grid-template-columns: 1fr; }
  .hero-stat {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 239, 228, 0.12);
  }
  .hero-stat:last-child { border-bottom: 0; }
}
