/* Anti-spam honeypot — скрытое поле, невидимое для человека */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; pointer-events: none; }

:root {
  --bg: #f7f3ee;
  --bg-soft: #fbf8f4;
  --card: rgba(255,255,255,.72);
  --card-solid: #ffffff;
  --text: #221f1c;
  --muted: #6b625a;
  --line: rgba(34,31,28,.1);
  --accent: #b68a5a;
  --accent-dark: #946d43;
  --accent-2: #d7c2ab;
  --success: #1f7a55;
  --danger: #b84646;
  --shadow: 0 4px 12px rgba(40, 29, 18, 0.08), 0 8px 24px -6px rgba(40, 29, 18, 0.06);
  --bg-shape-opacity: 0.35;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 12px;
  --container: 1280px;

  /* Typography scale — use these instead of hardcoded values */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-h3: 22px;
  --text-h2: 28px;
  --text-h1: clamp(28px, 3.5vw, 48px);

  /* Font weights */
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line heights */
  --lh-tight: 1.05;
  --lh-compact: 1.2;
  --lh-base: 1.6;
  --lh-lead: 1.4;

  /* Letter spacing */
  --ls-tight: -0.03em;
  --ls-wide: 0.06em;
  --ls-xs: 0.04em;

  /* Legacy — kept for backward compat */
  --font-size: 15px;
}

* { box-sizing: border-box; }

[id] {
  scroll-margin-top: 70px;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
}

/* ── Прелоадер ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f3ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#preloader.hide { opacity: 0; pointer-events: none; }
#preloader-mirror {
  width: 70px;
  height: 95px;
  border: 1px solid rgba(182,138,90,.6);
  background: linear-gradient(135deg, rgba(215,194,171,.3), transparent 70%);
  animation: mirror-morph 4s ease-in-out infinite;
}
@keyframes mirror-morph {
  0%   { border-radius: 8px;               transform: scale(1,1); }
  25%  { border-radius: 35px 35px 8px 8px; transform: scale(1,1); }
  50%  { border-radius: 50%;               transform: scale(.85,.78); }
  75%  { border-radius: 35px 35px 8px 8px; transform: scale(.78,1); }
  100% { border-radius: 8px;               transform: scale(1,1); }
}
#preloader-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
#preloader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(182,138,90,.2);
  transition: background 0.3s ease;
}
#preloader-dots span.active { background: rgba(182,138,90,.85); }

/* Параллакс фон */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
}

