/* ═══════════════════════════════════════════
   В Беседки.Ру — Harbor Timber
   cool mist · harbor blue · architectural
═══════════════════════════════════════════ */
:root {
  --bg: #e8eef2;
  --bg-sand: #f4f1ec;
  --bg-soft: #dfe7ed;
  --surface: #ffffff;
  --chip: #d5dde3;
  --ink: #121820;
  --fg: #121820;
  --muted: #5a6670;
  --line: #d5dde3;
  --border: #d5dde3;
  --primary: #121820;
  --accent: #1f5f7a;
  --accent-deep: #174a5f;
  --accent-soft: rgba(31, 95, 122, 0.12);
  --secondary: #1f5f7a;
  --card: #ffffff;
  --header-bg: rgba(232, 238, 242, 0.9);
  --header-text: #121820;
  --footer-bg: #0e1620;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow: 0 1px 0 rgba(18, 24, 32, 0.04);
  --shadow-soft: 0 8px 24px rgba(18, 24, 32, 0.08);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --space-section: clamp(32px, 5vw, 56px);
  --space-section-sm: clamp(20px, 3vw, 32px);
  --container: 1180px;
  --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.55;
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

/* Atmosphere: cool blue mist + sand flecks */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 75% 50% at 8% -5%, rgba(31, 95, 122, 0.11), transparent 58%),
    radial-gradient(ellipse 55% 45% at 96% 12%, rgba(244, 241, 236, 0.55), transparent 52%),
    radial-gradient(ellipse 60% 50% at 70% 100%, rgba(31, 95, 122, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(244, 241, 236, 0.4), transparent 50%),
    linear-gradient(180deg, #e8eef2 0%, #eaf0f4 45%, #e6edf1 100%);
}

img { max-width: 100%; height: auto; display: block; }
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: sharp architectural ─── */
.btn, .c-button {
  --btn-bg: var(--ink);
  --btn-fg: #f4f7f9;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover, .c-button:hover {
  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, .c-button--primary: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(18, 24, 32, 0.22);
}

.btn-outline:hover, .btn-secondary:hover, .c-button--outline:hover {
  --btn-bg: var(--accent-soft);
  --btn-fg: var(--accent-deep);
  --btn-bd: rgba(31, 95, 122, 0.35);
}

.actions, .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── Eyebrow / headings ─── */
.eyebrow {
  display: inline-block;
  position: relative;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 6px;
  background: var(--accent);
  transition: width 0.55s var(--ease);
}

.section-heading .eyebrow::after,
.reveal.is-visible .eyebrow::after {
  width: 2.5rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.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(14px);
  border-bottom: 1px solid rgba(18, 24, 32, 0.08);
  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 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  gap: 2px;
}

.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-wordmark span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-brand-info,
.header-slogan,
.header-hours { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.main-nav > a {
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.main-nav > a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.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; }
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 24, 32, 0.16);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.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: 1px;
  background: var(--ink);
}
.nav-toggle-lines::before {
  top: 0;
  box-shadow: 0 5px 0 var(--ink);
}
.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: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    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: var(--radius);
  }
  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-extra-phone {
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    font-size: 1.05rem;
  }
  .nav-extra-email { font-size: 0.9rem; color: var(--muted); }
  .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: 36px; height: 36px; }
  .nav-toggle {
    padding: 0 12px 0 10px;
  }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle {
    width: 44px;
    padding: 0;
  }
}

/* ─── Hero: split showcase + gallery ─── */
.hero,
.hero--home,
.hero--bright,
.hero--split {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: clamp(28px, 4.5vw, 48px) 0 clamp(36px, 5vw, 56px);
  display: block;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(31, 95, 122, 0.14), transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(255, 255, 255, 0.75), transparent 55%),
    radial-gradient(ellipse 60% 45% at 70% 95%, rgba(31, 95, 122, 0.08), transparent 60%),
    linear-gradient(165deg, #eef3f7 0%, #e4ecf2 48%, #dce6ed 100%);
}

.hero.container,
.hero.c-container,
.hero.section {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-bg-fades,
.hero-accents,
.hero-orb,
.hero-halo,
.hero-chip,
.hero-points,
.hero-media,
.hero-veil {
  display: none !important;
}

.hero::before,
.hero::after {
  content: none;
  display: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  min-height: 0;
  width: min(100% - 28px, var(--container));
  margin: 0 auto;
  padding: 0;
}

.hero-copy,
.hero-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 540px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  text-shadow: none;
}

