@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&family=Outfit:wght@400;500;600;700&display=swap");

/* ═══════════════════════════════════════════
   В Беседки.Ру — atelier-deck, светлая мастерская
═══════════════════════════════════════════ */
:root {
  --bg: #f4f1ea;
  --bg-soft: #ebe6dc;
  --surface: #fbfaf6;
  --chip: #ebe6dc;
  --ink: #13211b;
  --fg: #13211b;
  --muted: #5b6a62;
  --line: #ddd6c8;
  --border: #ddd6c8;
  --primary: #13211b;
  --accent: #2f6a52;
  --accent-deep: #214837;
  --accent-soft: rgba(47, 106, 82, 0.12);
  --secondary: #8a5a32;
  --card: #ffffff;
  --media-bg: #ece8df;
  --header-bg: rgba(244, 241, 234, 0.94);
  --header-text: #13211b;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 48px rgba(19, 33, 27, 0.08);
  --shadow-lift: 0 28px 60px rgba(19, 33, 27, 0.12);
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space-section: clamp(28px, 4.5vw, 52px);
  --space-section-sm: clamp(16px, 3vw, 28px);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--bg);
}

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.62;
  background: var(--bg);
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
.hero-visual img,
.hero-bg-photo,
.hero-cutout,
.product-card-media img,
.product-gallery-main img,
[data-gallery-main],
.about-photo 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-deep); }
button, input, textarea, select { font: inherit; }

.container, .c-container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section, .c-section { padding: var(--space-section) 0; }
.section-heading { max-width: 720px; margin-bottom: 16px; }
.section-heading p { color: var(--muted); margin: 6px 0 0; }

h1, h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3, .h3 { font-size: 1.28rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn, .c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary, .btn-accent, .c-button--accent {
  background: var(--accent);
  color: #f7f5ef;
}
.btn-primary:hover, .btn-accent:hover { background: var(--accent-deep); color: #fff; }
.btn-outline, .btn-secondary, .c-button--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover, .btn-secondary:hover { background: var(--ink); color: #f7f5ef; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.brand-wordmark strong { font-family: var(--font-display); font-size: 1.15rem; }
.brand-wordmark span { color: var(--muted); font-size: 12px; }
.header-brand-info { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav > a { text-decoration: none; font-weight: 500; }
.nav-extra { display: none; }
.header-phone { font-weight: 700; text-decoration: none; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
}
.nav-toggle-lines {
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: inset 0 4px 0 currentColor;
}
body.nav-open { overflow: hidden; }

.hero--home {
  position: relative;
  min-height: min(62vh, 560px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  width: min(var(--container), calc(100% - 32px));
  margin: 16px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-visual { min-height: 320px; }
.hero-stage {
  display: flex;
  align-items: center;
  padding: clamp(20px, 3.2vw, 36px);
}
.hero-copy p { color: var(--muted); max-width: 46ch; }
.hero-stats-wrap { width: min(var(--container), calc(100% - 32px)); margin: 12px auto 0; }
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hero-stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }

.notice-bar {
  width: min(var(--container), calc(100% - 32px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.notice-item {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #214837;
  color: #f4efe4;
}
.notice-item strong { display: block; margin-bottom: 4px; }
.notice-item p { margin: 0; font-size: 14px; opacity: 0.9; }

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card.is-hidden { display: none; }
.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--media-bg);
}
.product-card-media img {
  object-fit: cover;
  object-position: center;
}
.product-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.product-card-body .h3 {
  font-size: 1.05rem;
  line-height: 1.28;
  min-height: 4.05em;
  margin: 0;
}
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28em 0.22em;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--accent-deep) !important;
}
.product-card-body .product-price {
  margin-top: auto;
  padding-top: 12px;
  font-size: 1.72rem;
  color: var(--accent-deep);
}
.product-price .price-from {
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.product-price small {
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  align-items: flex-start;
}
.tag, .pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-hit { background: var(--accent); color: #fff; }
.pill-new { background: var(--secondary); color: #fff; }
.pill-recommend { background: var(--ink); color: #fff; }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.product-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: nowrap; }
.product-actions .btn { flex: 1; min-width: 120px; }

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.catalog-filters {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.catalog-filters label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.catalog-filters select, .input, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.catalog-toolbar { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--muted); }

.product-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  cursor: grab;
}
.product-slider-viewport::-webkit-scrollbar { display: none; }
.product-slider-viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.product-slider-track { display: flex; gap: 16px; }
.product-slider-track .product-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.product-slider-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.product-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.services-grid, .pay-ways, .split-cards, .adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.split-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.service-card, .pay-way, .split-card, .adv-card, .review-card, .use-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}
a.split-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.split-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-card h3, .adv-card h3, .split-card h3 { margin-top: 0; }
.use-card {
  padding: 0;
  overflow: hidden;
}
.use-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.use-card h3, .use-card p { padding-left: 14px; padding-right: 14px; }
.use-card h3 { margin-top: 10px; }
.use-card p { padding-bottom: 14px; }

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.photo-mosaic a, .photo-mosaic figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--media-bg);
}
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-mosaic figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(19,33,27,.72));
  color: #f7f5ef;
  font-weight: 600;
  font-size: 14px;
}
.photo-mosaic .is-wide { grid-row: 1 / span 2; }

.sample-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.sample-strip figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--media-bg);
}
.sample-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sample-strip figcaption {
  padding: 8px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
}