.parallax-circle {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.parallax-circle--1 {
  width: 520px;
  height: 520px;
  top: 8%;
  left: -12%;
  opacity: calc(var(--bg-shape-opacity) * 0.86);
  background: radial-gradient(circle at 40% 40%, rgba(215,194,171,.28), rgba(182,138,90,.08) 55%, transparent 80%);
  border: 1.5px solid rgba(182,138,90,.20);
  --dur: 12s;
}

.parallax-circle--2 {
  width: 360px;
  height: 360px;
  top: 42%;
  right: -6%;
  opacity: calc(var(--bg-shape-opacity) * 1.14);
  background: radial-gradient(circle at 60% 35%, rgba(215,194,171,.20), transparent 70%);
  border: 1.5px solid rgba(182,138,90,.16);
  --dur: 15s; --delay: 1s;
  animation-direction: reverse;
}

.parallax-circle--3 {
  display: none;
  width: 650px;
  height: 650px;
  top: 78%;
  left: 5%;
  opacity: calc(var(--bg-shape-opacity) * 0.63);
  background: radial-gradient(circle at 50% 50%, rgba(215,194,171,.16), transparent 65%);
  border: 1px solid rgba(182,138,90,.10);
  --dur: 18s; --delay: 4s;
}

.parallax-circle--4 {
  width: 280px;
  height: 280px;
  top: 130%;
  right: 12%;
  opacity: calc(var(--bg-shape-opacity) * 1.29);
  background: radial-gradient(circle at 45% 45%, rgba(215,194,171,.22), transparent 70%);
  border: 1.5px solid rgba(182,138,90,.18);
  --dur: 13s; --delay: 2s;
  animation-direction: reverse;
}

.parallax-circle--5 {
  display: none;
  width: 440px;
  height: 440px;
  top: 170%;
  left: 52%;
  opacity: calc(var(--bg-shape-opacity) * 0.80);
  background: radial-gradient(circle at 50% 50%, rgba(215,194,171,.16), transparent 70%);
  border: 1px solid rgba(182,138,90,.12);
  --dur: 16s; --delay: 6s;
}

.mirror-shape {
  position: absolute;
  will-change: transform;
  border: 1.5px solid rgba(182,138,90,.18);
}

.mirror-shape--rect-1 {
  width: 200px;
  height: 290px;
  top: 22%;
  right: 6%;
  border-radius: 16px;
  opacity: calc(var(--bg-shape-opacity) * 1.0);
  background: linear-gradient(135deg, rgba(215,194,171,.12), transparent 60%);
  --base-rotate: 12deg;
  --dur: 13s; --delay: 1s;
}

.mirror-shape--rect-2 {
  display: none;
  width: 150px;
  height: 220px;
  top: 88%;
  left: 2%;
  border-radius: 12px;
  opacity: calc(var(--bg-shape-opacity) * 0.80);
  background: linear-gradient(135deg, rgba(215,194,171,.10), transparent 60%);
  --base-rotate: -8deg;
  --dur: 16s; --delay: 3s;
  animation-direction: reverse;
}

.mirror-shape--arch-1 {
  width: 170px;
  height: 245px;
  top: 58%;
  right: 18%;
  border-radius: 85px 85px 16px 16px;
  opacity: calc(var(--bg-shape-opacity) * 1.09);
  background: linear-gradient(180deg, rgba(215,194,171,.12), transparent 70%);
  --base-rotate: 0deg;
  --dur: 14s; --delay: 5s;
}

.mirror-shape--round-1 {
  width: 190px;
  height: 190px;
  top: 115%;
  left: 30%;
  border-radius: 50%;
  opacity: calc(var(--bg-shape-opacity) * 0.91);
  background: radial-gradient(circle, rgba(215,194,171,.14), transparent 70%);
  --base-rotate: 0deg;
  --dur: 11s; --delay: 2s;
  animation-direction: reverse;
}

@keyframes float-slow {
  0%   { transform: translate(0px, 0px) scale(1); }
  20%  { transform: translate(8px, -28px) scale(1.03); }
  45%  { transform: translate(-6px, -18px) scale(1.01); }
  65%  { transform: translate(10px, 16px) scale(0.98); }
  80%  { transform: translate(-4px, 8px) scale(1.02); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float-idle {
  0%   { transform: translateY(0px) translateX(0px) rotate(var(--base-rotate, 0deg)); }
  25%  { transform: translateY(-20px) translateX(6px) rotate(calc(var(--base-rotate, 0deg) + 2.5deg)); }
  50%  { transform: translateY(-10px) translateX(-4px) rotate(calc(var(--base-rotate, 0deg) + 1deg)); }
  75%  { transform: translateY(12px) translateX(5px) rotate(calc(var(--base-rotate, 0deg) - 2deg)); }
  100% { transform: translateY(0px) translateX(0px) rotate(var(--base-rotate, 0deg)); }
}

main {
  position: relative;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(247,243,238,.78);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar--hidden {
  transform: translateY(-100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand__logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: var(--font-size);
}

.nav a:hover { color: var(--text); }

.nav__active {
  color: var(--accent) !important;
  position: relative;
}

.nav__active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.topbar__actions .btn--primary {
  display: none;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.topbar__contacts {
  display: none;
  align-items: center;
  gap: 15px;
  margin-right: 16px;
  flex-shrink: 0;
}

.social-icon {
  flex-shrink: 0;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: transparent;
  border: none;
  outline: none;
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
  font-family: inherit;
  border-radius: 6px;
}

.region-btn:hover { color: var(--text); }
.region-btn:focus { outline: none; }

/* ── Burger button ── */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 10px;
  transition: background 0.2s;
}

.burger:hover { background: rgba(34,31,28,.06); }

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mobile-menu__topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.burger--close span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--close span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger--close span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 6px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.15s, border-color 0.15s;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:active {
  background: rgba(255,255,255,.9);
  border-color: rgba(182,138,90,.2);
}

.mobile-menu__nav a.nav__active {
  color: var(--accent);
  background: rgba(182,138,90,.08);
  border-color: rgba(182,138,90,.2);
}

.mobile-menu__nav a.nav__active::after { display: none; }

.mobile-menu__nav-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.4;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(34,31,28,.04);
  border-radius: 14px;
}

.mobile-menu__contacts-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mobile-menu__social .social-icon img {
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.mobile-menu__social .social-icon:hover img {
  opacity: 1;
  filter: grayscale(0);
}

.mobile-menu__contacts a,
.mobile-menu__contacts span {
  font-size: 0.9375rem;
  color: var(--muted);
}

.mobile-menu__contacts a {
  color: var(--text);
}

.phone {
  font-weight: 700;
  white-space: nowrap;
}

/* ── Buttons ── */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  box-shadow: 0 16px 40px rgba(148, 109, 67, 0.35);
}

.btn:active { opacity: 0.95; }

.btn--primary:hover { filter: brightness(1.08); }
.btn--primary:active { filter: brightness(0.96); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 32px rgba(148,109,67,.28);
}
.btn--secondary {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost {
  background: #9d590e42;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
}
.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(182,138,90,.4);
  color: var(--accent-dark);
}
.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(182,138,90,.08);
}
.btn--wide { width: 100%; }
.btn--success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 12px 32px rgba(31,122,85,.28);
}
.btn--error {
  background: var(--danger);
  box-shadow: 0 12px 32px rgba(184,70,70,.28);
}

/* ── Hero ── */
.hero {
  padding: 16px 0 24px;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__content {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(24,19,15,.74), rgba(24,19,15,.26) 48%, rgba(24,19,15,.08) 80%),
    url('') center/cover no-repeat;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: 80% center !important;
}

.hero__content-inner {
  padding: 22px;
  color: #fff;
  max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgb(223 177 95 / 8%);
    border: 1px solid rgb(255 255 255 / 64%);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -.03em;
  max-width: 760px;
}

.hero__lead {
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 620px;
  color: rgba(255,255,255,.88);
  margin: 0 0 24px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 16px;
}

.hero__stats.hero__stats--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.hero__stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

.hero__stat strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ── Calc card ── */
.calc-card {
  border-radius: 24px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(31,24,24,.08), inset 0 1px 0 rgb(255,255,255);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: initial;
}

#mirrorWizard {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mirrorWizard .wizard-steps {
  flex: 1;
  padding-bottom: 15px;
}

#mirrorWizard .wizard-nav {
  margin-top: auto;
}

