/* Maxiroom — kitchens landing */
:root {
  --red: #e30613;
  --red-dark: #c10510;
  --red-soft: #fff1f1;
  --black: #111111;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #ebebeb;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16);
  --container: 1320px;
  --page-inset: clamp(12px, 2.8vw, 28px);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-width: 0;
}

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

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

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

/* Unified content width for header, hero, all sections, footer, CTA */
.container,
.hero__layout {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-inset);
  box-sizing: border-box;
  min-width: 0;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

/* All section titles share the same left edge (container) and rhythm */
.section > .container > .section__head,
.section > .container > .stores-intro {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
}

.section__title,
h2.section__title {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  text-align: left;
}

.section__lead {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
}

/* title + link on one row, title still on the same left edge */
.section__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section__head--row > div:first-child {
  flex: 1;
  min-width: 0;
  max-width: 36em;
}

.section__head--row .link-more {
  flex-shrink: 0;
  margin-top: 0.35em; /* optically align with title baseline */
}

.link-more {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.link-more:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--ghost {
  background: #fff;
  border-color: #ddd;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: #bbb;
  background: #fafafa;
}

.btn--white {
  background: #fff;
  color: var(--red);
}

.btn--white:hover {
  background: #fff5f5;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--red);
  flex-shrink: 0;
}

.header__phone-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  border-left: 1px solid #eee;
  padding-left: 16px;
}

.header__phone {
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  color: var(--text);
}

.header__phone:hover {
  color: var(--red);
}

.header__phone-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 2.2vw, 34px);
  margin-left: auto;
  margin-right: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  color: #333;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 2px;
}

.nav a:hover {
  color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Social icons — TG / VK (stubs ready to swap href) */
.socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.socials__link svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.socials--header .socials__link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #ebebeb;
  background: #fff;
  color: #444;
}

.socials--header .socials__link:hover {
  border-color: #ddd;
  color: var(--red);
  transform: translateY(-1px);
}

.socials--header .socials__link--tg:hover {
  color: #2aabee;
  border-color: rgba(42, 171, 238, 0.35);
}

.socials--header .socials__link--vk:hover {
  color: #0077ff;
  border-color: rgba(0, 119, 255, 0.35);
}

.socials--footer {
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.socials--footer .socials__link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.socials--footer .socials__link span {
  line-height: 1;
}

.socials--footer .socials__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.socials--footer .socials__link--tg:hover {
  border-color: rgba(42, 171, 238, 0.5);
  color: #6bcfff;
}

.socials--footer .socials__link--vk:hover {
  border-color: rgba(0, 119, 255, 0.5);
  color: #6eb0ff;
}

.header__phone-cta {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.header__phone-cta:hover {
  color: var(--red);
}

.btn--header {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn--header:hover {
  background: var(--red-dark);
  color: #fff;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: #222;
  display: block;
}

/* Hero — full photo + soft veil + left offer + white form card (Marya-inspired) */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(40px, 5vw, 64px) 0;
  overflow: hidden;
  background: #121212;
  border-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/*
 * Hero backdrop under text — narrower white zone, more transparent fade into photo.
 * Only the transition; copy stays as-is.
 */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* tighter under text → earlier dissolve, higher transparency */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.88) 18%,
    rgba(255, 255, 255, 0.72) 28%,
    rgba(255, 255, 255, 0.48) 38%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.14) 58%,
    rgba(255, 255, 255, 0.05) 68%,
    transparent 78%
  );
}

/* soft second pass — light blur of the seam, no hard edge */
.hero__veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.18) 22%,
    rgba(255, 255, 255, 0.06) 38%,
    transparent 52%
  );
}

.hero__veil::after {
  content: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero__content {
  max-width: 560px;
  margin: 0;
  text-align: left;
  color: #1a1a1a;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.72);
  text-shadow: none;
}

.hero__label span {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(26, 26, 26, 0.35);
  flex-shrink: 0;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111;
  text-shadow: none;
}

.hero__title-accent {
  color: #e30613;
  text-shadow: none;
}

.hero__lead {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.78);
  max-width: 36em;
  text-shadow: none;
}