.hero-copy::before {
  content: ";
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 0 1.1rem;
  background: linear-gradient(90deg, var(--accent), rgba(31, 95, 122, 0));
  animation: heroRuleIn 0.8s var(--ease) both;
}

@keyframes heroRuleIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero-brand,
.hero-copy > .hero-brand,
.hero-content > .hero-brand,
p.hero-brand {
  margin: 0 0 0.45rem !important;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em;
  line-height: 0.94 !important;
  color: var(--ink) !important;
  text-shadow: none;
}

.hero--home h1,
.hero h1,
main#top > section.hero h1,
.hero--home .hero-copy h1 {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-shadow: none;
}

.hero-copy p:not(.hero-brand),
.hero-content p:not(.hero-brand),
.hero-lead {
  margin: 0 0 1.45rem !important;
  max-width: 38ch;
  color: var(--muted) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  text-shadow: none;
}

.hero-actions,
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.2rem;
}

.hero .btn, .hero .c-button {
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  font-size: 1.02rem;
}

/* Right gallery */
.hero-gallery {
  position: relative;
  min-width: 0;
  padding: 8px 8px 28px;
}

.hero-gallery-frame {
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(31, 95, 122, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
  box-shadow: 0 22px 50px rgba(18, 24, 32, 0.12);
  overflow: hidden;
}

.hero--split .hero-slider-viewport {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  touch-action: pan-y;
  aspect-ratio: 5 / 4;
}

.hero--split .hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.hero--split .hero-slide {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
}

.hero--split .hero-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease);
}

.hero--split .hero-slide.is-active img,
.hero--split .hero-slide img {
  /* keep gentle presence */
}

.hero-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 24, 32, 0.12);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.hero-gallery-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.hero-gallery-btn--prev { left: 0; }
.hero-gallery-btn--next { right: 0; }

.hero--split .hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero--split .slider-dot {
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 24, 32, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero--split .slider-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.hero-visual,
.hero-cutout {
  display: none !important;
}

.hero .btn-outline,
.hero .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(18, 24, 32, 0.18);
}

.hero .btn-accent,
.hero .btn-primary,
.hero .c-button--accent,
.hero .c-button--primary {
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  --btn-bd: var(--accent);
}

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy,
  .hero-content {
    max-width: none;
  }

  .hero-gallery {
    order: -1;
    padding: 0 0 8px;
  }

  .hero-gallery-btn--prev { left: 8px; }
  .hero-gallery-btn--next { right: 8px; }

  .hero--split .hero-slider-viewport {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 720px) {
  .hero,
  .hero--home,
  .hero--bright,
  .hero--split {
    padding: 18px 0 28px;
  }

  .hero-brand,
  .hero-copy > .hero-brand,
  p.hero-brand {
    font-size: clamp(2.35rem, 11vw, 3.2rem) !important;
  }

  .hero--home h1,
  .hero h1,
  .hero--home .hero-copy h1 {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .hero-actions,
  .hero .actions {
    width: 100%;
  }

  .hero .btn, .hero .c-button {
    flex: 1 1 auto;
  }

  .hero--split .hero-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .hero--split .hero-slider-viewport::-webkit-scrollbar { display: none; }

  .hero--split .hero-slider-track {
    transform: none !important;
    transition: none;
  }

  .hero--split .hero-slide {
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy::before,
  .hero--split .hero-slider-track {
    animation: none !important;
    transition: none !important;
  }

  .hero-copy::before {
    transform: none;
    opacity: 1;
  }
}

/* ─── Stats: editorial metrics strip ─── */
.hero-stats-wrap {
  position: relative;
  z-index: 3;
  width: min(100% - 28px, var(--container));
  margin: 8px auto 0;
  padding: 0;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 3vw, 30px) 0;
  border: 0;
  border-block: 1px solid rgba(18, 24, 32, 0.1);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 250, 0.92));
  backdrop-filter: blur(10px);
}

.hero-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 4px clamp(18px, 3vw, 36px);
  text-align: left;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(18, 24, 32, 0.12);
}

.hero-stat:last-child { border-right: 0; }

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}