.calc-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.calc-card__head > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.calc-card__title {
  margin: 0;
}

.calc-card__title {
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 6px;
  letter-spacing: -.03em;
}

.calc-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* ── Fields ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
  margin-bottom: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  padding: 0 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(4px);
}

.field textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(182,138,90,.65);
  box-shadow: 0 0 0 3px rgba(182,138,90,.15);
  background: rgba(255,255,255,1);
  transform: translateY(-1px);
}

.field-highlighted input,
.field-highlighted select,
.field-highlighted textarea {
  border-color: rgba(31,122,85,.65);
  box-shadow: 0 0 0 4px rgba(31,122,85,.2);
  animation: highlight-pulse 0.6s ease-out;
}

@keyframes highlight-pulse {
  0% { box-shadow: 0 0 0 8px rgba(31,122,85,.3); }
  100% { box-shadow: 0 0 0 4px rgba(31,122,85,.2); }
}

.calc-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

/* ── Sections ── */
.section {
  padding: 28px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section--bg {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 40px rgba(40,29,18,.12);
  padding: 36px 0 28px;
  position: relative;
  overflow: hidden;
}
.section--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(214,188,157,.22), transparent 42%);
  pointer-events: none;
}
.section--bg .container {
  position: relative;
  z-index: 1;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -.04em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 14px;
}

/* ── Cards grid ── */
.cards-5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.cards-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cards-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

/* 6-column grid for b2b cases */
.cases-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 14px;
}

/* ── Card ── */
.card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:not(:has(.card__media)) {
  padding: 1.25rem 1.5rem;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(40,29,18,.10);
  border-color: rgba(182, 138, 90, 0.25);
}

#casesGrid {
  min-height: 200px;
}
#casesGrid .card {
  overflow: hidden;
  cursor: pointer;
}
#casesGrid .card__media {
  aspect-ratio: 3 / 3;
}
#casesGrid .card__body {
  padding: 0.875rem 1.125rem 1rem;
}
#casesGrid .card__kicker {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
#casesGrid .card__title {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}
#casesGrid .card__text {
  font-size: 13px;
}

.card__media {
  aspect-ratio: 1.15 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: opacity .2s ease;
}

.card:hover .card__media {
  opacity: .9;
}

.card__badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card__badge svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__kicker {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.card__title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -.03em;
}
.card h3 {
  line-height: 1.3;
}

.card__text {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: var(--font-size);
  line-height: 1.3;
  flex: 1 0 auto;
  min-height: 0;
}

.card__body .btn {
  margin-top: 0;
}

.card--accent {
  border-left: 3px solid var(--accent);
  border-radius: 16px;
}

.card--accent .card__body {
  padding: 16px 18px;
}

.card--accent .card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0;
  line-height: 1.4;
}

.card--accent .card__text {
  font-size: .85rem;
  margin: 4px 0 0;
}

/* ── Feature list ── */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(31,24,24,.08), inset 0 1px 0 rgb(255,255,255);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.feature:hover {
  background: var(--card-solid);
  box-shadow: 0 8px 24px rgba(31,24,24,.12);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8e6d1, #d8b084);
  margin-bottom: 16px;
  color: #4a3728;
}

.feature__icon svg {
  width: 28px;
  height: 28px;
  color: #4a3728;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* ── Why list ── */
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-soft);
  transition: background .2s;
}

.why-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(182,138,90,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.why-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
}

.why-item__text {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.why-item--cta {
  background: linear-gradient(135deg, rgba(182,138,90,.08), rgba(182,138,90,.04));
  border: 1.5px solid rgba(182,138,90,.25);
  transition: none;
}
.why-item--cta:hover {
  background: linear-gradient(135deg, rgba(182,138,90,.08), rgba(182,138,90,.04));
}
.why-item--cta .why-item__body {
  height: 100%;
}
.why-item--cta .why-item__icon {
  background: rgba(182,138,90,.18);
}

/* ── Utilities ── */
.section__lead { margin-top: 0.5rem; }

.trust-strip {
  padding: 1.5rem 0;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.card-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.card-icon-row h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(182,138,90,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.card-body-text {
  color: var(--muted);
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Cards slider (Swiper) ── */
.cards-slider-wrap {
  position: relative;
  overflow: visible;
}

.cards-slider-wrap--start {
  padding-left: 1rem;
  padding-right: 1rem;
}

.cards-slider.swiper {
  overflow: visible;
}

.cards-slider .swiper-wrapper {
  align-items: stretch;
  height: auto;
}

.cards-slider .card {
  pointer-events: auto;
}

.cards-slider .preset-btn {
  pointer-events: auto;
  touch-action: manipulation;
}

.cards-slider .swiper-slide {
  width: 75vw;
  height: auto;
  box-shadow: none;
  border-color: var(--line);
}

/* ── Slider nav ── */
.slider-nav {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.slider-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--card-solid);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.slider-nav__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.slider-nav__btn:disabled,
.slider-nav__btn.swiper-button-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  background: var(--bg-soft);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}

.ticker:hover { animation-play-state: paused; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--muted);
  padding: 0 8px;
}

.ticker__item svg {
  flex-shrink: 0;
  opacity: .5;
}

.ticker__sep {
  color: var(--accent-2);
  font-size: .9rem;
  padding: 0 4px;
  user-select: none;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}

/* ── Audience grid ── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  background: var(--bg-soft);
  transition: background .2s;
}

.audience-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(182,138,90,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.audience-item__title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.audience-item__text {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 14px;
}

.bento__item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px;
  background: var(--card-solid);
  border: 1px solid rgba(182,138,90,.15);
  box-shadow: 0 4px 24px rgba(40,29,18,.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
  min-height: 140px;
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(40,29,18,.13);
}

.bento__item--wide {
  grid-column: span 1;
}

.bento__item--tall {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: flex-start;
  padding-top: 28px;
}

.bento__item--accent {
  background: linear-gradient(135deg, #f5ede2 0%, #ede0ce 100%);
  border-color: rgba(182,138,90,.25);
}

.bento__item--accent .bento__title {
  color: #2a1f14;
}

.bento__item--accent .bento__sub {
  color: var(--muted);
}

.bento__item--dark {
  background: linear-gradient(135deg, #faf6f0 0%, #f0e8db 100%);
  border-color: rgba(182,138,90,.2);
}

.bento__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(182,138,90,.12);
  pointer-events: none;
}

.bento__icon {
  color: var(--accent);
  margin-bottom: 4px;
}

.bento__title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
  color: var(--text);
}

.bento__sub {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.bento__tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(182,138,90,.2);
  color: var(--accent);
  border: 1px solid rgba(182,138,90,.3);
  width: fit-content;
}

/* ── Advantages ── */
.advantages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.advantages__text .section__title {
  margin-bottom: 16px;
}

.advantages__lead {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.advantages__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.advantages__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--text);
}

.advantages__list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.advantages__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.advantages__stat {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advantages__stat-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--accent);
}