/* Benefits as light glass pills under lead */
.hero__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 480px;
}

.hero__benefits li {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.22);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hero__benefit-icon {
  width: 22px;
  height: 22px;
  color: #e30613;
  display: block;
  flex-shrink: 0;
}

.hero__benefit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero__benefit-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Lead card — compact like reference (no promo badge) */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 24px 24px 20px;
}

.hero-card__title {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #141414;
}

.hero-card__text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #777;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-form.is-success .hero-field,
.hero-form.is-success .btn--hero-submit,
.hero-form.is-success .hero-form__note,
.hero-form.is-success .form-consent {
  display: none;
}

.hero-form.is-success .form__success {
  display: block;
}

.hero-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  min-width: 0;
}

.hero-field span {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #888;
  line-height: 1.3;
}

.hero-field input,
.hero-field select {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  padding: 6px 2px 10px;
  margin: 0;
  background: transparent;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #1a1a1a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}

.hero-field input::placeholder {
  color: #b8b8b8;
}

.hero-field input:focus,
.hero-field select:focus {
  border-bottom-color: var(--red);
  background: transparent;
}

.hero-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 4px) 55%, calc(100% + 1px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 16px;
  cursor: pointer;
}

.btn--hero-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn--hero-submit:hover {
  background: var(--red-dark);
}

.hero-form__note {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #999;
  text-align: center;
  padding-top: 0;
}

.hero-form__note a {
  color: #777;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-form .form__success,
.hero-form__success {
  margin: 0;
  text-align: left;
  line-height: 1.45;
  font-weight: 500;
}

.hero-form__success strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: #146c2e;
}

.hero-form__success-links {
  display: block;
  margin-top: 8px;
}

.hero-form__success-links a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.hero-form__success-links a:hover {
  text-decoration: underline;
}

#catalog {
  background: #fff;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
  padding-top: 12px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #aaa;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #ccc;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form input.is-invalid,
.form select.is-invalid,
.form textarea.is-invalid,
.hero-form input.is-invalid,
.cta-form input.is-invalid {
  border-color: #e30613 !important;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.hero-form input.is-invalid {
  border-bottom-color: #e30613 !important;
  box-shadow: none;
}

.field-error {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #e30613;
}

.form__note {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #999;
  line-height: 1.4;
}

.form .btn--full {
  margin-top: 2px;
}

.form__note a {
  text-decoration: underline;
}

.form__success {
  display: none;
  padding: 16px;
  border-radius: 12px;
  background: #f0fff4;
  color: #146c2e;
  font-weight: 600;
  text-align: center;
}

.form.is-success .form__fields {
  display: none;
}

.form.is-success .form__success {
  display: block;
}

/* Catalog — 4 cards in a row (~15% larger than medium) */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalog-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.catalog-card:hover {
  border-color: #ddd;
}

.catalog-card__img {
  /* taller photo ≈ +15% visual mass */
  aspect-ratio: 5/4;
  background: #ececec center/cover no-repeat;
}

.catalog-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.catalog-card__body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.catalog-card__body .link-more {
  font-size: 0.95rem;
  align-self: flex-start;
}

/* Designers */
.designers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.designer-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
  min-width: 0;
}

.designer-card__top {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px 14px;
  align-items: start;
  flex: 1;
}

.designer-card__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 132px;
  flex-shrink: 0;
}

.designer-card__photo {
  width: 132px;
  height: 168px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  background: #ebe6df;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.designer-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.designer-card__name {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111;
}

.designer-card__desc {
  margin: 0 0 14px;
  color: #595959;
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.designer-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.designer-card__left .designer-card__btn {
  width: 132px;
}

.designer-card__info .designer-card__btn {
  margin-top: auto;
  width: 100%;
}

.designer-card__btn:hover {
  border-color: #f0c8cb;
  background: #fff5f5;
}

.designer-card__btn--call {
  color: #222;
  border-color: #e6e6e6;
}

.designer-card__btn--call:hover {
  border-color: #ccc;
  background: #f6f6f6;
  color: #111;
}

.designer-card__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 18px;
}