.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.photo-split img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 22px;
}
.adv-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
}
.about-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--media-bg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }

.reviews-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review-card p { color: var(--muted); margin: 0 0 12px; }
.review-card footer { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

.mid-cta {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.mid-cta p { margin: 6px 0 0; color: var(--muted); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px 14px 8px;
}
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #13211b;
  color: #f4efe4;
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
}
.cta-panel .eyebrow { color: #9dccb4; }
.cta-panel p, .cta-panel .muted { color: rgba(244, 239, 228, 0.78); }
.contact-lines { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.contact-lines a { color: #fff; }
.lead-form { display: grid; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.checkbox-field { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.field-honey { position: absolute; left: -9999px; }
.lead-form-message { margin: 0; font-size: 14px; }
.lead-form-message.is-error { color: #c45b4a; }
.lead-form-message.is-success { color: var(--accent); }
.cta-panel .lead-form-message.is-success { color: #9dccb4; }

.site-footer {
  margin-top: auto;
  padding: 28px 0 16px;
  background: #13211b;
  color: #e8efe9;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.footer-grid nav { display: grid; gap: 8px; }
.footer-grid a { color: #e8efe9; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(232, 239, 233, 0.7);
}

.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.product-hero-copy { padding-top: 4px; }
.product-hero-copy .eyebrow { margin-bottom: 8px; }
.product-hero-copy h1 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 12px;
}
.product-hero-copy .product-lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.product-hero-copy .product-price {
  margin: 4px 0 16px;
  font-size: clamp(2.15rem, 3.6vw, 2.85rem);
}
.product-hero-copy .stock-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
}
.product-gallery-main {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: var(--media-bg);
}
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.product-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: none;
}
.product-thumbs button.is-active { border-color: var(--accent); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0 0 18px; }
.specs dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.specs dd { margin: 0; font-weight: 600; font-size: 14px; }
.stock-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 14px;
}

.page-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 16px 0 0;
  background: transparent;
}

.article-head {
  width: min(var(--container), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 8px 0 0;
}
.article-head h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0 0 14px;
}
.article-head .article-lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
}
.article-cover {
  width: min(var(--container), calc(100% - 32px));
  margin: 16px auto 0;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--media-bg);
  box-shadow: var(--shadow);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-layout {
  width: min(var(--container), calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
.article-body {
  max-width: 68ch;
}
.article-body > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.72;
}
.article-body h2 {
  font-size: 1.42rem;
  margin: 1.7em 0 0.5em;
  padding-top: 0.35em;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.article-body h2:first-of-type { border-top: 0; padding-top: 0; }
.article-body p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
  margin: 0 0 1em;
}
.article-body ul, .article-body ol {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 1.3em;
  padding-left: 1.2em;
}
.article-body li { margin: 0.45em 0; }
.article-body a { color: var(--accent-deep); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.article-lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.article-meta span + span::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.55;
}
.article-callout {
  margin: 1.4em 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 1px 0 rgba(19, 33, 27, 0.04);
}
.article-callout p { margin: 0; font-size: 16px; }
.article-figure { margin: 1.6em 0 1.8em; }
.article-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}
.article-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.article-aside {
  position: sticky;
  top: 80px;
}
.article-aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px;
}
.article-aside-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.article-aside-card li { margin: 8px 0; }
.article-aside-card .btn { width: 100%; margin-top: 8px; }
.article-related {
  width: min(var(--container), calc(100% - 32px));
  margin: 32px auto 8px;
  padding-top: 0;
}
.article-related h2 { margin-bottom: 18px; }

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--media-bg);
}
.blog-card-media img,
.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-list {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}
.blog-featured {
  position: relative;
  display: grid;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #f7f5ef;
  box-shadow: var(--shadow);
}
.blog-featured-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--media-bg);
}
.blog-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-body {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 20px 22px 18px;
  background: linear-gradient(transparent, rgba(19, 33, 27, 0.78) 42%);
  max-width: 720px;
}
.blog-featured-body .eyebrow { color: #c8ddd2; }
.blog-featured-body h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.blog-featured-body p { color: rgba(247, 245, 239, 0.86); margin: 8px 0 10px; }
.blog-featured-body .meta { color: rgba(247, 245, 239, 0.7); font-size: 13px; }
.blog-featured:hover img,
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.blog-card img { aspect-ratio: 16 / 9; }
.blog-card-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .h3 { font-size: 1.12rem; margin: 6px 0 0; }
.blog-card-body p {
  color: var(--muted);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body .meta { color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }

.lead-modal[hidden] { display: none; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(19, 33, 27, 0.5); }
.lead-modal-dialog {
  position: relative;
  width: min(440px, calc(100% - 28px));
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lift);
}
.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}
body.lead-modal-open { overflow: hidden; }

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
}
.cookie-consent-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.cookie-consent p { margin: 0; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(16px); transition: 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

.empty-state { padding: 32px; text-align: center; color: var(--muted); }

@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .header-callback,
  .header-phone { display: none; }
  .header-main-row {
    gap: 8px;
    width: min(var(--container), calc(100% - 20px));
    min-height: 56px;
  }
  .header-left, .header-right { gap: 8px; min-width: 0; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 32px; height: 32px; flex-shrink: 0; }
  .brand-wordmark { min-width: 0; }
  .brand-wordmark strong {
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .brand-wordmark span {
    font-size: 10px;
    white-space: nowrap;
  }
  .nav-toggle { padding: 6px 12px; flex-shrink: 0; }
  .main-nav {
    position: fixed;
    inset: 56px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .nav-extra { display: grid; gap: 8px; padding-top: 8px; }
}

@media (max-width: 980px) {
  .hero--home, .product-hero, .cta-panel, .catalog-layout, .footer-grid, .about-grid, .mid-cta, .photo-split, .photo-mosaic { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .blog-featured { min-height: 380px; }
  .photo-mosaic { grid-template-rows: none; }
  .photo-mosaic .is-wide { grid-row: auto; min-height: 280px; }
  .sample-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-stats-bar, .notice-bar, .catalog-grid, .services-grid, .pay-ways, .split-cards, .split-cards.cols-4, .adv-grid, .blog-preview-grid, .blog-grid, .reviews-page { grid-template-columns: 1fr 1fr; }
  .mid-cta { flex-direction: column; align-items: flex-start; }
  .product-slider-track .product-card { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
  .catalog-filters { position: static; }
}

@media (max-width: 720px) {
  .hero-stats-bar, .notice-bar, .catalog-grid, .services-grid, .pay-ways, .split-cards, .split-cards.cols-4, .adv-grid, .blog-preview-grid, .blog-grid, .blog-grid--3, .reviews-page, .specs, .sample-strip { grid-template-columns: 1fr; }
  .blog-featured { min-height: 320px; }
  .blog-featured-body { padding: 20px 18px 18px; }
  .article-cover { border-radius: 20px; max-height: 280px; }
  .product-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .product-slider-track {
    transform: none !important;
    gap: 12px;
    padding-inline: calc((100% - 82%) / 2);
  }
  .product-slider-track .product-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .header-brand-info { display: none; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 8px 10px; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; }
}