.advantages__stat-label {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.4;
}

.advantages__stat--accent {
  background: linear-gradient(135deg, rgba(182,138,90,.12), rgba(182,138,90,.06));
  border-color: rgba(182,138,90,.25);
  align-items: flex-start;
}

.advantages__stat--accent svg {
  color: var(--accent);
  margin-bottom: 4px;
}

.advantages__stat--accent .advantages__stat-label {
  font-size: .875rem;
  color: var(--text);
  font-weight: 600;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.advantage-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
  border-color: rgba(182,138,90,.25);
}

.advantage-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(182,138,90,.12), rgba(182,138,90,.06));
  border: 1px solid rgba(182,138,90,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.advantage-item__body {
  flex: 1;
}

.advantage-item__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent);
}

.advantage-item__text {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Contact channels ── */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-solid);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}

.contact-channel:not(.contact-channel--muted):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(40,29,18,.1);
  border-color: rgba(182,138,90,.3);
}

.contact-channel--muted {
  opacity: .7;
  cursor: default;
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(182,138,90,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-channel__label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-channel__value {
  font-size: .95rem;
  font-weight: 600;
  margin-top: 2px;
}

.contact-channel__arrow {
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
}

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 150px 150px;
  gap: 8px;
}

.gallery-grid__item--big {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-grid__item {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.gallery-grid__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1;
  color: #fff;
  background: rgba(25, 20, 16, .72);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-grid__item:hover img {
  opacity: .85;
}

.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gallery-grid__item:hover .gallery-grid__overlay {
  opacity: 1;
}

.gallery-grid__title {
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
  max-width: calc(100% - 36px);
}

.gallery-grid__zoom {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ── Showcase ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.showcase__big,
.showcase__small {
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow);
  position: relative;
}

.showcase__big { min-height: 300px; }
.showcase__stack {
  display: grid;
  grid-template-rows: initial;
  grid-template-columns: 1fr;
  gap: 18px;
}

.overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.7);
}

.overlay strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: -.02em;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 1rem 0 3rem;
}

.section#order {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section#order .steps::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: rgba(34,31,28,.08);
  border-radius: 999px;
}

.steps--5 {
  grid-template-columns: 1fr;
}

.step {
  padding: 24px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(40,29,18,.2);
  border-color: rgba(182,138,90,.35);
}

.step__num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(182,138,90,.12);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

.step h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 36px;
}

/* ── Reviews ── */
.review {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.review__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.review__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review__stars {
  color: #d29b49;
  letter-spacing: .1em;
  font-size: 16px;
  line-height: 1;
}

.review__author {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.review p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq {
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }
details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ── CTA banner ── */
.cta-banner {
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow);
  aspect-ratio: auto;
  background-size: cover !important;
  background-position: left center !important;
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .95;
  letter-spacing: -.04em;
  max-width: 900px;
}

.cta-banner p {
  margin: 0 0 22px;
  max-width: 720px;
  color: rgba(255,255,255,.85);
  font-size: 18px;
}

/* ── Footer ── */
.footer {
  padding: 34px 0 46px;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer__contacts-col {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(182,138,90,.22);
  border-radius: 14px;
  padding: 12px;
}

.footer__contacts-col h4 {
  font-size: 1rem;
}

.footer__contacts-col a {
  color: var(--text);
  font-weight: 700;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: var(--font-size);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer__copyright {
  color: var(--muted);
  order: 1;
}

.footer__dev {
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  order: 2;
}

.footer__dev a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__dev a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  order: 3;
}

.footer__legal a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--text);
}

.social-icon img {
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.social-icon:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/* ── Footer accordion (mobile) ── */
[data-accordion] .footer__section-body {
  display: none;
}
[data-accordion].footer__section--open .footer__section-body {
  display: block;
}
[data-accordion] .footer__section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
[data-accordion] .footer__section-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
[data-accordion].footer__section--open .footer__section-arrow {
  transform: rotate(180deg);
}
[data-accordion] .footer__section-body {
  padding: 8px 0 12px;
}

/* ── Sticky mobile ── */
.sticky-mobile {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 12px;
}

.sticky-mobile__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow);
}

