/* КАМВЕРО Design v4 — «Галерея среза»
   Не cream/bronze (v1), не chalk/copper (v2), не ink/orange industrial (v3) */

:root {
  --fog: #EBE8E3;
  --paper: #F4F2EE;
  --ink: #2C2F31;
  --ink-soft: #5E6368;
  --teal: #6B7178;
  --teal-deep: #45494D;
  --accent: #A97850;
  --accent-deep: #8B6240;
  --accent-light: #D9C8B4;
  --lime: var(--accent);
  --lime-ink: #FFFAF5;
  --warm: #C4B8A8;
  --silver: #B5B8BC;
  --line: rgba(44, 47, 49, 0.12);
  --shadow: 0 24px 60px rgba(44, 47, 49, 0.1);
  --pad: clamp(1.5rem, 5vw, 4.5rem);
  --max: 1240px;
  --font-d: "Jost", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -8%, rgba(107, 113, 120, 0.1), transparent 55%),
    radial-gradient(900px 480px at 92% 8%, rgba(169, 120, 80, 0.14), transparent 50%),
    linear-gradient(180deg, var(--fog), var(--paper) 42%, var(--fog));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: var(--accent-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--glass {
  background: rgba(244, 248, 251, 0.2);
  border-color: rgba(244, 248, 251, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(244, 248, 251, 0.35); }
.btn--block { width: 100%; }
.link { font-weight: 600; color: var(--accent); border-bottom: 1.5px solid transparent; }
.link:hover { border-color: var(--accent); }

/* ——— Header ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(235, 232, 227, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.brand__logo {
  height: clamp(44px, 6.5vw, 64px);
  width: auto;
  display: block;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}
.menu a:hover { color: var(--accent); }
.top__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}
.top__phone { font-weight: 600; white-space: nowrap; font-size: 0.95rem; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); }

/* ——— Hero ——— */
.hero {
  --header-h: 88px;
  position: relative;
  height: calc(100svh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  max-height: calc(100svh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(44, 47, 49, 0.9) 0%, rgba(44, 47, 49, 0.55) 42%, rgba(44, 47, 49, 0.18) 68%, transparent 85%),
    linear-gradient(0deg, rgba(44, 47, 49, 0.62) 0%, transparent 48%);
}
.hero__in {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(0.75rem, 2vh, 1.5rem) var(--pad) clamp(2.75rem, 7vh, 5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.hero__title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  max-width: 14ch;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: brand-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__lead {
  max-width: 40ch;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  animation: brand-in 0.9s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(0.75rem, 1.8vh, 1.15rem);
  animation: brand-in 0.9s 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__cta .btn { min-height: 44px; }
@keyframes brand-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__stats {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.hero__stats li {
  background: rgba(44, 47, 49, 0.66);
  padding: clamp(0.55rem, 1.2vh, 0.8rem) clamp(0.75rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero__stats b {
  font-family: var(--font-d);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-light);
}
.hero__stats span { font-size: 0.78rem; opacity: 0.85; line-height: 1.25; }

/* ——— Ribbon ——— */
.ribbon {
  max-width: var(--max);
  margin: -1px auto 0;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--teal);
  color: #fff;
  position: relative;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 97% 100%, 0 100%);
}
.ribbon__tag {
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
}
.ribbon p { margin: 0; flex: 1; min-width: 220px; font-size: 0.95rem; }
.ribbon a { font-weight: 700; white-space: nowrap; border-bottom: 1.5px solid var(--accent-light); color: var(--accent-light); }

/* ——— Catalog index ——— */
.dex {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}
.dex__head { margin-bottom: 2rem; max-width: 40rem; }
.dex__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.dex__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  min-height: 520px;
}
.dex__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dex__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1.15rem 0.5rem 1.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, padding 0.2s;
}
.dex__row:hover,
.dex__row.is-on {
  background: rgba(107, 113, 120, 0.08);
  padding-left: 0.65rem;
}
.dex__row.is-on .dex__name { color: var(--accent); }
.dex__n {
  font-family: var(--font-d);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.dex__name { font-weight: 600; font-size: 1.05rem; }
.dex__price { font-size: 0.9rem; color: var(--ink-soft); white-space: nowrap; }
.dex__preview {
  position: sticky;
  top: 100px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.dex__preview img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  transition: opacity 0.35s;
}
.dex__preview-cap {
  padding: 1rem 1.25rem 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  background: var(--ink);
}
.dex__preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem 1.25rem;
  background: var(--ink);
}
.dex__preview-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.dex__preview-actions .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* ——— Spine process ——— */
.spine {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad);
  background:
    linear-gradient(180deg, transparent, rgba(107, 113, 120, 0.07) 40%, transparent),
    var(--paper);
}
.spine__head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}
.spine__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.spine__track {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.spine__track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--teal), var(--accent));
  transform: translateX(-50%);
}
.spine__track li {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2rem;
}
.spine__track li:nth-child(odd) .spine__body { grid-column: 1; text-align: right; }
.spine__track li:nth-child(even) .spine__body { grid-column: 3; text-align: left; }
.spine__track li:nth-child(odd) .spine__dot { grid-column: 2; }
.spine__track li:nth-child(even) .spine__dot { grid-column: 2; }
.spine__dot {
  width: 16px;
  height: 16px;
  margin: 0.35rem auto 0;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--accent-deep);
  box-shadow: 0 0 0 4px var(--paper);
  position: relative;
  z-index: 1;
  justify-self: center;
}
.spine__body b {
  display: block;
  font-family: var(--font-d);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.spine__body p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ——— Mosaic works ——— */
.mosaic {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}
.mosaic__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.mosaic__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0; }
.mosaic__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}
.mosaic__big,
.mosaic__stack article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.mosaic__stack { display: grid; gap: 1rem; }
.mosaic__media {
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.mosaic__big .mosaic__media { aspect-ratio: 5 / 4; flex: 1; min-height: 380px; }
.mosaic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic__big:hover img,
.mosaic__stack article:hover img { transform: scale(1.04); }
.mosaic__meta {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.mosaic__meta span { font-size: 0.8rem; color: var(--ink-soft); }
.mosaic__meta h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.mosaic__big { min-height: 100%; }

/* ——— Material slabs ——— */
.slabs {
  padding: clamp(3.5rem, 7vw, 5rem) var(--pad);
  background: var(--ink);
  color: #fff;
}
.slabs__head {
  max-width: var(--max);
  margin: 0 auto 2rem;
}
.slabs__head .eyebrow { color: var(--accent-light); }
.slabs__head p { color: rgba(255, 255, 255, 0.7); max-width: 40ch; }
.slabs__row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.slab {
  aspect-ratio: 3 / 4;
  border-radius: var(--r);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, var(--c1), var(--c2)),
    repeating-linear-gradient(-35deg, transparent, transparent 8px, rgba(255,255,255,0.08) 8px, rgba(255,255,255,0.08) 9px);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s;
}
.slab:hover { transform: translateY(-6px) rotate(-1deg); }
.slab--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.slab__logo {
  width: min(90%, 160px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: none;
  pointer-events: none;
}

/* ——— Pros ——— */
.pros {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pros__item {
  padding-top: 1rem;
  border-top: 3px solid var(--accent);
}
.pros__item em {
  font-family: var(--font-d);
  font-style: normal;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.pros__item h3 { font-size: 1.05rem; }
.pros__item p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ——— Calculator panel ——— */
.panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3.5rem, 8vw, 5.5rem);
}
.panel__head { margin-bottom: 1.75rem; max-width: 36rem; }
.panel__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.panel__body {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.panel__form {
  display: grid;
  gap: 1rem;
}
.panel__form label,
.panel__pair label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.panel__form span { color: var(--ink-soft); }
.panel__form input,
.panel__form select,
.reach input:not([type="checkbox"]),
.reach textarea {
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font-weight: 500;
}
.panel__form input:focus,
.panel__form select:focus,
.reach input:not([type="checkbox"]):focus,
.reach textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.panel__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.panel__body--cta {
  align-items: stretch;
}
.panel__cta-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.panel__cta-list {
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.panel__cta-list p { margin: 0; }
.panel__rates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.panel__rate {
  padding: 0.85rem 1rem;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.panel__rate-val {
  display: block;
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1.2;
}
.panel__rate-lbl {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.panel__example {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(169, 120, 80, 0.08);
  border-radius: var(--r);
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.panel__example strong { color: var(--ink); }
.panel__sum--calc {
  justify-content: flex-start;
  text-align: left;
  align-items: stretch;
  gap: 0.85rem;
}
.panel__sum-lead {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: #fff;
}
.panel__sum--calc .panel__note {
  text-align: left;
  opacity: 0.75;
  font-size: 0.82rem;
}
.panel__sum-phone {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.panel__sum-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.panel__sum {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.ring {
  position: relative;
  width: 168px;
  height: 168px;
}
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 8;
}
.ring__val {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 90;
  animation: ring-draw 1.4s ease-out both;
}
@keyframes ring-draw {
  from { stroke-dashoffset: 327; }
  to { stroke-dashoffset: 90; }
}
.ring__num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring__num small { font-size: 0.8rem; opacity: 0.7; }
.ring__num b {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
}
.panel__note { font-size: 0.8rem; opacity: 0.7; margin: 0; }

/* ——— Voices ——— */
.voices {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) var(--pad);
}
.voices__head { margin-bottom: 1.15rem; }
.voices__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.voices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.voices blockquote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: rgba(107, 113, 120, 0.08);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
}
.voices__av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.voices p { font-size: 1.05rem; margin-bottom: 0.75rem; }
.voices cite { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); }

/* ——— Blog feed ——— */
.feed {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) clamp(3.5rem, 7vw, 5rem);
}
.feed__head { margin-bottom: 1.5rem; }
.feed__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.feed__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.feed__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr 140px;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.feed__item:hover { background: rgba(107, 113, 120, 0.06); }
.feed__item time {
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.feed__item h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.feed__item p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.feed__item img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--r);
}

/* ——— Contacts ——— */
.reach {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3.5rem, 8vw, 5.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}
.reach__form,
.reach__info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.reach__form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.reach__form form { display: grid; gap: 0.9rem; margin-top: 1.25rem; }
.reach__form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; }
.reach__form label > span { color: var(--ink-soft); }
.reach textarea { resize: vertical; min-height: 96px; }
.reach__form label.reach__check {
  display: grid;
  grid-template-columns: 1.125rem 1fr;
  align-items: start;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.reach__check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.reach__form label.reach__check > span {
  color: var(--ink-soft);
  line-height: 1.45;
  padding-top: 0.05rem;
}

.reach__form label.reach__check > span a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.reach__phone {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.reach__info p { color: var(--ink-soft); }
.reach__inn { font-size: 0.85rem; }
.reach__msg { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }

/* ——— Footer ——— */
.foot {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem var(--pad) 1.5rem;
}
.foot__grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.foot strong { color: #fff; display: block; margin-bottom: 0.5rem; font-family: var(--font-d); font-size: 0.95rem; }
.foot b { color: #fff; display: block; margin-bottom: 0.65rem; font-size: 0.85rem; }
.foot a { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; }
.foot a:hover { color: var(--accent-light); }
.foot__bot {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ——— FAB ——— */
.fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.fab.is-on { opacity: 1; pointer-events: auto; transform: none; }
.fab a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.22);
  transition: transform 0.2s;
}
.fab a:hover { transform: scale(1.06); }
.fab .icon { width: 22px; height: 22px; display: block; }
.fab svg { width: 22px; height: 22px; display: block; }
.fab__calc { background: var(--accent); color: #fff; }
.fab__max {
  padding: 0;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
}
.fab__max img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.fab__tg {
  padding: 0;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
}
.fab__tg img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(50% at 50% 50%);
}

.btn--max {
  border-color: rgba(124, 58, 237, 0.35);
  color: #6d28d9;
}
.btn--max:hover {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  color: #5b21b6;
}
.btn__max-icon {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}
.btn__tg-icon {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(50% at 50% 50%);
  flex-shrink: 0;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .menu { display: none; }
  .menu.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: var(--fog);
    padding: 1rem var(--pad) 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.75rem;
  }
  .top { position: sticky; }
  .top__in { position: relative; }
  .top__end { gap: 0.5rem; }
  .top__end .btn--ink,
  .top__end .burger {
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
  }
  .top__end .btn--ink {
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }
  .burger {
    display: flex;
    width: 40px;
    padding: 0;
  }
  .top__phone { display: none; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stats li { padding: 0.5rem 0.65rem; }
  .hero__stats span { font-size: 0.68rem; }
  .dex__grid,
  .mosaic__grid,
  .panel__body,
  .reach,
  .voices__grid { grid-template-columns: 1fr; }
  .mosaic__big .mosaic__media { min-height: 280px; }
  .dex__preview { position: relative; top: 0; min-height: 360px; }
  .slabs__row { grid-template-columns: repeat(3, 1fr); }
  .pros { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .spine__track::before {
    left: 14px;
    transform: translateX(-50%);
  }
  .spine__track li {
    grid-template-columns: 28px 1fr;
    gap: 0.85rem;
  }
  .spine__track li:nth-child(odd) .spine__dot,
  .spine__track li:nth-child(even) .spine__dot {
    grid-column: 1;
    justify-self: center;
    margin: 0.2rem 0 0;
  }
  .spine__track li:nth-child(odd) .spine__body,
  .spine__track li:nth-child(even) .spine__body {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .brand__logo { height: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li { padding: 0.55rem 0.85rem; }
  .hero__title { max-width: 16ch; }
  .slabs__row { grid-template-columns: repeat(2, 1fr); }
  .pros { grid-template-columns: 1fr; }
  .feed__item { grid-template-columns: 1fr; }
  .feed__item img { width: 100%; height: 160px; }
  .panel__pair { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .ribbon { clip-path: none; }
}