.hero-stat span {
  max-width: 15em;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero-stats { display: contents; }

@media (max-width: 720px) {
  .hero-stats-wrap {
    width: min(100% - 24px, var(--container));
    margin-top: -18px;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0;
  }

  .hero-stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 18px;
  }

  .hero-stat:not(:first-child)::before {
    left: 18px;
    right: 18px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .hero-stat strong {
    min-width: 4.2em;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    text-align: left;
  }

  .hero-stat span {
    max-width: none;
    text-align: left;
  }
}

/* ─── 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: 1px solid transparent;
  border-radius: 0;
  overflow: hidden;
  outline: 1px solid var(--line);
  outline-offset: 0;
  transition: outline-color 0.25s, transform 0.3s var(--ease);
}

.product-card:hover {
  outline-color: var(--accent);
  transform: translateY(-4px);
}

.product-card-media,
.product-card > a:first-of-type {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--chip);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.product-card img,
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover img { transform: scale(1.05); }

.product-card-body,
.product-card > div:not(.product-badges) {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 14px 16px;
  flex: 1;
  background: var(--surface);
}

.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.2rem 0;
  margin-right: 10px;
  border-radius: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(31, 95, 122, 0.35);
}

.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: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}

.pill-hit { background: var(--accent); }
.pill-recommend { background: var(--accent-deep); }
.pill-new {
  background: #fff;
  color: var(--ink);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill-premium {
  background: #16384a;
  color: #e8f2f7;
  border: 0;
}

.product-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.product-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  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);
  }

  .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: 14px; }
.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: 16px 12px;
}

@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: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 6px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.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: var(--radius);
  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] { grid-template-columns: 1fr 1fr; }
}

/* ─── About ─── */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
  padding: clamp(12px, 2vw, 20px);
  background:
    linear-gradient(135deg, rgba(31, 95, 122, 0.08), transparent 42%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.about-photo {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  position: relative;
}

.about-photo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
}

.about-copy .row { margin-top: 0.9rem; }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ─── Advantages / bento ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 0;
}

.bento-card {
  padding: 22px 18px 20px;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.bento-card:hover::before { transform: scaleX(1); }

.bento-card span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(31, 95, 122, 0.22);
}

.bento-card h3 { margin-bottom: 0.4em; }
.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: 10px;
  width: 100%;
  max-width: none;
  border: 0;
}

.faq-item p {
  max-width: 72ch;
}

.faq-item {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  padding: 0 16px 0 18px;
  box-shadow: inset 4px 0 0 var(--chip);
  transition: box-shadow 0.25s;
}

.faq-item[open] {
  box-shadow: inset 4px 0 0 var(--accent);
  background:
    linear-gradient(90deg, rgba(31, 95, 122, 0.06), transparent 55%),
    var(--surface);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat,
    #fff;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.faq-item[open] summary::after {
  content: "";
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    var(--accent);
  border-color: var(--accent);
}
.faq-item p { padding: 0 36px 16px 0; margin: 0; }

/* ─── Reviews ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
}

.review-card {
  position: relative;
  margin: 0;
  padding: 28px 20px 20px;
  background: var(--surface);
  border-radius: 0;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--accent);
}

.review-card::after {
  content: "“";
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(31, 95, 122, 0.18);
  pointer-events: none;
}

.review-card p {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  position: relative;
}

.review-card cite {
  display: inline-block;
  font-style: normal;
  font-weight: 800;
  padding: 4px 0;
  border-bottom: 2px solid rgba(31, 95, 122, 0.3);
}

.review-card .meta {
  display: block;
  margin-top: 6px;
  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: 12px;
}

/* ─── Blog ─── */
.blog-preview-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.blog-card, article.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s, transform 0.3s var(--ease);
}

.blog-card:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.blog-card:hover img { transform: scale(1.04); }

.blog-card > div, .blog-card-body {
  padding: 16px 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.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.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(31, 95, 122, 0.35);
}

@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;
    clip-path: none;
  }
  .blog-card > div, .blog-card-body { padding: 14px; }
}

/* ─── CTA ─── */
.cta-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
  border: 0;
  box-shadow: 8px 8px 0 rgba(31, 95, 122, 0.18);
  outline: 1px solid var(--line);
}

.cta-panel > :first-child {
  padding: clamp(22px, 3.2vw, 36px);
  background:
    linear-gradient(145deg, #14384a 0%, #0e1620 55%, #121820 100%);
  color: #e8eef2;
  position: relative;
}

.cta-panel > :first-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  background: var(--accent);
}

.cta-panel > :last-child {
  padding: clamp(20px, 2.8vw, 32px);
  background: var(--surface);
}

.cta-panel .eyebrow { color: rgba(160, 190, 205, 0.95); }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(200, 212, 222, 0.85); }

.cta-panel > :first-child .eyebrow { color: rgba(160, 190, 205, 0.95); }
.cta-panel > :first-child h2 { color: #fff; }
.cta-panel > :first-child p { color: rgba(200, 212, 222, 0.85); }

.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(200, 212, 222, 0.55);
  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: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.lead-form .field { display: grid; gap: 6px; }
.lead-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.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: var(--line);
  border-radius: var(--radius);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
  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(18, 24, 32, 0.28);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  position: relative;
}