body {
  padding-bottom: 92px;
}

/* ── Status ── */
.status {
  margin-top: 8px;
  font-size: 14px;
  min-height: 22px;
  color: var(--muted);
}

.status--error { color: var(--danger); }
.status--success { color: var(--success); }

/* ── Modal ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease-out;
}

.modal__content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  max-width: calc(100% - 24px);
  width: 520px;
  box-shadow: 0 8px 24px rgba(40, 29, 18, 0.12);
  animation: slide-up 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.modal__content--small {
  max-width: 400px;
}

.modal__content::-webkit-scrollbar {
  width: 4px;
}

.modal__content::-webkit-scrollbar-track {
  background: transparent;
}

.modal__content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

.modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgb(67 59 59 / 58%);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    transition: .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal__header {
  margin-bottom: 24px;
}

.modal__header--center {
  text-align: center;
}

.modal__title {
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -.03em;
  color: var(--text);
}

.modal__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size);
}

.modal__form {
  display: grid;
  gap: 16px;
  /* margin-bottom: 14px; */
}

.modal__divider {
  height: 1px;
  background: rgba(34,31,28,.1);
  margin: 4px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  padding: 0 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: .2s ease;
}

.form-input:focus {
  border-color: rgba(182, 138, 90, 0.65);
  box-shadow: 0 0 0 4px rgba(182, 138, 90, 0.1);
}

.form-textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.form-checkbox a {
  color: var(--accent);
  text-decoration: none;
  transition: .2s ease;
}

.form-checkbox a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form-status {
  min-height: 0;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

.form-status.error,
.form-status.success {
  display: block;
  min-height: 20px;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--success);
}

.modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.modal__actions:has(> :only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.modal__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal__footer-content h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.modal__footer-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ── Project detail modal ── */
.pdm-kicker {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.pdm-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.pdm-left,
.pdm-right {
  flex: none;
  max-width: none;
  min-width: 0;
}

.pdm-main-photo {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}

.pdm-main-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pdm-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pdm-thumbs::-webkit-scrollbar {
  display: none;
}

.pdm-thumb {
  flex: 0 0 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
  border: 2px solid transparent;
  padding: 0;
  background: none;
}

.pdm-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.pdm-thumb:hover {
  opacity: .9;
}

.pdm-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pdm-description {
  font-size: var(--font-size);
  line-height: 1.7;
  color: var(--text);
  margin: 16px 0 24px;
}

.pdm-specs-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.pdm-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdm-specs li {
  font-size: 13px;
  padding: 6px 14px;
  background: rgba(182, 138, 90, 0.08);
  border-radius: 999px;
  color: var(--text);
}

.pdm-specs-wrap {
  margin-top: 8px;
}

.pdm-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pdm-cta__text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

#projectDetailModal .modal__content {
  width: 100%;
  max-width: 955px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#projectDetailModal .modal__content::-webkit-scrollbar {
  display: none;
}

/* ── Region search ── */
.region-search {
  position: relative;
  margin-bottom: 16px;
}

.region-search__input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: var(--bg-soft);
}

.region-search__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.region-search__input::placeholder {
  color: var(--muted);
}

.region-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.region-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-search__clear:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.region-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.region-hints__label {
  color: var(--muted);
}

.region-hints__item {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.region-hints__item:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.region-hints__item--auto {
  color: var(--text);
  border-bottom-style: solid;
  border-bottom-color: var(--line);
}

.region-hints__item--auto:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.region-hints__divider {
  color: var(--muted);
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  padding: 12px 0;
}

.region-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.region-link:hover:not(.region-link--active) {
  background: rgba(182, 138, 90, 0.08);
  color: var(--accent-dark);
}

.region-link--active {
  color: var(--accent);
  font-weight: 600;
  cursor: default;
  background: rgba(182, 138, 90, 0.05);
}

.region-link__check {
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 8px;
}

.region-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.region-empty svg {
  color: var(--muted);
  opacity: 0.5;
  margin-bottom: 16px;
}

.region-empty p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.region-empty span {
  font-size: 14px;
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #0d5a3a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.error-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--danger), #8a3333);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.error-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── Scroll to top ── */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
  transform: translateY(0);
}

/* ── Form utilities ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-card {
  background: var(--card-solid);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-consent {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.form-benefits {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.form-benefits li {
  display: flex;
  gap: .6rem;
  font-size: .9rem;
  color: var(--muted);
}

.form-benefits li::before {
  content: '\2713';
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Region banner ── */
.region-banner {
  position: relative;
  z-index: 999;
  background: rgba(182,138,90,.1);
  border-bottom: 1px solid rgba(182,138,90,.2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.region-banner__link {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.region-banner__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  padding: 0 4px;
  line-height: 1;
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--card-solid);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px;
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cookieSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

.cookie-banner__content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__text a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

/* ── Misc ── */
.cards-2--top { align-items: start; }

#b2b .card {
  box-shadow: 0 8px 24px rgba(40,29,18,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.72));
}

#b2b .card__media {
  aspect-ratio: unset;
  height: 390px;
}

#b2b .card__title {
  font-size: 20px;
}

#b2b .card .btn {
  opacity: .92;
}