.designer-card__thumb {
  aspect-ratio: 1.1;
  min-height: 76px;
  border: 0;
  border-radius: 8px;
  background: #d7d0c8 center/cover no-repeat;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s;
}

.designer-card__thumb--empty {
  cursor: default;
  pointer-events: none;
}

.designer-card__thumb:hover {
  opacity: 0.9;
}

.scroll-list-item--designer {
  grid-template-columns: 100px 1fr auto;
  align-items: center;
}

.scroll-list-item__desc {
  margin-top: 6px !important;
  color: var(--muted);
}

.scroll-list-item__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 220px;
}

.scroll-list-item__actions .designer-card__btn {
  min-width: 0;
}

/* Works */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  border: 0;
  background: #efefef;
  color: #333;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--red);
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-card {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd center/cover no-repeat;
  cursor: pointer;
  text-align: left;
}

.work-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.work-card__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card__tag,
.work-card__designer {
  font-size: 0.78rem;
  line-height: 1.3;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-card__price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.work-card.is-hidden {
  display: none;
}

/* Desktop / devices with hover: captions only on hover & keyboard focus */
@media (hover: hover) and (pointer: fine) {
  .work-card__overlay {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .work-card:hover .work-card__overlay,
  .work-card:focus-visible .work-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Touch / narrow screens: always visible, compact, no overflow */
@media (max-width: 760px), (hover: none) {
  .work-card__overlay {
    opacity: 1;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 10px 11px;
  }

  .work-card__title {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  .work-card__tag,
  .work-card__designer {
    font-size: 0.72rem;
  }

  .work-card__price {
    align-self: flex-start;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
  }
}

/* Process — static flow path (no JS chrome) */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 14px;
  counter-reset: flow;
}

.flow__item {
  position: relative;
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 14px 16px;
  min-height: 168px;
}

.flow__item--accent {
  background: #fff;
  border-color: #f0c8cb;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.06);
}

.flow__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 10px;
}

.flow__item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.flow__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* connectors between steps */
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 8px;
  height: 2px;
  background: #d8d8d8;
  transform: translateY(-50%);
}

.flow-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.flow-note strong {
  color: var(--text);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  margin-top: 2px;
}



/* Stores — uses .section__head / .stores-intro same title edge */

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.store-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.04);
  overflow: hidden;
}

.store-card__photos {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
  min-height: 240px;
}

.store-card__shot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e6e3;
  cursor: zoom-in;
}

.store-card__shot--main {
  min-height: 240px;
}

.store-card__shot--side {
  min-height: 240px;
}

.store-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.store-card__shot:hover img,
.store-card__shot:focus-visible img {
  transform: scale(1.04);
}



.store-card__body {
  display: block;
  padding: 0 4px;
}

.store-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.store-card__name {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
}