.checkbox-field input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 1px;
  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: var(--accent); }
.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;
    box-shadow: 0 8px 0 rgba(31, 95, 122, 0.18);
  }
  .cta-panel > :first-child::after { display: none; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
}

.page-main .lead-form,
.catalog-section .lead-form:not(.cta-panel .lead-form) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}
.page-main .lead-form label { color: var(--muted); }
.page-main .checkbox-field { color: var(--muted); }

/* ─── Footer ─── */
.site-footer, .c-footer {
  margin-top: auto;
  padding: 28px 0 16px;
  background: var(--footer-bg);
  color: rgba(232, 238, 242, 0.72);
}

.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-wordmark strong { color: #fff; }
.site-footer .brand-wordmark span { color: rgba(232, 238, 242, 0.45); }
.site-footer p { color: rgba(232, 238, 242, 0.58); 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(232, 238, 242, 0.72);
  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(232, 238, 242, 0.55); }

@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Inner pages ─── */
.page-main, main.page-main, main#top {
  flex: 1;
  position: relative;
  background: transparent;
}

.page-main, main.page-main { padding-bottom: var(--space-section-sm); }

.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;
}

/* ─── Custom 404 ─── */
.page-404 { padding-bottom: var(--space-section); }

.not-found-hero {
  padding: clamp(12px, 2vw, 20px) 0 clamp(8px, 1.5vw, 16px);
}

.not-found-panel {
  position: relative;
  max-width: 720px;
  margin: 8px 0 0;
  padding: clamp(28px, 4vw, 44px) 0 clamp(12px, 2vw, 20px);
}

.not-found-code {
  margin: 0 0 0.15em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: rgba(31, 95, 122, 0.14);
  user-select: none;
}

.not-found-panel h1 {
  margin: -0.35em 0 0.35em;
  max-width: 16ch;
}

.not-found-panel .lead {
  margin-bottom: 1.35rem;
  max-width: 42ch;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.1rem;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.not-found-links a:hover { text-decoration: underline; }

.not-found-offers .section-heading { margin-bottom: 1rem; }

.not-found-offers-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 3vw, 32px);
}

.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; }
.prose-flow h2 { margin-top: 1.15em; }
.prose-flow img {
  border-radius: var(--radius);
  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);
  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: var(--radius);
  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 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.product-block h2 { margin-top: 0; }

.product-cta-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--footer-bg) !important;
  color: #e8eef2 !important;
  border: 0 !important;
}
.product-cta-box h2, .product-cta-box .eyebrow { color: #fff !important; }
.product-cta-box p { color: rgba(200, 212, 222, 0.8) !important; }

.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-showcase,
.projects-slider,
[data-projects-slider] {
  position: relative;
}

.hero-slider-viewport,
.projects-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  touch-action: pan-y;
}

.hero-slider-track,
.projects-slider-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.hero-slide,
.projects-slider-track > .hero-slide {
  flex: 0 0 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: var(--radius-md);
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.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: 2px;
  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(14, 22, 32, 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-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.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: var(--radius);
  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(--footer-bg);
  color: #e8eef2;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.cookie-consent-inner p { margin: 0; color: rgba(232, 238, 242, 0.85); font-size: 0.9rem; }
.cookie-consent-inner a { color: #8fb4c4; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  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.55s 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: 22ch; }
.article-content--wide { max-width: none; width: 100%; }
.article-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.article-column {
  padding: 14px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.article-column h2 {
  margin: 0 0 0.35em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.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 { margin-top: 1.15em; }
.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);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(31, 95, 122, 0.35), transparent 55%),
    linear-gradient(135deg, #0e1620 0%, #152433 55%, #0e1620 100%);
  color: #e8eef2;
  overflow: hidden;
}
.article-footer-cta__copy { min-width: 0; }
.article-footer-cta .eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: rgba(160, 190, 205, 0.95);
}
.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(200, 212, 222, 0.8);
  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: #0e1620;
  --btn-bd: #fff;
  background: #fff;
  color: #0e1620;
  border-color: #fff;
}
.article-footer-cta .btn-accent:hover,
.article-footer-cta .c-button--accent:hover {
  background: #e8eef2;
  color: #0e1620;
}
.article-footer-cta .btn-outline,
.article-footer-cta .c-button--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.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.6);
  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);
  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;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-media > img {
    animation: none;
    transform: scale(1.05);
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-motion="fade-down"] { animation: none; }
}