.section__hint {
  font-size: .875rem;
  color: var(--muted);
  margin-top: .75rem;
}

.info-list {
  margin: 1rem 0 0;
  display: grid;
  gap: .25rem;
}
.info-list dt {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .5rem;
}
.info-list dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.company-card {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-solid);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.company-card__name {
  margin: 0 0 .75rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.company-card__details {
  margin: 0;
  display: grid;
  gap: .15rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 2;
}
.company-card__details > div { display: flex; gap: .5rem; flex-wrap: wrap; }
.company-card__details dt { color: var(--muted); }
.company-card__details dd { margin: 0; color: var(--text); }
.company-card__links {
  margin-top: .75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.company-card__links a {
  color: var(--accent);
  font-size: .8rem;
  text-decoration: none;
}
.company-card__links a:hover { text-decoration: underline; }

.audience-item--cta {
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  border: 1.5px dashed rgba(182,138,90,.35);
  background: rgba(182,138,90,.04);
}
.audience-item__title--accent { color: var(--accent); }
.audience-item__meta {
  font-size: .8rem;
  color: var(--muted);
  margin: .4rem 0 0;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Presets ── */
.preset-notification {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  width: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(31, 122, 85, 0.96), rgba(31, 122, 85, 0.92));
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(31, 122, 85, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.preset-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.preset-notification svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.wizard-card.field-highlighted {
  animation: wizard-card-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.6);
  background: rgba(31, 122, 85, 0.08);
}

@keyframes wizard-card-highlight {
  0% { box-shadow: 0 0 0 8px rgba(31, 122, 85, 0.3); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 85, 0); transform: scale(1); }
}

.wizard-extra-item.field-highlighted {
  animation: extra-item-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.6);
  background: rgba(31, 122, 85, 0.05);
}

@keyframes extra-item-highlight {
  0% { box-shadow: 0 0 0 6px rgba(31, 122, 85, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 85, 0); }
}

.size-btn.field-highlighted {
  animation: size-btn-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.5);
  background: rgba(31, 122, 85, 0.08);
}

@keyframes size-btn-highlight {
  0% { box-shadow: 0 0 0 6px rgba(31, 122, 85, 0.3); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 85, 0); transform: scale(1); }
}

.size-custom-input.field-highlighted {
  animation: input-highlight 0.8s ease-out;
  border-color: rgba(31, 122, 85, 0.5);
  box-shadow: 0 0 0 3px rgba(31, 122, 85, 0.15);
}

@keyframes input-highlight {
  0% { box-shadow: 0 0 0 6px rgba(31, 122, 85, 0.2); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 85, 0); }
}

/* ── Fancybox overrides ── */
.fancybox__container [data-panzoom-action],
.fancybox__container [data-autoplay-action],
.fancybox__container [data-thumbs-action],
.fancybox__container [data-fullscreen-action],
.fancybox__container [data-slideshow-action],
.fancybox__thumbs {
  display: none !important;
}

/* ── MDF configurator ── */
.mdf-config {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.mdf-config__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mdf-config__photos {
  position: static;
  order: -1;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.mdf-photos {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mdf-photos__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mdf-colors__heading,
.mdf-sizes__heading {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mdf-colors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
}

.mdf-color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px 6px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.mdf-color-btn:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.mdf-color-btn.active {
  border-color: var(--accent);
  background: rgba(182,138,90,.08);
}

.mdf-color-btn__swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}

.mdf-color-btn__label {
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1;
  text-align: center;
  word-break: break-word;
}

.mdf-sizes {
  display: flex;
  flex-direction: column;
}

.mdf-sizes__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mdf-size-btn {
  padding: 10px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  line-height: 1;
}

.mdf-size-btn:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.mdf-size-btn.active {
  border-color: var(--accent);
  background: rgba(182,138,90,.08);
  color: var(--accent-dark);
}

.mdf-total {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--card-solid);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mdf-total__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mdf-total__label {
  font-size: 0.8125rem;
  color: var(--muted);
}

.mdf-total__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1;
}

.mdf-total__note,
.mdf-total__delivery {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.mdf-total .btn {
  width: 100%;
  align-self: flex-start;
  margin-top: 4px;
}

/* ── MDF modal summary ── */
.mdf-modal__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background: rgba(34,31,28,.04);
  border-radius: 14px;
}

.mdf-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mdf-modal__label {
  font-size: 0.8125rem;
  color: var(--muted);
}

.mdf-modal__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.mdf-modal__value--price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.03em;
}

.calc-modal-summary {
  margin: 0 0 20px;
}

#calcFormModal .wizard-summary {
  margin-bottom: 20px;
}

.calc-modal-summary .wizard-summary {
  font-size: 13px;
}

/* ── MDF slider cards ── */
#mdfSlider .swiper-slide {
  width: 75vw;
  height: auto;
}

#mdfSlider .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.mdf-card__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 12px;
}

.mdf-card__option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mdf-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.mdf-card__colors-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mdf-card__swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.2s, transform 0.15s;
  outline: none;
}

.mdf-card__swatch:hover {
  transform: scale(1.15);
  border-color: var(--accent-2);
}

.mdf-card__swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.mdf-card__sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mdf-card__size {
  padding: 5px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--card-solid);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  font-family: inherit;
}

.mdf-card__size:hover {
  border-color: var(--accent-2);
}

.mdf-card__size.active {
  border-color: var(--accent);
  background: rgba(182,138,90,.08);
  color: var(--accent-dark);
}