.store-card__address {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.store-card__hours {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-card__hours-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-card__hours-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1b7a30;
  line-height: 1.3;
}

.store-card__map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.store-card__map:hover {
  background: var(--red-dark);
  color: #fff;
}

.store-card__map svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Yandex reviews carousel under each store */
.store-reviews {
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafafa 0%, #f6f6f6 100%);
  border: 1px solid #eee;
}

.store-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.store-reviews__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-reviews__yandex {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #ff5a3c 0%, #fc3f1d 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(252, 63, 29, 0.22);
}

.store-reviews__brand strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.store-reviews__meta {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.2;
}

.store-reviews__score {
  color: #1a1a1a;
  font-weight: 700;
}

.store-reviews__all {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(227, 6, 19, 0.18);
  transition: background 0.15s, border-color 0.15s;
}

.store-reviews__all:hover {
  background: var(--red-soft);
  border-color: rgba(227, 6, 19, 0.35);
  text-decoration: none;
}

.store-reviews__carousel {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  gap: 8px;
  align-items: center;
}

.store-reviews__viewport {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.store-reviews__track {
  display: flex;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.store-review {
  flex: 0 0 100%;
  min-width: 0;
  padding: 14px 14px 12px;
  box-sizing: border-box;
}

.store-review__top {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.store-review__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff1f1;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.store-review__who {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-review__author {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-review__date {
  font-size: 0.72rem;
  color: #666;
  line-height: 1.2;
}

.store-review__stars {
  color: #f0b429;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.store-review__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}

.store-reviews__nav {
  width: 28px;
  height: 28px;
  min-height: 28px;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  background: #fff;
  color: #666;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.store-reviews__nav:hover {
  border-color: #f0c8cb;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.1);
}

.store-reviews__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.store-reviews__dot {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.store-reviews__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d0d0d0;
  transform: translate(-50%, -50%);
  transition: width 0.2s, background 0.2s;
}

.store-reviews__dot.is-active::before {
  background: var(--red);
  width: 18px;
}

.coverage {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}

/* Inside process section (white page bg) — soft panel */
.coverage--in-process {
  margin-top: 32px;
  background: var(--bg-soft);
  border-color: transparent;
}

.coverage--in-process .city-card {
  background: #fff;
}

.coverage__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.coverage__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.city-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 10px 14px;
  background: #fff;
  text-align: center;
  min-height: 104px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.city-card:hover {
  border-color: #f0c8cb;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.06);
}

.city-card__pin {
  display: grid;
  place-items: center;
  color: var(--red);
  line-height: 0;
}

.city-card__pin-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.city-card__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.city-card__note {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
}

.city-card--store {
  border-color: #f0c8cb;
  background: #fffaf9;
}

.coverage--in-process .city-card {
  background: #fff;
}

.coverage--in-process .city-card--store {
  background: #fffaf9;
}

/* Quiz + FAQ — FAQ left, quiz centered in remaining space to the right edge */
.quiz-faq {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 560px)) minmax(0, 1fr);
  column-gap: 0;
  row-gap: 24px;
  align-items: start;
}

.quiz-faq__col--faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  width: 100%;
}

/* Transparent slot: quiz sits toward the right edge of the content area */
.quiz-faq__col--quiz {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: var(--text);
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

/* Quiz card shell size */
.quiz-faq__col--quiz .quiz-faq__subtitle,
.quiz-faq__col--quiz .quiz {
  width: min(100%, 560px);
}

.quiz-faq__subtitle {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.quiz-faq__col--quiz .quiz-faq__subtitle {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #111;
  text-align: left;
}

.quiz-faq__faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.quiz-faq__faq-head .quiz-faq__subtitle {
  margin: 0;
}

/* Quiz card — red fill, white buttons */
.quiz {
  background: var(--red);
  border: 0;
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.22);
  color: #fff;
}

.quiz__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.quiz__bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.quiz__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  transition: width 0.25s ease;
}

.quiz__step-label {
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
  min-width: 5em;
  text-align: right;
}

.quiz__question {
  flex: 1;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.quiz__question h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.3;
  min-height: 2.5em;
  color: #fff;
  font-weight: 700;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, minmax(48px, auto));
  gap: 7px;
  flex: 1;
  align-content: start;
}

.quiz-option {
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  box-sizing: border-box;
}

.quiz-option:hover {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quiz-option.is-selected {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
  color: var(--red);
}

.quiz-option.is-selected span {
  color: rgba(227, 6, 19, 0.75);
}

.quiz-option strong {
  font-size: 0.86rem;
  line-height: 1.25;
  color: inherit;
}

.quiz-option span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  min-height: 1.25em;
}

.quiz-option__spacer {
  visibility: hidden;
}

.quiz-option--undecided {
  grid-column: 1 / -1;
  text-align: center;
  align-items: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--text);
  min-height: 42px;
  background: rgba(255, 255, 255, 0.92);
}

.quiz-option--undecided strong {
  font-weight: 600;
  color: inherit;
}

.quiz-option--undecided.is-selected {
  background: #fff;
  border-style: solid;
  border-color: #fff;
  color: var(--red);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.quiz-option--undecided.is-selected strong {
  color: var(--red);
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-shrink: 0;
}

.quiz__nav .btn {
  min-height: 42px;
  flex: 1;
  font-size: 0.88rem;
  border-radius: 10px;
}

.quiz__nav .btn--ghost {
  background: #fff;
  border: 1.5px solid #fff;
  color: var(--text);
}

.quiz__nav .btn--ghost:hover {
  background: #f7f7f7;
}

.quiz__nav .btn--ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz__nav .btn--primary {
  background: #fff;
  color: var(--red);
  border: 1.5px solid #fff;
  font-weight: 700;
}

.quiz__nav .btn--primary:hover {
  background: #fff5f5;
  border-color: #fff;
}

.quiz__result {
  display: none;
}

.quiz.is-done .quiz__question,
.quiz.is-done .quiz__nav {
  display: none;
}

.quiz.is-done .quiz__result {
  display: block;
}

.quiz__result h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.05rem;
}

.quiz__result > p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.quiz__summary {
  display: grid;
  gap: 5px;
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.88rem;
}

.quiz__summary strong {
  color: #fff;
}

.quiz .form input,
.quiz .form select,
.quiz .form textarea {
  border-color: transparent;
  background: #fff;
  min-height: 44px;
}

.quiz .form__fields {
  gap: 10px;
}

.quiz .form__note {
  color: rgba(255, 255, 255, 0.9);
}

.quiz .form-consent,
.quiz .form-consent > label {
  color: #fff;
}

.quiz .form-consent a,
.quiz .form-consent a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quiz .form-consent input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.85);
  accent-color: #fff;
  background: #fff;
}

