/* HimchistkaDoma — premium light system
   Refs: TravelPerk floating nav, Eventbrite/Lightship full-bleed hero,
   Rivian gallery, Contractbook/Coda spacing + social proof */

:root {
  --bg: #f6f5f2;
  --bg-alt: #ebe9e4;
  --surface: #ffffff;
  --ink: #121212;
  --text: #121212;
  --muted: #5c5c5c;
  --text-muted: #5c5c5c;
  --line: #ddd9d1;
  --border: #ddd9d1;
  --accent: #e8b01e;
  --accent-soft: #f3d36a;
  --accent-ink: #7a5a00;
  --success: #1f7a45;
  --danger: #b83228;
  --shadow-sm: 0 1px 2px rgba(18, 18, 18, 0.05);
  --shadow-md: 0 12px 40px rgba(18, 18, 18, 0.08);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-pill: 999px;
  --container: 1160px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header: floating pill (TravelPerk / Contractbook) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 12px 16px 0;
  pointer-events: none;
}

.site-header .header-shell {
  pointer-events: auto;
  max-width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled .header-shell {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 14px;
  min-height: 62px;
  padding: 8px 10px 8px 16px;
}

.header-inner--simple .header-right {
  display: flex;
  margin-left: auto;
  flex-shrink: 0;
}

.header-inner--simple .logo {
  flex: 1 1 auto;
}

.header-inner--simple .logo-main {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-inner--simple > .online-status {
  display: none !important;
}

@media (max-width: 979px) {
  .header-inner--simple .logo-sub {
    display: none;
  }

  .header-inner--simple .header-phone {
    font-size: 13px;
  }
}

@media (max-width: 639px) {
  .header-inner--simple .header-phone {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.logo > div {
  min-width: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-sub {
  font-size: 10px;
  line-height: 1.25;
  color: var(--muted);
  max-width: 11.5rem;
  white-space: normal;
}

.nav-desktop {
  display: none;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

.nav-desktop a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  width: 100%;
}

.header-right {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 12px;
}

.header-time {
  font-size: 12px;
  color: var(--muted);
  display: none;
}

.header-phone {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.burger-lines {
  width: 16px;
  height: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-lines span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger.active .burger-lines span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.burger.active .burger-lines span:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-lines span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% - 4px);
  z-index: 220;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 12px 14px 18px;
  pointer-events: auto;
  max-height: min(70vh, calc(100dvh - 96px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  display: block;
  animation: menuIn 0.28s var(--ease);
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-nav a {
  display: block;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  background: var(--bg-alt);
}

.mobile-menu-footer {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-menu-phone {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mobile-menu-email {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-menu-time {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 980px) {
  .nav-desktop,
  .header-right {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-time {
    display: block;
  }

  .burger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #2a2a2a;
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--accent-soft);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-small {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- Sections ---------- */
section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-alt {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(232, 176, 30, 0.08), transparent 60%),
    var(--bg-alt);
}

.section-header {
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: 640px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(232, 176, 30, 0.16);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Full-bleed hero (Eventbrite / Lightship) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  margin-top: -76px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.28) 0%, rgba(12, 12, 12, 0.42) 40%, rgba(12, 12, 12, 0.78) 100%),
    linear-gradient(105deg, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0.18) 58%, rgba(12, 12, 12, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 56px;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.1s forwards;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 16px;
  opacity: 0;
  animation: rise 0.75s var(--ease) 0.2s forwards;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.84);
  max-width: 52ch;
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 0.75s var(--ease) 0.32s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  animation: rise 0.75s var(--ease) 0.42s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-brand,
  .hero-title,
  .hero-subtitle,
  .hero-cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Compact page hero for inner pages */
.page-hero {
  padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}

.page-hero .section-title {
  max-width: 18ch;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 24px 0;
  display: flex;
  align-items: center;
}

.trust-strip.reveal,
html.js .trust-strip.reveal {
  transform: none;
}

.trust-strip .container {
  width: 100%;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  align-items: stretch;
}

.trust-item {
  background: var(--surface);
  padding: 20px 18px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.trust-value {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.trust-value--word {
  font-size: clamp(16px, 2.8vw, 24px);
  letter-spacing: -0.04em;
}

.trust-label {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Cards / prices ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfc9be;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-ink);
  background: rgba(232, 176, 30, 0.16);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
}

.card-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 18px;
}

.card-price {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.card-price small {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.prices-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Benefits / steps ---------- */
.benefits-grid,
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.benefit,
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-num,
.step-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
}

.benefit-title,
.step-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.benefit-text,
.step-text {
  font-size: 14px;
  color: var(--muted);
}

.step {
  position: relative;
}

.step-num {
  position: absolute;
  top: 18px;
  right: 18px;
}

@media (min-width: 640px) {
  .benefits-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Gallery (before/after split sliders) ---------- */
.gallery-wrapper {
  position: relative;
}

.gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 52px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(78vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a1a;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, opacity 0.2s, visibility 0.2s;
}

.gallery-arrow:hover {
  border-color: var(--ink);
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow.is-hidden,
.gallery-arrow:disabled {
  display: none !important;
}

.gallery-arrow-left {
  left: 0;
}

.gallery-arrow-right {
  right: 0;
}

@media (min-width: 900px) {
  .gallery-item {
    flex: 0 0 340px;
  }
}

/* Before / After comparison */
.ba-slider {
  position: relative;
  z-index: 1;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.ba-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-after {
  z-index: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 56px;
  margin-left: -28px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
}

.ba-handle * {
  pointer-events: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.ba-handle-knob {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.ba-handle:focus-visible .ba-handle-knob {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ba-label {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.ba-label-before {
  left: 12px;
}

.ba-label-after {
  right: 12px;
}

.ba-slider.is-dragging {
  cursor: grabbing;
}

.ba-slider.is-dragging .ba-handle {
  cursor: grabbing;
}

.gallery-grid.is-ba-dragging {
  overflow-x: hidden;
  scroll-snap-type: none;
  touch-action: none;
}

.ba-slider.ba-demoing .ba-handle-knob {
  animation: ba-knob-pulse 0.9s ease-in-out infinite;
}

@keyframes ba-knob-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38), 0 0 0 6px rgba(255, 255, 255, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider.ba-demoing .ba-handle-knob {
    animation: none;
  }
}

/* ---------- Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.contact-value {
  font-size: 16px;
}

.contact-value a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-value--links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.contact-value--links a {
  text-decoration: none;
}

.msg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.msg-link::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: center / contain no-repeat;
}

.msg-link--max::before {
  background-image: url("../img/max-logo.svg");
}

.msg-link--telegram::before {
  background-image: url("../img/telegram-logo.svg?v=3");
}

.msg-link--vk::before {
  background-image: url("../img/vk-logo.svg");
}

.msg-link--youtube::before {
  background-image: url("../img/youtube-logo.svg");
}

.msg-link--instagram::before {
  background-image: url("../img/instagram-logo.svg");
}

.social-disclaimer {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 46ch;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 13px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 176, 30, 0.22);
  background: var(--surface);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
}

.phone-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 176, 30, 0.22);
  background: var(--surface);
}

.phone-prefix {
  padding: 13px 0 13px 14px;
  font-weight: 700;
  color: var(--muted);
}

.phone-input-wrap input {
  border: none;
  background: transparent;
  box-shadow: none;
  padding-left: 8px;
}

.phone-input-wrap input:focus {
  box-shadow: none;
  background: transparent;
}

.upload-area {
  border: 1.5px dashed #d2cbbe;
  border-radius: var(--radius-sm);
  background: #faf6ea;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent);
  background: rgba(232, 176, 30, 0.12);
  transform: translateY(-1px);
}

.upload-text {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.upload-subtext {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.upload-info {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
}

.form-success,
.form-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-success {
  background: rgba(31, 122, 69, 0.1);
  color: var(--success);
  border: 1px solid rgba(31, 122, 69, 0.25);
}

.form-error {
  background: rgba(184, 50, 40, 0.08);
  color: var(--danger);
  border: 1px solid rgba(184, 50, 40, 0.22);
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.order-copy h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.order-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.order-checklist {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.order-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 15px;
}

.order-checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23121212' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (min-width: 880px) {
  .contact-grid,
  .order-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 28px;
  }
}

/* ---------- Promo / equipment ---------- */
.promo-grid,
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.promo,
.equipment-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

a.equipment-item {
  display: block;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}

a.equipment-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cfc9be;
}

.promo-title,
.equipment-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.promo-text,
.equipment-text {
  font-size: 14px;
  color: var(--muted);
}

.equipment-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-ink);
  margin-bottom: 8px;
}

@media (min-width: 720px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- About / reviews ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.about-logo {
  display: flex;
  justify-content: center;
}

.about-logo img {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.about-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}

.about-facts {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.about-fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.about-fact strong {
  display: block;
  font-family: var(--display);
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.review-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

.review-stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 13px;
}

.review-source {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.review-source a {
  color: var(--accent-ink);
  text-decoration: underline;
}

.review-text {
  font-size: 15px;
  color: var(--ink);
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }

  .about-logo img {
    width: 340px;
  }
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-list details[open] {
  border-color: #cfc9be;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-right: 28px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--muted);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8d4cc;
  padding: 40px 0 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.footer-links .msg-link {
  text-decoration: none;
}

.footer-links .msg-link--max::before {
  background-color: #fff;
  border-radius: 50%;
}

.social-disclaimer--footer {
  flex: 1 0 100%;
  max-width: none;
  color: #9a958c;
}

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 720px) {
  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}

/* ---------- Lightbox ---------- */
.work-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 12, 12, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.work-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.work-modal-content {
  position: relative;
  max-width: min(920px, 100%);
  max-height: 90vh;
}

.work-modal-content img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.work-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #121212;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* ---------- Helpers ---------- */
.seo-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.related-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: var(--display);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.related-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-link span {
  display: block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 24px;
  margin: 28px 0 12px;
}

.prose h3 {
  font-family: var(--display);
  font-size: 18px;
  margin: 22px 0 8px;
}

.prose p,
.prose li {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 10px;
}

.prose ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page h1 {
  font-family: var(--display);
  font-size: clamp(48px, 10vw, 88px);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs-sep {
  margin: 0 6px;
  color: var(--line);
  text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.seo-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.seo-text p + p {
  margin-top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal — never hide content; only a light motion */
html.js .reveal {
  transform: translateY(16px);
  transition: transform 0.7s var(--ease);
}

html.js .reveal.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    transform: none;
    transition: none;
  }
}

/* Compat: old hero-aside classes on regenerated pages */
.hero-inner {
  display: block;
}

.hero-aside,
.hero-photo,
.hero-form-card,
.hero-list,
.hero-guarantees,
.hero-badge {
  /* kept for non-index pages that still use split hero copy */
}

.page-hero .hero-cta {
  margin-top: 20px;
}

/* ---------- Online status ---------- */
.online-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(31, 122, 69, 0.1);
  border: 1px solid rgba(31, 122, 69, 0.22);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  max-width: min(52vw, 280px);
}
.online-status.is-offline {
  background: rgba(232, 176, 30, 0.12);
  border-color: rgba(232, 176, 30, 0.35);
}
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f7a45;
  box-shadow: 0 0 0 0 rgba(31, 122, 69, 0.55);
  animation: onlinePulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
.online-status.is-offline .online-dot {
  background: var(--accent);
  box-shadow: none;
  animation: none;
}
@keyframes onlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 122, 69, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(31, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 69, 0); }
}
.online-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.online-label { color: var(--ink); }
.online-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.online-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.online-action::before {
  content: "";
  width: 22px;
  height: 22px;
  background: center / contain no-repeat;
}
.online-action--max::before {
  background-image: url("../img/max-logo.svg");
}
.online-action--telegram::before {
  background-image: url("../img/telegram-logo.svg?v=3");
}
.online-action--call {
  background: var(--ink);
  border-color: var(--ink);
}
.online-action--call::before {
  background-image: url("../img/phone-icon.svg");
}
.online-action:hover,
.online-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header-inner .online-status { margin-left: auto; }
@media (min-width: 980px) {
  .header-inner > .online-status { display: none; }
  .header-right .online-status { max-width: none; }
  .header-time { display: none; }
}
@media (max-width: 979px) {
  .header-right .online-status { display: none; }
}
.mobile-menu-footer .online-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-height: 56px;
  margin-bottom: 14px;
  padding: 8px 8px 8px 14px;
  white-space: normal;
}
.mobile-menu-footer .online-copy {
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.mobile-menu-footer .online-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

/* ---------- Live reviews ---------- */
.reviews-live { padding: 28px 0 8px; }
.reviews-live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.reviews-live-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-live-badges a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.reviews-live-badge::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: center / contain no-repeat;
}
.reviews-live-badge--yandex::before {
  background-image: url("../img/yandex-logo.svg");
}
.reviews-live-badge--avito::before {
  background-image: url("../img/avito-icon.svg?v=2");
}
.reviews-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rating-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
}
.rating-chip strong { font-family: var(--display); font-size: 18px; }
.rating-chip span { color: var(--muted); }
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.reviews-track .review {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 160px;
}
.reviews-live .review-source {
  display: inline-block;
  margin: 6px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- Calculator ---------- */
.calc-section { padding: 36px 0 48px; }
.calc-layout {
  display: grid;
  gap: 20px;
}
.calc-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-card h3 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.02em;
}
.calc-from { font-size: 13px; color: var(--muted); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.calc-chip.is-on,
.calc-chip:hover { border-color: var(--accent); background: rgba(232, 176, 30, 0.16); }
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.calc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg);
}
.calc-stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}
.calc-stepper input {
  width: 42px;
  height: 36px;
  border: 0;
  text-align: center;
  background: transparent;
  font-weight: 700;
}
.calc-extras {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.calc-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.calc-drying {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(232, 176, 30, 0.1);
  border: 1px solid rgba(232, 176, 30, 0.28);
  font-size: 14px;
}
.calc-drying input { margin-top: 3px; }
.calc-sticky {
  position: sticky;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 18, 0.94);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.calc-sticky .calc-sum {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}
.calc-sticky .calc-hint { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
@media (min-width: 980px) {
  .calc-layout { grid-template-columns: 1.4fr .8fr; align-items: start; }
  .calc-cats { grid-template-columns: 1fr 1fr; }
  .calc-sticky { bottom: 20px; }
}
@media (max-width: 720px) {
  .calc-sticky { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

.calc-list {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.calc-item:last-of-type { border-bottom: 0; }
.calc-item-name {
  font-weight: 700;
  font-size: 15px;
}
.calc-item-price {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.calc-list .calc-drying {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(232, 176, 30, 0.28);
}
.calc-aside { position: relative; }
@media (min-width: 980px) {
  .calc-layout { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); }
  .calc-sticky { position: sticky; top: 96px; bottom: auto; }
}


/* ---------- 390 / 1280 pass ---------- */
.header-inner > .online-status {
  margin-left: auto;
  width: 28px;
  height: 28px;
  min-height: 28px;
  max-width: 28px;
  padding: 0;
  justify-content: center;
  background: transparent;
  border: 0;
}
.header-inner > .online-status .online-copy { display: none; }
.header-inner > .online-status .online-dot { width: 10px; height: 10px; }
@media (min-width: 980px) {
  .header-inner > .online-status { display: none; }
}
@media (max-width: 979px) {
  .logo-sub { display: none; }
}

.calc-stepper button,
.calc-stepper input {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.calc-stepper input { width: 48px; }

.calc-sticky {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.calc-sticky .calc-hint { color: var(--muted); }
.calc-sticky .btn-accent { min-height: 48px; }

@media (max-width: 979px) {
  .calc-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
  }
  .calc-sticky .btn-accent { width: 100%; }
  body.has-calc {
    padding-bottom: 132px;
  }
  body.has-calc .mobile-call-bar { display: none !important; }
}

@media (min-width: 980px) {
  .calc-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); align-items: start; }
  .calc-sticky {
    position: sticky;
    top: 96px;
    bottom: auto;
  }
}

.reviews-widgets {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .reviews-widgets { grid-template-columns: 1.4fr .8fr; }
}
.reviews-widget {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 520px;
}
.reviews-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  flex-shrink: 0;
}
.reviews-widget-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reviews-widget-brand--yandex::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: center / contain no-repeat url("../img/yandex-logo.svg");
}
.reviews-widget iframe[title="Рейтинг на Яндекс Картах"] {
  flex-shrink: 0;
}
.reviews-widget iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
}
.reviews-widget iframe[title="Отзывы Яндекс Карт"] {
  flex: 1 1 auto;
  min-height: 420px;
  height: 100%;
}
.avito-widget {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  color: inherit;
}
.avito-widget-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.avito-logo {
  display: block;
  width: auto;
  height: 24px;
}
.avito-widget .avito-score {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.avito-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.avito-reviews-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.avito-review {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.avito-review:last-child { border-bottom: 0; }
.avito-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.avito-review-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}
.avito-review-stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 12px;
  flex-shrink: 0;
}
.avito-review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.avito-widget-cta {
  margin: 14px 18px 18px;
  align-self: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  margin-top: auto;
}

.online-status--dot,
.header-inner > .online-status {
  width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  padding: 0 !important;
  margin-left: auto;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
}
.online-status--dot .online-copy,
.header-inner > .online-status .online-copy {
  display: none !important;
}
.mobile-call-bar { display: none !important; }
body { padding-bottom: 0; }
@media (max-width: 979px) {
  body.has-calc { padding-bottom: 128px; }
}

@media (max-width: 979px) {
  .calc-sticky {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0 !important;
    top: auto !important;
  }
  .calc-layout {
    padding-bottom: 0;
  }
  body.has-calc {
    padding-bottom: 128px !important;
  }
}

.card-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.card-price-stack span { display: block; white-space: nowrap; }
html { scroll-padding-top: 88px; }
@media (max-width: 979px) {
  .site-header { padding-bottom: 10px; }
}

@media (max-width: 979px) {
  html { scroll-padding-top: 88px; }
  .calc-list { scroll-margin-top: 88px; }
  .calc-item { scroll-margin-top: 88px; }
}

.header-right .online-status { display: none !important; }
.header-hours {
  display: none;
  font-size: 13px;
  white-space: nowrap;
  color: var(--ink);
}
.header-messengers {
  display: none;
  align-items: center;
  gap: 10px;
}
.header-max,
.header-telegram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.header-max::before,
.header-telegram::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: center / contain no-repeat;
}
.header-max::before {
  background-image: url("../img/max-logo.svg");
}
.header-telegram::before {
  background-image: url("../img/telegram-logo.svg?v=3");
}
.header-max:hover,
.header-max:focus-visible {
  color: #471AFF;
}
.header-telegram:hover,
.header-telegram:focus-visible {
  color: #229ED9;
}
@media (min-width: 980px) {
  .header-messengers { display: inline-flex; flex-shrink: 0; }
  .header-cta { flex-shrink: 0; }
  .header-right {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
  }
}
/* Часы — только на широких мониторах, где shell успевает вырасти */
@media (min-width: 1600px) {
  .header-hours,
  .header-time { display: block; }
  .logo { flex-shrink: 0; }
  .logo-sub {
    max-width: 11.5rem;
    font-size: 10.5px;
  }
  .header-right { gap: 14px; }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .logo-sub { display: none; }
  .header-inner { gap: 10px; }
  .nav-desktop { gap: 4px 10px; font-size: 12.5px; }
  .header-right { gap: 10px; }
  .header-phone { font-size: 14px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .header-inner { gap: 10px; }
  .nav-desktop { gap: 2px 9px; font-size: 12.5px; }
  .header-right { gap: 10px; }
  .header-phone { font-size: 14px; }
  .logo-sub { max-width: 9.75rem; }
}
@media (max-width: 1279px) {
  .header-max,
  .header-telegram {
    font-size: 0;
    gap: 0;
    letter-spacing: 0;
  }
}