.mdf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mdf-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.mdf-card__price-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.mdf-card__price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mdf-card__footer .btn {
  padding: 8px 16px;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── FAQ styles ── */
.faq-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] .faq-arrow {
  transform: rotate(180deg);
}

details summary::-webkit-details-marker {
  display: none;
}

details summary {
  outline: none;
}

details summary:hover {
  color: var(--accent);
}

/* ── Reviews marquee ── */
.cards-slider .review.swiper-slide {
  height: auto;
}

/* ── UI Kit utilities ── */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-h3 { font-size: var(--text-h3); }
.text-h2 { font-size: var(--text-h2); }
.text-h1 { font-size: var(--text-h1); }

.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-extrabold { font-weight: var(--fw-extrabold); }

.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }

.flex-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0.5rem; }
.flex-row--lg { gap: 12px; }
.flex-col { display: flex; flex-direction: column; gap: 12px; }

.step-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
             background: rgba(182,138,90,.12); display: flex;
             align-items: center; justify-content: center; }
.step-icon--lg { width: 40px; height: 40px; border-radius: 12px; }

.step-title { font-size: var(--text-base); font-weight: var(--fw-bold); margin: 0; }
.step-title--lg { font-size: 1.125rem; line-height: var(--lh-compact); }

.filter-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
              background: #fff; color: var(--text); cursor: pointer;
              font-size: 12px; font-weight: var(--fw-bold);
              transition: .2s; }