.quiz .form-consent:has(input.is-invalid),
.quiz .form-consent:has(input.is-invalid) > label,
.quiz .field-error {
  color: #ffe0e0;
}

.quiz .btn--primary.btn--full {
  background: #fff;
  color: var(--red);
  border: 0;
  min-height: 44px;
  font-weight: 700;
}

.quiz .btn--primary.btn--full:hover {
  background: #fff5f5;
}

.quiz .form__success {
  background: rgba(255, 255, 255, 0.95);
  color: #146c2e;
}

/* FAQ */
.faq-layout {
  display: block;
  width: 100%;
  max-width: none;
}

.quiz-faq__col--faq .faq-item button {
  padding: 14px 0;
  font-size: 0.98rem;
}

.quiz-faq__col--faq .faq-item__body {
  font-size: 0.92rem;
  padding-bottom: 14px;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item button span {
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

.faq-item__body {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 620px;
}

.faq-item.is-open .faq-item__body {
  display: block;
}

/* Final CTA — narrow red banner before footer (reference style) */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 32px 0;
  background: var(--red);
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      100deg,
      rgba(196, 12, 22, 0.94) 0%,
      rgba(227, 6, 19, 0.86) 38%,
      rgba(227, 6, 19, 0.72) 62%,
      rgba(180, 10, 20, 0.64) 100%
    ),
    url("../images/hero-kitchen.jpg") center 42% / cover no-repeat;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(380px, 1.25fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
}

.cta__copy {
  min-width: 0;
}

.cta__title {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 2.1vw, 1.65rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
}

.cta__text {
  margin: 0;
  max-width: 360px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.cta__card {
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 16px 18px 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.cta-form {
  gap: 0;
}

.cta-form .form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cta-form__row input {
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.cta-form__row input:focus {
  background: #fff;
  border-color: #ddd;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

.cta-form__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.form-consent,
.cta-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #777;
  user-select: none;
}

.cta-form__consent {
  max-width: 300px;
  margin: 0;
}

.form-consent > label,
.cta-form__consent > label {
  cursor: pointer;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: 400;
}

.form-consent input[type="checkbox"],
.cta-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid #bbb;
  border-radius: 3px;
  accent-color: var(--red);
  cursor: pointer;
}

.form-consent a,
.cta-form__consent a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  pointer-events: auto;
}

.form-consent a:hover,
.cta-form__consent a:hover {
  color: #b00010;
}

.form-consent:has(input.is-invalid),
.form-consent:has(input.is-invalid) > label {
  color: #e30613;
}

.hero-form__consent {
  margin: 2px 0 8px;
  color: #666;
}

.cta-form__btn {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 8px;
}

.cta-form .form__success {
  margin-top: 4px;
}

/* Footer */
.footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1.05fr;
  gap: 28px 32px;
  margin-bottom: 32px;
  align-items: start;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer__title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__seo {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42em;
}

.footer__seo strong {
  color: #fff;
  font-weight: 600;
}

.footer__seo--muted {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__cities li {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 14px;
  position: relative;
}

.footer__cities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.footer__cities-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.footer__phone {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.footer__phone:hover {
  color: #ffb3b3;
}

.footer__callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(227, 6, 19, 0.55);
  border-radius: 8px;
  background: transparent;
  color: #ff8a8a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.footer__callback:hover {
  background: rgba(227, 6, 19, 0.15);
  border-color: var(--red);
  color: #fff;
}

.footer__stores {
  display: grid;
  gap: 12px;
}

.footer__stores p {
  margin: 0;
}

.footer__stores strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.footer__stores span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

.footer__hours {
  margin-top: 4px;
  color: rgba(140, 220, 150, 0.9) !important;
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #f2f2f2;
  line-height: 1.45;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom a:hover {
  color: #fff;
}

/* CTA is on red background — consent must stay readable */
.cta .form-consent,
.cta .cta-form__consent,
.cta .form-consent > label,
.cta .cta-form__consent > label {
  color: #fff;
}

.cta .form-consent a,
.cta .cta-form__consent a,
.cta .form-consent a:hover,
.cta .cta-form__consent a:hover {
  color: #fff;
  text-decoration: underline;
}

.cta .form-consent input[type="checkbox"],
.cta .cta-form__consent input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.9);
  accent-color: #fff;
  background: #fff;
}

/* Legal stub pages */
.legal-page {
  min-height: 100vh;
  background: #f7f7f7;
  padding: 40px 0 64px;
}

.legal-page__card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-page__back:hover {
  color: var(--red);
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.25;
}

.legal-page__badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3f3;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
}

.legal-page__meta {
  margin: 0 0 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-page h2 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.legal-page p,
.legal-page li {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}

.legal-page ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.legal-page__note {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f6f6;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 95;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.15s;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:not(.is-visible) {
  pointer-events: none;
}

.scroll-top:hover {
  background: var(--red-dark);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Sticky mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #eee;
  gap: 8px;
  align-items: center;
}

.mobile-bar .btn {
  flex: 1;
  min-height: 46px;
}

.mobile-bar__social {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-bar__social svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mobile-bar__social--tg {
  color: #2aabee;
}

.mobile-bar__social--vk {
  color: #0077ff;
}

/* Modal / popup */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

/* Lead/callback form always above portfolio, catalog, lightbox */
#modal-callback {
  z-index: 400;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.22s ease;
}

.modal__dialog--sm {
  width: min(440px, 100%);
}

.modal__dialog--lg {
  width: min(1100px, 100%);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.modal__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f3f3f3;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.modal__close:hover {
  background: #e8e8e8;
}

.modal__body {
  overflow: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.modal__body--catalog {
  flex: 1;
  min-height: 0;
}

.catalog-picker__hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-pick {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.catalog-pick:hover {
  border-color: #ccc;
}

.catalog-pick.is-selected {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.catalog-pick__img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  padding: 0;
  background: #f0eeeb center / cover no-repeat;
  cursor: zoom-in;
}

.catalog-pick__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

.catalog-pick__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 12px 14px;
  text-align: left;
  cursor: pointer;
}

.catalog-pick__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.catalog-pick__price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
}

.catalog-picker__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.catalog-picker__footer .btn {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  font-size: 0.92rem;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.catalog-picker__footer .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.callback-interest {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

body.modal-open {
  overflow: hidden;
}

/* Portfolio popup content */
.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.portfolio-meta__call {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.portfolio-meta__call:hover {
  text-decoration: underline;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.portfolio-grid button {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e4df center/cover no-repeat;
  cursor: pointer;
  position: relative;
}

.portfolio-grid button:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

/* Works lightbox */
.lightbox {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.lightbox__image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/3;
}

.lightbox__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox__nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
}

.lightbox__nav button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lightbox__info h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.lightbox__info dl {
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}

.lightbox__info dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.lightbox__info dd {
  margin: 0;
  font-weight: 600;
}

.lightbox__text dd {
  font-weight: 500;
  line-height: 1.5;
  font-size: 0.92rem;
}

.lightbox__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.lightbox__thumbs button {
  border: 2px solid transparent;
  border-radius: 8px;
  aspect-ratio: 1;
  background: #ddd center/cover no-repeat;
  cursor: pointer;
  padding: 0;
}

.lightbox__thumbs button.is-active {
  border-color: var(--red);
}

.lightbox__counter {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* All works / all designers lists */
.scroll-list {
  display: grid;
  gap: 16px;
}

.scroll-list-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scroll-list-item__img {
  width: 140px;
  height: 100px;
  border-radius: 10px;
  background: #e8e4df center/cover no-repeat;
}

.scroll-list-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.scroll-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Measure note */
.note-card {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 22px;
  border-left: 4px solid var(--red);
}

.note-card h3 {
  margin: 0 0 8px;
}

.note-card p {
  margin: 0;
  color: var(--muted);
}

/* Visually hidden SEO helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .catalog-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .catalog-grid {
    gap: 14px;
  }

  .designers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .quiz-faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quiz-faq__col--quiz {
    max-width: none;
    justify-self: stretch;
    align-items: stretch;
  }

  .quiz-faq__col--quiz .quiz-faq__subtitle,
  .quiz-faq__col--quiz .quiz {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer__col--about {
    grid-column: 1 / -1;
  }

  .faq-layout,
  .stores-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 28px 0;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta__text br {
    display: none;
  }

  .cta-form__row {
    grid-template-columns: 1fr;
  }

  .cta-form__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form__consent {
    max-width: none;
  }

  .cta-form__btn {
    width: 100%;
  }

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

  .flow__item:not(:last-child)::after {
    content: none;
  }

  .flow__item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 8px;
    height: 2px;
    background: #d8d8d8;
    transform: translateY(-50%);
  }

  .hero {
    min-height: auto;
    padding: 40px 0 48px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__content {
    max-width: none;
  }

  .hero-card {
    max-width: 360px;
    justify-self: start;
  }

  .hero__benefits {
    max-width: none;
  }

  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.9) 45%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }

  .hero__veil::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.35) 0%,
      transparent 70%
    );
  }

  .header__phone-block {
    display: none;
  }



  .lightbox {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .catalog-picker-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .catalog-pick__title {
    font-size: 0.82rem;
  }

  .catalog-pick__price {
    font-size: 0.8rem;
  }

  .catalog-picker__footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px 0 32px;
  }

  .hero__layout {
    gap: 18px;
  }

  /* Mobile: title + benefits → form */
  .hero__content {
    order: 1;
  }

  .hero-card {
    order: 2;
    max-width: none;
    justify-self: stretch;
    padding: 22px 18px 18px;
  }

  .hero__label {
    margin-bottom: 10px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 7.5vw, 2.35rem);
    margin-bottom: 10px;
  }

  .hero__lead {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .hero__benefits {
    max-width: none;
    gap: 6px;
  }

  .hero__benefits li {
    padding: 6px 12px 6px 8px;
  }

  .hero__benefit-icon {
    width: 20px;
    height: 20px;
  }

  .hero__benefit-text {
    font-size: 0.76rem;
    white-space: normal;
  }

  .hero-card__title {
    font-size: 1.2rem;
  }

  .hero-card__text {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .btn--hero-submit {
    font-size: 0.9rem;
    min-height: 48px;
  }

  .btn--header {
    display: none;
  }

  .socials--header {
    display: none; /* TG/VK are in the sticky mobile bar */
  }

  .section {
    padding: 52px 0;
  }

  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid #eee;
    gap: 0;
  }

  .header.is-open .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid #f2f2f2;
  }

  .catalog-grid,
  .designers-grid,
  .works-grid,
  .cities,
  .quiz-options,
  .portfolio-grid,
  .stores-grid {
    grid-template-columns: 1fr;
  }

  .store-card__photos {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .store-card__shot--main,
  .store-card__shot--side {
    min-height: 160px;
    aspect-ratio: 4/3;
  }

  .catalog-card__body {
    padding: 14px 16px 16px;
  }

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

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .designers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .designer-card__top {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 16px 16px 14px;
    gap: 14px;
  }

  .designer-card__left {
    width: 120px;
  }

  .designer-card__photo {
    width: 120px;
    height: 152px;
  }

  .designer-card__left .designer-card__btn {
    width: 120px;
  }

  .designer-card__thumbs {
    padding: 0 16px 16px;
  }

  .designer-card__thumb {
    min-height: 68px;
  }

  .scroll-list-item--designer {
    grid-template-columns: 1fr;
  }

  .scroll-list-item__actions {
    min-width: 0;
    width: 100%;
  }

  .footer {
    padding: 44px 0 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__col--about {
    grid-column: auto;
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer__cities li {
    padding-left: 12px;
  }

  .mobile-bar {
    display: flex;
  }

  .scroll-top {
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  body {
    padding-bottom: 72px;
  }

  .section {
    padding: 56px 0;
  }

  .section > .container > .section__head,
  .section > .container > .stores-intro {
    margin-bottom: 24px;
  }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section__head--row .link-more {
    margin-top: 0;
  }

  .section__title,
  h2.section__title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .section__lead {
    font-size: 0.94rem;
  }

  .scroll-list-item {
    grid-template-columns: 1fr;
  }

  .scroll-list-item__img {
    width: 100%;
    height: 160px;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow__item {
    min-height: 0;
  }

  .flow__item::after,
  .flow__item::before {
    content: none !important;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--page-inset) * -0.35);
    padding-inline: calc(var(--page-inset) * 0.35);
    gap: 6px;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .modal {
    padding: 0;
    align-items: stretch;
  }

  .modal__dialog,
  .modal__dialog--sm,
  .modal__dialog--lg {
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

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

  .lightbox__thumbs {
    overflow-x: auto;
  }

  .cta__title {
    font-size: 1.25rem;
  }

  .cta__text {
    font-size: 0.88rem;
  }

  .store-card {
    padding: 10px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .header__inner {
    min-height: 60px;
  }

  :root {
    --header-h: 60px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .catalog-picker-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .cities {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .store-card__photos {
    grid-template-columns: 1fr;
  }

  .store-card__shot--main,
  .store-card__shot--side {
    min-height: 180px;
    aspect-ratio: 16/10;
  }

  .designer-card__top {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .designer-card__left,
  .designer-card__left .designer-card__btn {
    width: 96px;
  }

  .designer-card__photo {
    width: 96px;
    height: 122px;
  }

  .hero__title {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .hero__benefit-text {
    font-size: 0.72rem;
  }

  .section {
    padding: 44px 0;
  }

  .section__title,
  h2.section__title {
    font-size: 1.35rem;
  }

  .btn,
  .btn--primary,
  .btn--ghost {
    min-height: 44px;
  }

  .mobile-bar {
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .mobile-bar__social {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

/* Extra-narrow */
@media (max-width: 360px) {
  .cities {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 18px 14px 14px;
  }

  .filter-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

/* Tablet portrait / small laptop middle ground */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-card {
    max-width: 420px;
  }

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

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

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

/* Large desktops: keep content readable, don't stretch endlessly */
@media (min-width: 1440px) {
  :root {
    --container: 1360px;
  }
}

@media (min-width: 1800px) {
  :root {
    --container: 1440px;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