.filter-btn--active,
.filter-btn.active { background: var(--text); color: #fff; }

.cases-filter-btn--active { background: var(--text) !important; color: #fff !important; }

.partner-role-tab { padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line);
                    background: #fff; color: var(--text); cursor: pointer;
                    font-size: 13px; font-weight: var(--fw-bold);
                    transition: .2s; }
.partner-role-tab--active,
.partner-role-tab.active { background: var(--text); color: #fff; border-color: var(--text); }

.form-scenario { padding: 0.5rem 1rem; border: 1px solid var(--line);
                 border-radius: 10px; background: rgba(255,255,255,.6);
                 color: var(--text); font-size: 0.875rem; font-weight: 500;
                 cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.form-scenario:hover { background: rgba(255,255,255,.9); border-color: var(--accent); }
.form-scenario.active { background: var(--accent); color: white; border-color: var(--accent); }

.card-pad,
.card-compact { padding: 1.5rem 2rem; }
.card-pad--compact { padding: 1.5rem; }
.card-pad--narrow { padding: 1.25rem 1.5rem; }
.card-pad--wide { padding: 2rem; }

.m-0 { margin: 0; }
.mt-2 { margin-top: 2rem; }
.mt-2-5 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }

.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 1rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-880 { max-width: 880px; }
.op-95 { opacity: .95; }

/* ── 404 Page ── */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.page-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.page-404__code {
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.page-404__text {
  font-size: var(--text-lg);
  color: var(--muted);
  margin: 0;
}

.flex-between { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.75rem; }
.grid-sm { display: grid; gap: 4px; }
.grid-1 { display: grid; gap: 1rem; }
.grid-12 { display: grid; gap: 12px; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.mt-0-75 { margin-top: 0.75rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mb-0-75 { margin-bottom: 0.75rem; }
.gap-0-5 { gap: 0.5rem; }
.gap-1-5 { gap: 1.5rem; }

/* ── Anchor scroll offset ── */
section[id] {
  scroll-margin-top: 80px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   TABLETS (min-width: 560px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
    gap: 8px;
  }

  .preset-notification {
    top: 10px;
    left: 50%;
    right: auto;
    width: auto;
    transform: translateX(-50%) translateY(-30px);
    padding: 14px 22px;
    font-size: 14px;
    border-radius: 14px;
  }

  .preset-notification.show {
    transform: translateX(-50%) translateY(0);
  }

  #mdfSlider .swiper-slide {
    width: 80vw;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   LARGE PHONES / SMALL TABLETS (min-width: 700px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 700px) {
  .why-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cases-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TABLETS (min-width: 768px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .pdm-layout {
    flex-direction: row;
    gap: 32px;
  }
  .pdm-left {
    flex: 55;
  }
  .pdm-right {
    flex: 45;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   DESKTOP (min-width: 861px) — main split
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 861px) {
  [id] {
    scroll-margin-top: 100px;
  }

  body {
    padding-bottom: 0;
  }

  .parallax-bg {
    opacity: 1;
  }

  .parallax-circle--3 { display: block; }
  .parallax-circle--5 { display: block; }
  .mirror-shape--rect-2 { display: block; }

  /* Topbar */
  .topbar__inner {
    gap: 20px;
    min-height: 78px;
  }

  .brand__logo { height: 32px; }

  .topbar__contacts {
    display: flex;
  }

  .topbar__actions {
    gap: 8px;
  }

  .topbar__actions .btn--primary {
    display: inline-flex;
  }

  .sticky-mobile {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 24px 0 32px;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 24px;
    align-items: stretch;
  }

  .hero__grid--full {
    grid-template-columns: 1fr;
  }

  .hero__grid--full .hero__content {
    min-height: unset;
    max-height: none;
  }

  .hero__content {
    min-height: unset;
    max-height: none;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
  }

  .hero__content-inner {
    padding: 28px 32px;
  }

  .hero__stats {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
  }

  .calc-card {
    max-height: none;
    padding: 32px;
  }

  /* Calculator head */
  .calc-card__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
  }

  .calc-card__head > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
  }

  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-actions {
    grid-template-columns: 1fr 1fr;
  }

  /* Sections */
  .section {
    padding: 44px 0;
  }

  .section--bg {
    padding: 52px 0 36px;
  }

  .section__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
  }

  .section__title {
    margin-bottom: 10px;
  }

  .section__lead {
    font-size: var(--font-size);
  }

  /* Cards */
  .cards-4 {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .cards-2 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .cards-slider-wrap--start {
    padding-left: max(16px, calc((100vw - var(--container)) / 2 + 16px));
  }

  .cards-slider .swiper-slide {
    width: 360px;
  }

  #mdfSlider .swiper-slide {
    width: 360px;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  /* Audience & Bento */
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .cases-grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento {
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-auto-rows: 180px;
  }

  .bento__item--wide {
    grid-column: span 2;
  }

  .bento__item--tall {
    grid-row: span 2;
    justify-content: flex-start;
    padding-top: 28px;
  }

  .bento__item {
    min-height: auto;
  }

  /* Advantages */
  .advantages {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact channels */
  .contact-channels {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 320px 240px;
    gap: 12px;
  }

  .gallery-grid__item--big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-grid__overlay {
    opacity: 0;
  }

  .gallery-grid__item:hover .gallery-grid__overlay {
    opacity: 1;
  }

  /* Showcase */
  .showcase {
    grid-template-columns: 1.1fr .9fr;
  }

  .showcase__big { min-height: 420px; }
  .showcase__stack {
    grid-template-rows: 1fr 1fr;
  }

  /* Steps */
  .steps {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .steps--5 {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1.1fr 1fr .8fr .8fr .8fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__dev {
    order: unset;
    text-align: center;
  }

  .footer__legal {
    flex-direction: row;
    gap: 20px;
    font-size: 14px;
    order: unset;
  }

  .footer__copyright {
    order: unset;
  }

  /* Modal */
  .modal__content {
    padding: 32px;
    max-width: 520px;
    width: calc(100% - 32px);
  }

  .modal__actions {
    grid-template-columns: 1fr 1fr;
  }

  /* Scroll to top */
  .scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
  }

  /* Cookie banner */
  .cookie-banner {
    padding: 20px;
  }

  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .cookie-banner__text {
    font-size: 14px;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Card badges */
  .card__badges {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .card__badge {
    width: 36px;
    height: 36px;
  }

  .card__badge svg {
    width: 18px;
    height: 18px;
  }

  /* MDF Config */
  .mdf-config {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .mdf-config__photos {
    position: sticky;
    top: 120px;
    order: unset;
    max-width: none;
    margin: 0;
  }

  .mdf-colors__grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }

  .mdf-total .btn {
    width: auto;
  }

  /* Footer accordion — show all on desktop */
  [data-accordion] .footer__section-body {
    display: block !important;
  }
  [data-accordion] .footer__section-title {
    border-bottom: none;
    padding: 0;
    cursor: default;
  }
  [data-accordion] .footer__section-arrow {
    display: none;
  }

  /* Advantages stats */
  .advantages__stats {
    grid-template-columns: 1fr 1fr;
  }

  .advantages__stat {
    padding: 24px 20px;
  }

  .advantage-item {
    padding: 24px;
  }

  /* Showcase on b2b */
  .showcase__big,
  .showcase__small {
    min-height: 320px;
  }

  .showcase__big { min-height: 640px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   LARGE TABLETS (min-width: 901px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .contact-channels {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   LARGE SCREENS (min-width: 1024px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .brand__logo { height: 32px; }

  .hero__content {
    min-height: unset;
    max-height: none;
    border-radius: 24px;
  }

  .hero__content-inner {
    padding: 28px 32px;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 24px;
    align-items: stretch;
  }

  .hero__grid--full {
    grid-template-columns: 1fr;
  }

  .hero__grid--full .hero__content {
    min-height: unset;
    max-height: none;
  }

  .calc-card {
    max-height: none;
  }

  .wizard-nav {
    padding: 12px 32px 20px;
    margin: 0 -32px -32px;
    border-radius: 0 0 34px 34px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   WIDE SCREENS (min-width: 1101px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1101px) {
  .cards-slider .swiper-slide {
    width: 320px;
  }

  #mdfSlider .swiper-slide {
    width: 320px;
  }

}

/* ══════════════════════════════════════════════════════════════════════════════
   LARGE DESKTOP (min-width: 1181px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1181px) {
  .showcase,
  .cards-4,
  .cards-3,
  .steps,
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .footer__grid {
    grid-template-columns: 1.1fr 1fr .8fr .8fr .8fr;
  }

  .steps--5 {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  .showcase__big { min-height: 640px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   NAV BREAKPOINT (min-width: 1200px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .nav {
    display: flex;
    gap: 30px;
  }

  .burger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   COMPACT DESKTOP (min-width: 1271px)
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1271px) {
  .nav { gap: 30px; font-size: 14px; }
  .topbar__inner { gap: 12px; }
  .topbar__contacts { gap: 10px; margin-right: 8px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   INTERMEDIATE slider widths
   ══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1001px) and (max-width: 1100px) {
  .cards-slider .swiper-slide {
    width: 280px;
  }

  #mdfSlider .swiper-slide {
    width: 280px;
  }

}

/* ── Preset summary modal animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
