@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap");

/* === Мальва Мебель: шапка + первый экран + полноэкранное видео v001 === */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f3f0;
  color: #17181b;
  font-family: Arial, Helvetica, sans-serif;
}

body.video-modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(1720px, calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.site-logo {
  width: 235px;
  height: 43px;
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding-right: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #d69b00;
}

.site-nav > a:last-child {
  margin-right: 12px;
}

.site-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav__trigger {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: color 0.2s ease;
}

.site-nav__trigger span {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1;
  transform: translateY(0);
}

.site-nav__item:hover .site-nav__trigger,
.site-nav__item:focus-within .site-nav__trigger {
  color: #d69b00;
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 80;
  min-width: 210px;
  padding: 10px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(23, 24, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.site-nav__submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.site-nav__submenu a {
  min-height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  color: #17181b;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav__submenu a:hover {
  background: #f4f3f0;
  color: #d69b00;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.measure-button {
  min-height: 44px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffc20a;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 194, 10, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.measure-button:hover {
  transform: translateY(-2px);
  background: #ffd13d;
}

.social-brand {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.social-brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero {
  background: #ffffff;
}

.hero-inner {
  min-height: 405px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 34px;
}

.hero-content h1 {
  max-width: 520px;
  margin: 0;
  color: #18191c;
  font-size: clamp(36px, 3.35vw, 54px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 450px;
  margin: 18px 0 0;
  color: #26282d;
  font-size: 16px;
  line-height: 1.48;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.btn {
  min-height: 42px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-yellow {
  background: #ffc20a;
  color: #111111;
  box-shadow: 0 10px 24px rgba(255, 194, 10, 0.28);
}

.btn-yellow:hover {
  background: #ffd13d;
}

.btn-outline {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
}

.btn-outline:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hero-feature span {
  color: #1d1f23;
  font-size: 13px;
  line-height: 1.14;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 405px;
  overflow: visible;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 28%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 18%,
    rgba(255, 255, 255, 0.78) 42%,
    rgba(255, 255, 255, 0.42) 68%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-image {
  width: calc(100% + 52px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-video-card {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 34px;
  width: 258px;
  padding: 10px;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.17);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.video-preview {
  position: relative;
  height: 78px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #e9e6df;
}

.video-preview-file {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 49px;
  left: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc20a;
  color: #111111;
  font-size: 14px;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, background 0.22s ease;
}

.hero-video-card:hover .video-play {
  transform: translateY(-50%) scale(1.05);
  background: #ffffff;
}

.video-text {
  display: grid;
  gap: 3px;
}

.video-text strong {
  color: #111111;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 900;
}

.video-text small {
  color: #666666;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
}

/* === Лента преимуществ: начало === */

.benefits-strip {
  position: relative;
  z-index: 5;
  margin-top: -28px;
  padding: 0 0 28px;
  background: linear-gradient(to bottom, #ffffff 0 146px, #f4f3f1 146px 100%);
}

.benefits-strip-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  min-height: 146px;
  overflow: hidden;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.benefit-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 146px;
  padding: 22px 16px 20px;
  text-align: center;
}

.benefit-item::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 1px;
  background: rgba(23, 24, 28, 0.08);
}

.benefit-item:first-child::before {
  display: none;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.benefit-title {
  color: #17181c;
  font-size: 17px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

  .benefit-item:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-item {
    min-height: 112px;
    padding: 16px 12px;
  }

  .benefit-item:nth-child(odd) {
    border-left: 0;
  }

  .benefit-item:nth-child(4) {
    border-left: 1px solid rgba(23, 24, 27, 0.08);
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
  }

  .benefit-title {
    font-size: 12px;
  }
}

/* === Лента преимуществ: конец === */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

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

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.video-modal-window {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-file {
  width: 100%;
  max-height: calc(100vh - 84px);
  display: block;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.video-modal-close {
  position: absolute;
  top: -26px;
  right: -26px;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.06);
  background: #ffc20a;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 56px, 1720px);
  }

  .header-inner {
    grid-template-columns: 230px 1fr auto;
    gap: 22px;
  }

  .site-nav {
    gap: 20px;
    font-size: 13px;
  }

  .measure-button {
    padding: 0 22px;
  }

  .site-logo img {
    width: 176px;
  }

  .hero-content h1 {
    font-size: 48px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    width: 100%;
    height: 380px;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 28px;
  }

  .video-modal {
    padding: 22px;
  }

  .video-modal-window,
  .video-modal-file {
    max-height: calc(100vh - 44px);
  }

  .video-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1720px);
  }

  .measure-button {
    display: none;
  }

  .site-logo img {
    width: 162px;
  }

  .social-brand,
  .social-brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-buttons,
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === Категории мебели: начало === */

.catalog-section {
  background: #f6f5f2;
  padding: 24px 32px 34px;
}

.catalog-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.catalog-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.catalog-bottom {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #18191c;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(23, 24, 27, 0.08);
  box-shadow: 0 10px 30px rgba(23, 24, 27, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(23, 24, 27, 0.12);
}

.category-card-large {
  height: 286px;
  border-radius: 18px;
  color: #ffffff;
}

.category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.category-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.36) 42%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.category-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
}

.category-card-large .category-content {
  width: 56%;
  padding: 44px 34px 30px;
  gap: 16px;
}

.category-title {
  font-size: 28px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.category-text {
  max-width: 250px;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 600;
}

.category-link {
  min-height: 34px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.category-card-small {
  min-height: 154px;
  border-radius: 14px;
  isolation: isolate;
}

.category-card-small::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 56%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 16%,
    rgba(255, 255, 255, 0.78) 36%,
    rgba(255, 255, 255, 0.38) 58%,
    rgba(255, 255, 255, 0) 82%
  );
}

.category-card-small .category-content {
  width: 58%;
  min-height: 154px;
  padding: 20px 14px 16px;
  gap: 8px;
}

.category-card-small .category-title {
  font-size: 16px;
  line-height: 1.14;
}

.category-card-small .category-text {
  max-width: 145px;
  color: #5f6269;
  font-size: 11px;
  line-height: 1.34;
}

.category-card-small .category-link {
  min-height: 28px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 11px;
}

.category-small-image {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 46%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* === Категории мебели: конец === */


/* === Информационный ряд: начало === */

.info-row-section {
  background: #f6f5f2;
  padding: 0 32px 26px;
}

.info-row-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
}

.info-card {
  min-height: 194px;
  padding: 24px 24px 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(23, 24, 27, 0.05);
}

.info-card-title {
  margin: 0 0 18px;
  color: #18191c;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.order-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.order-steps::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: #e4e0d8;
}

.order-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.order-step-number {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff8df;
  border: 1px solid #ffc20a;
  color: #18191c;
  font-size: 13px;
  font-weight: 900;
}

.order-step strong {
  color: #18191c;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}

.order-step small {
  max-width: 112px;
  color: #5f6269;
  font-size: 10px;
  line-height: 1.32;
  font-weight: 600;
}

.info-card-button {
  min-height: 38px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffc20a;
  color: #111111;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 194, 10, 0.22);
}

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

.reasons-list li {
  position: relative;
  padding-left: 25px;
  color: #2b2d31;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.reasons-list li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffc20a;
  color: #e2a900;
  font-size: 10px;
  font-weight: 900;
}

.projects-preview {
  position: relative;
  margin-bottom: 18px;
}

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

.projects-images img {
  width: 100%;
  height: 88px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background: #eeeae2;
}

.projects-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #18191c;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(23, 24, 27, 0.16);
  transform: translateY(-50%);
}

.projects-arrow-left {
  left: -12px;
}

.projects-arrow-right {
  right: -12px;
}

.projects-more {
  min-height: 34px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7d3ca;
  border-radius: 10px;
  color: #18191c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

/* === Информационный ряд: конец === */

/* === Отзывы: начало === */

.reviews-section {
  background: #f6f5f2;
  padding: 0 32px 40px;
}

.reviews-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.reviews-title {
  margin: 0 0 22px;
  color: #18191c;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.reviews-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 0.92fr;
  gap: 18px;
}

.review-media-card,
.reviews-cta-card {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 24, 27, 0.08);
}

.review-media-image {
  width: 100%;
  height: 100%;
  min-height: 348px;
  display: block;
  object-fit: cover;
}

.review-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.18) 44%,
      rgba(0, 0, 0, 0.78) 100%
    );
}

.review-media-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
}

.review-quote {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 54px;
  line-height: 0.72;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.review-media-content p {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc20a;
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.review-person strong,
.review-bottom-row strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.review-play {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 3;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
}

.review-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-video-label {
  min-height: 32px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.reviews-cta-card {
  padding: 46px 34px 34px;
  display: flex;
  flex-direction: column;
  background: #171719;
  color: #ffffff;
}

.reviews-cta-card h3 {
  max-width: 310px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.reviews-cta-card p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.48;
  font-weight: 650;
}

.reviews-cta-card a {
  min-height: 56px;
  margin-top: auto;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 16px;
  background: #ffc20a;
  color: #111111;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(255, 194, 10, 0.24);
}

.reviews-cta-card a span {
  font-size: 25px;
  line-height: 1;
}

/* === Отзывы: конец === */

/* === Футер: начало === */

.site-footer {
  background: #171719;
  color: #ffffff;
  padding: 38px 32px 22px;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.82fr 0.9fr 0.82fr 1.18fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-column h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-column a,
.footer-column p {
  margin: 0 0 9px;
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-phone {
  margin-bottom: 11px !important;
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
}

.footer-time {
  max-width: 210px;
  margin-bottom: 11px !important;
}

.footer-mail {
  margin-bottom: 30px !important;
}

.footer-social-title {
  margin-bottom: 12px !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 44px;
  height: 44px;
  margin: 0 !important;
  display: grid !important;
  place-items: center;
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none;
}

.footer-social-vk {
  background: #1684f2;
}

.footer-social-max {
  background: linear-gradient(135deg, #2d80ff 0%, #7a38f2 100%);
}

.footer-addresses h3 {
  margin: 24px 0 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.footer-addresses h3:first-of-type {
  margin-top: 0;
}

.footer-addresses a {
  margin-bottom: 9px;
}

.footer-bottom {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: end;
  gap: 26px;
  padding-top: 22px;
}

.footer-brand {
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.footer-copy,
.footer-policy,
.footer-payments {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.footer-policy:hover {
  color: #ffffff;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-payments strong {
  color: #ffc20a;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .footer-copy,
  .footer-policy,
  .footer-payments {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 34px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 30px;
  }

  .footer-column h2 {
    margin-bottom: 14px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 15px;
  }

  .footer-phone {
    font-size: 24px !important;
  }

  .footer-brand {
    font-size: 24px;
  }
}

/* === Футер: конец === */

/* === Внутренние страницы: начало === */

.inner-page-main {
  background: #f6f5f2;
}

.inner-page-hero {
  padding: 72px 32px 34px;
  background: #f6f5f2;
}

.inner-page-hero-inner,
.inner-page-grid,
.inner-page-two-columns,
.inner-page-note {
  max-width: 1320px;
  margin: 0 auto;
}

.inner-page-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #b18200;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-page-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #18191c;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.inner-page-hero p {
  max-width: 680px;
  margin: 0;
  color: #5f6269;
  font-size: 18px;
  line-height: 1.48;
  font-weight: 650;
}

.inner-page-section {
  padding: 0 32px 42px;
  background: #f6f5f2;
}

.inner-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.inner-page-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.inner-page-card,
.inner-page-note {
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(23, 24, 27, 0.06);
}

.inner-page-card h2,
.inner-page-note h2 {
  margin: 0 0 14px;
  color: #18191c;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.inner-page-card p,
.inner-page-note p {
  margin: 0 0 10px;
  color: #555963;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
}

.inner-page-card p:last-child,
.inner-page-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .inner-page-hero h1 {
    font-size: 38px;
  }

  .inner-page-grid,
  .inner-page-two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .inner-page-hero,
  .inner-page-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-page-hero {
    padding-top: 48px;
  }

  .inner-page-hero h1 {
    font-size: 32px;
  }
}

/* === Внутренние страницы: конец === */

/* === Страница каталога: верхний блок: начало === */

.catalog-page-hero {
  position: relative;
  overflow: hidden;
  background: #f6f5f2;
  padding: 42px 32px 28px;
}

.catalog-page-hero-inner {
  position: relative;
  max-width: 1320px;
  min-height: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  align-items: stretch;
  gap: 34px;
}

.catalog-page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #5f6269;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.catalog-breadcrumbs a {
  color: #18191c;
  text-decoration: none;
}

.catalog-breadcrumbs a:hover {
  color: #b18200;
}

.catalog-page-hero h1 {
  max-width: 540px;
  margin: 0 0 24px;
  color: #18191c;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.catalog-page-hero p {
  max-width: 490px;
  margin: 0;
  color: #393c43;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
}

.catalog-page-hero-image {
  position: relative;
  min-height: 260px;
  border-radius: 0;
  overflow: hidden;
}

.catalog-page-hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 46%;
  background: linear-gradient(
    90deg,
    #f6f5f2 0%,
    rgba(246, 245, 242, 0.94) 24%,
    rgba(246, 245, 242, 0.55) 58%,
    rgba(246, 245, 242, 0) 100%
  );
  pointer-events: none;
}

.catalog-page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(246, 245, 242, 0) 0%,
    rgba(246, 245, 242, 0.12) 72%,
    #f6f5f2 100%
  );
  pointer-events: none;
}

.catalog-page-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.catalog-filter-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 72px repeat(7, minmax(104px, 1fr));
  gap: 14px;
}

.catalog-filter-tab {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  color: #18191c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 24, 27, 0.04);
}

.catalog-filter-tab-active {
  background: #ffc20a;
  box-shadow: 0 12px 28px rgba(255, 194, 10, 0.24);
}

@media (max-width: 1100px) {
  .catalog-page-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .catalog-page-hero-image {
    min-height: 260px;
  }

  .catalog-filter-tabs {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .catalog-page-hero {
    padding: 32px 20px 24px;
  }

  .catalog-page-hero h1 {
    font-size: 38px;
  }

  .catalog-filter-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* === Страница каталога: верхний блок: конец === */

/* === Страница каталога: большие карточки: начало === */

.catalog-cards-section {
  background: #f6f5f2;
  padding: 0 32px 28px;
}

.catalog-cards-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.catalog-top-cards {
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-top-card {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 24, 27, 0.08);
}

.catalog-top-card img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
  background: #eeeae2;
}

.catalog-top-card-body {
  padding: 28px 30px 30px;
}

.catalog-top-card-body h2 {
  margin: 0 0 13px;
  color: #18191c;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.catalog-top-card-body p {
  max-width: 520px;
  min-height: 64px;
  margin: 0 0 22px;
  color: #3f4249;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 650;
}

.catalog-top-card-body a {
  min-height: 40px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #18191c;
  border-radius: 8px;
  background: #ffffff;
  color: #18191c;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.catalog-top-card-body a:hover {
  background: #18191c;
  color: #ffffff;
}

@media (max-width: 900px) {
  .catalog-top-cards {
    grid-template-columns: 1fr;
  }

  .catalog-top-card img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .catalog-cards-section {
    padding: 0 20px 24px;
  }

  .catalog-top-cards {
    gap: 16px;
  }

  .catalog-top-card img {
    height: 230px;
  }

  .catalog-top-card-body {
    padding: 22px;
  }

  .catalog-top-card-body h2 {
    font-size: 24px;
  }
}

/* === Страница каталога: большие карточки: конец === */

/* === Страница каталога: маленькие карточки: начало === */

.catalog-small-cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.catalog-small-card {
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 24, 27, 0.07);
}

.catalog-small-card img {
  width: 100%;
  height: 176px;
  display: block;
  object-fit: cover;
  background: #eeeae2;
}

.catalog-small-card-body {
  padding: 20px 18px 20px;
}

.catalog-small-card-body h2 {
  min-height: 48px;
  margin: 0 0 10px;
  color: #18191c;
  font-size: 21px;
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.catalog-small-card-body p {
  min-height: 72px;
  margin: 0 0 18px;
  color: #444851;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 650;
}

.catalog-small-card-body a {
  min-height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #18191c;
  border-radius: 8px;
  background: #ffffff;
  color: #18191c;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.catalog-small-card-body a:hover {
  background: #18191c;
  color: #ffffff;
}

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

  .catalog-small-card img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .catalog-small-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-small-card img {
    height: 210px;
  }
}

/* === Страница каталога: маленькие карточки: конец === */

/* === Страница каталога: нижний CTA и преимущества: начало === */

.catalog-support-section {
  background: #f6f5f2;
  padding: 0 32px 44px;
}

.catalog-support-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.catalog-support-cta {
  min-height: 178px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  border-radius: 20px;
  background: #171719;
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 24, 27, 0.14);
}

.catalog-support-cta h2 {
  max-width: 520px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.catalog-support-cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}

.catalog-support-cta a {
  min-width: 220px;
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  background: #ffc20a;
  color: #111111;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(255, 194, 10, 0.24);
}

.catalog-support-cta a span {
  font-size: 24px;
  line-height: 1;
}

.catalog-support-features {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-support-feature {
  min-height: 162px;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.055);
}

.catalog-support-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
}

.catalog-support-icon img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

.catalog-support-feature h3 {
  margin: 0 0 10px;
  color: #18191c;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.catalog-support-feature p {
  margin: 0;
  color: #555963;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 900px) {
  .catalog-support-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 640px) {
  .catalog-support-section {
    padding: 0 20px 34px;
  }

  .catalog-support-cta {
    padding: 26px 22px;
  }

  .catalog-support-cta h2 {
    font-size: 28px;
  }

  .catalog-support-cta a {
    width: 100%;
  }

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

/* === Страница каталога: нижний CTA и преимущества: конец === */

/* === Страница О нас: первый экран: начало === */

.about-page-hero {
  background: #f6f5f2;
  padding: 48px 32px 34px;
}

.about-page-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(520px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.about-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: #7a7d85;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.about-breadcrumbs a {
  color: #18191c;
  text-decoration: none;
}

.about-breadcrumbs a:hover {
  color: #b18200;
}

.about-page-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #24252a;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.about-title-line {
  width: 76px;
  height: 2px;
  margin: 28px 0 38px;
  display: block;
  background: #d8a92b;
}

.about-page-hero p {
  max-width: 560px;
  margin: 0 0 18px;
  color: #373a42;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.about-page-hero p:last-child {
  margin-bottom: 0;
}

.about-page-hero-image {
  overflow: hidden;
  border-radius: 18px;
  background: #eeeae2;
  box-shadow: 0 14px 38px rgba(23, 24, 27, 0.08);
}

.about-page-hero-image img {
  width: 100%;
  height: 455px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .about-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-page-hero h1 {
    font-size: 48px;
  }

  .about-page-hero-image img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .about-page-hero {
    padding: 34px 20px 28px;
  }

  .about-breadcrumbs {
    margin-bottom: 28px;
  }

  .about-page-hero h1 {
    font-size: 36px;
  }

  .about-title-line {
    margin: 22px 0 28px;
  }

  .about-page-hero p {
    font-size: 16px;
  }

  .about-page-hero-image img {
    height: 270px;
  }
}

/* === Страница О нас: первый экран: конец === */

/* === Страница О нас: карточки преимуществ: начало === */

.about-benefits-section {
  background: #f6f5f2;
  padding: 0 32px 46px;
}

.about-benefits-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-benefit-card {
  min-height: 232px;
  padding: 30px 26px 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 24, 27, 0.06);
}

.about-benefit-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  display: block;
  object-fit: contain;
}

.about-benefit-card h2 {
  margin: 0 0 14px;
  color: #18191c;
  font-size: 21px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.about-benefit-card p {
  margin: 0;
  color: #555963;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .about-benefits-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-benefits-section {
    padding: 0 20px 34px;
  }

  .about-benefits-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-benefit-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .about-benefit-card img {
    width: 56px;
    height: 56px;
  }
}

/* === Страница О нас: карточки преимуществ: конец === */

/* === Страница О нас: почему доверяют: начало === */

.about-trust-section {
  background: #f6f5f2;
  padding: 0 32px 52px;
}

.about-trust-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.about-trust-head {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
}

.about-trust-head h2 {
  margin: 0 0 12px;
  color: #18191c;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.about-trust-head p {
  margin: 0;
  color: #6a6e76;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.about-trust-list {
  display: grid;
  gap: 22px;
}

.about-trust-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 24, 27, 0.06);
}

.about-trust-card-reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.about-trust-card-reverse .about-trust-image {
  order: 2;
}

.about-trust-card-reverse .about-trust-content {
  order: 1;
}

.about-trust-image {
  min-height: 330px;
  background: #eeeae2;
}

.about-trust-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
}

.about-trust-content {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-trust-number {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc20a;
  color: #18191c;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.about-trust-content h3 {
  max-width: 440px;
  margin: 0 0 18px;
  color: #18191c;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.about-trust-content p {
  max-width: 560px;
  margin: 0;
  color: #4f535c;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 650;
}

@media (max-width: 900px) {
  .about-trust-card,
  .about-trust-card-reverse {
    grid-template-columns: 1fr;
  }

  .about-trust-card-reverse .about-trust-image,
  .about-trust-card-reverse .about-trust-content {
    order: initial;
  }

  .about-trust-content {
    padding: 34px 30px;
  }

  .about-trust-head h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .about-trust-section {
    padding: 0 20px 38px;
  }

  .about-trust-image,
  .about-trust-image img {
    min-height: 240px;
  }

  .about-trust-content {
    padding: 28px 22px;
  }

  .about-trust-content h3 {
    font-size: 24px;
  }

  .about-trust-content p {
    font-size: 15px;
  }
}

/* === Страница О нас: почему доверяют: конец === */

/* === Страница О нас: CTA консультации: начало === */

.about-cta-section {
  background: #f6f5f2;
  padding: 0 32px 54px;
}

.about-cta-inner {
  max-width: 1320px;
  min-height: 170px;
  margin: 0 auto;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 24, 27, 0.06);
}

.about-cta-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc20a;
  color: #18191c;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.about-cta-content h2 {
  margin: 0 0 12px;
  color: #18191c;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.about-cta-content p {
  max-width: 620px;
  margin: 0;
  color: #555963;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}

.about-cta-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.about-cta-button {
  min-width: 210px;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  background: #ffc20a;
  color: #111111;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 194, 10, 0.24);
}

.about-cta-button span {
  font-size: 24px;
  line-height: 1;
}

.about-cta-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-cta-socials a {
  min-height: 52px;
  padding: 0 18px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #f6f5f2;
  color: #18191c;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
}

.about-cta-socials img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  object-fit: contain;
}

.about-cta-socials a[aria-label*="MAX"] img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: block;
  object-fit: contain;
  transform: scale(2.25);
  transform-origin: center;
}

@media (max-width: 900px) {
  .about-cta-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .about-cta-actions {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .about-cta-section {
    padding: 0 20px 40px;
  }

  .about-cta-inner {
    padding: 26px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-cta-content h2 {
    font-size: 26px;
  }

  .about-cta-button {
    width: 100%;
  }

  .about-cta-socials {
    flex-wrap: wrap;
  }
}

/* === Страница О нас: CTA консультации: конец === */

/* === Страница Дизайнерам: первый экран: начало === */

.designers-hero {
  background: #f6f5f2;
  padding: 32px 32px 18px;
}

.designers-hero-inner {
  max-width: 1500px;
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 24, 27, 0.055);
}

.designers-hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.designers-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #7a7d85;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.designers-breadcrumbs a {
  color: #18191c;
  text-decoration: none;
}

.designers-breadcrumbs a:hover {
  color: #b18200;
}

.designers-hero h1 {
  max-width: 440px;
  margin: 0 0 24px;
  color: #18191c;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.designers-hero p {
  max-width: 430px;
  margin: 0;
  color: #3f4249;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 650;
}

.designers-hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.designers-hero-button {
  min-height: 46px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffc20a;
  color: #111111;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(255, 194, 10, 0.22);
}

.designers-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f535c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.designers-hero-link span {
  font-size: 16px;
  line-height: 1;
}

.designers-hero-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.designers-hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 26%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 32%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.designers-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .designers-hero-inner {
    grid-template-columns: 1fr;
  }

  .designers-hero-content {
    padding: 42px;
  }

  .designers-hero-image,
  .designers-hero-image img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .designers-hero {
    padding: 24px 20px 18px;
  }

  .designers-hero-content {
    padding: 30px 24px;
  }

  .designers-hero h1 {
    font-size: 38px;
  }

  .designers-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* === Страница Дизайнерам: первый экран: конец === */

/* === Страница Дизайнерам: карточки преимуществ: начало === */

.designers-benefits-section {
  background: #f6f5f2;
  padding: 0 32px 34px;
}

.designers-benefits-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.designers-benefit-card {
  min-height: 126px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.055);
}

.designers-benefit-card img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.designers-benefit-card h2 {
  margin: 0 0 7px;
  color: #18191c;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.designers-benefit-card p {
  margin: 0;
  color: #555963;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .designers-benefits-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .designers-benefits-section {
    padding: 0 20px 28px;
  }

  .designers-benefits-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .designers-benefit-card {
    min-height: auto;
    padding: 22px;
  }
}

/* === Страница Дизайнерам: карточки преимуществ: конец === */

/* === Страница Дизайнерам: почему удобно работать: начало === */

.designers-work-section {
  background: #f6f5f2;
  padding: 0 32px 34px;
}

.designers-work-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.designers-work-head {
  margin: 0 0 22px;
  text-align: center;
}

.designers-work-head h2 {
  margin: 0;
  color: #18191c;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.designers-work-list {
  display: grid;
  gap: 16px;
}

.designers-work-card {
  height: 190px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.43fr 0.57fr;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.05);
}

.designers-work-card-reverse {
  grid-template-columns: 0.57fr 0.43fr;
}

.designers-work-card-reverse .designers-work-image {
  order: 2;
}

.designers-work-card-reverse .designers-work-content {
  order: 1;
}

.designers-work-image {
  height: 190px;
  min-height: 0;
  background: #eeeae2;
}

.designers-work-image img {
  width: 100%;
  height: 190px;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

.designers-work-content {
  min-height: 190px;
  padding: 28px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.designers-work-number {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc20a;
  color: #18191c;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.designers-work-content h3 {
  margin: 0 0 10px;
  color: #18191c;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.designers-work-content p {
  max-width: 660px;
  margin: 0;
  color: #4f535c;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 900px) {
  .designers-work-card,
  .designers-work-card-reverse {
    height: auto;
    grid-template-columns: 1fr;
  }

  .designers-work-card-reverse .designers-work-image,
  .designers-work-card-reverse .designers-work-content {
    order: initial;
  }

  .designers-work-image,
  .designers-work-image img {
    height: 240px;
  }

  .designers-work-content {
    min-height: auto;
    padding: 30px 28px;
  }
}

@media (max-width: 640px) {
  .designers-work-section {
    padding: 0 20px 28px;
  }

  .designers-work-head h2 {
    font-size: 28px;
  }

  .designers-work-image,
  .designers-work-image img {
    height: 220px;
  }

  .designers-work-content {
    padding: 28px 22px;
  }

  .designers-work-content h3 {
    font-size: 22px;
  }
}

/* === Страница Дизайнерам: почему удобно работать: конец === */

/* === Страница Дизайнерам: что можно заказать: начало === */

.designers-categories-section {
  background: #f6f5f2;
  padding: 0 32px 34px;
}

.designers-categories-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.designers-categories-head {
  margin: 0 0 18px;
  text-align: center;
}

.designers-categories-head h2 {
  margin: 0;
  color: #18191c;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.designers-category-card {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 24, 27, 0.055);
}

.designers-category-card img {
  width: 100%;
  height: 132px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.designers-category-card:hover img {
  transform: scale(1.045);
}

.designers-category-card h3 {
  min-height: 42px;
  margin: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18191c;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

@media (max-width: 1200px) {
  .designers-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .designers-category-card img {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .designers-categories-section {
    padding: 0 20px 30px;
  }

  .designers-categories-head h2 {
    font-size: 28px;
  }

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

  .designers-category-card img {
    height: 120px;
  }

  .designers-category-card h3 {
    min-height: 40px;
    font-size: 13px;
  }
}

/* === Страница Дизайнерам: что можно заказать: конец === */

/* === Страница Дизайнерам: как проходит сотрудничество: начало === */

.designers-steps-section {
  background: #f6f5f2;
  padding: 0 32px 34px;
}

.designers-steps-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.designers-steps-head {
  margin: 0 0 18px;
  text-align: center;
}

.designers-steps-head h2 {
  margin: 0;
  color: #18191c;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.designers-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.designers-step-card {
  position: relative;
  min-height: 150px;
  padding: 24px 26px 22px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 24, 27, 0.055);
}

.designers-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  width: 22px;
  border-top: 2px dashed rgba(23, 24, 27, 0.18);
}

.designers-step-top {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.designers-step-top img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.designers-step-top span {
  color: #ffc20a;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.designers-step-card h3 {
  margin: 0 0 8px;
  color: #18191c;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.designers-step-card p {
  margin: 0;
  color: #555963;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .designers-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .designers-step-card::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .designers-steps-section {
    padding: 0 20px 30px;
  }

  .designers-steps-head h2 {
    font-size: 28px;
  }

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

/* === Страница Дизайнерам: как проходит сотрудничество: конец === */

/* === Страница Дизайнерам: нижний CTA: начало === */

.designers-final-cta-section {
  background: #f6f5f2;
  padding: 0 32px 18px;
}

.designers-final-cta {
  max-width: 1500px;
  min-height: 150px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
  border-radius: 16px;
  background: #141416;
  box-shadow: 0 16px 36px rgba(23, 24, 27, 0.16);
}

.designers-final-cta-image {
  height: 112px;
  overflow: hidden;
  border-radius: 12px;
  background: #262629;
}

.designers-final-cta-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.designers-final-cta-content h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.designers-final-cta-content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.designers-final-cta-actions {
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.designers-final-cta-button {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #ffc20a;
  color: #111111;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 194, 10, 0.26);
}

.designers-final-cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.designers-final-cta-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .designers-final-cta {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .designers-final-cta-actions {
    grid-column: 1 / -1;
    max-width: 320px;
  }
}

@media (max-width: 720px) {
  .designers-final-cta-section {
    padding: 0 20px 18px;
  }

  .designers-final-cta {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .designers-final-cta-image {
    height: 170px;
  }

  .designers-final-cta-content h2 {
    font-size: 25px;
  }

  .designers-final-cta-actions {
    max-width: none;
  }
}

/* === Страница Дизайнерам: нижний CTA: конец === */

/* === Delivery page: hero-блок по макету v1 === */
.delivery-page {
  background: #f4f3f1;
}

.delivery-hero {
  padding: 44px 0 16px;
}

.delivery-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  min-height: 440px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, #f5f2ec 0%, #f6f4f0 46%, rgba(246, 244, 240, 0.58) 62%, rgba(246, 244, 240, 0) 100%);
}

.delivery-hero__content {
  position: relative;
  z-index: 2;
  padding: 36px 0 34px 42px;
}

.delivery-breadcrumbs {
  margin-bottom: 42px;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 600;
}

.delivery-hero h1 {
  margin: 0 0 24px;
  color: #17181c;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.delivery-hero__text {
  max-width: 450px;
  margin: 0;
  color: #25282f;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.delivery-hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 28px;
  max-width: 690px;
  margin-top: 58px;
}

.delivery-hero__feature img {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  object-fit: contain;
}

.delivery-hero__feature h3 {
  margin: 0 0 10px;
  color: #17181c;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.delivery-hero__feature p {
  margin: 0;
  color: #5f626b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.delivery-hero__visual {
  position: relative;
  min-height: 440px;
}

.delivery-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.delivery-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 36%;
  background: linear-gradient(90deg, #f5f2ec 0%, rgba(245, 242, 236, 0.82) 34%, rgba(245, 242, 236, 0) 100%);
  pointer-events: none;
}

/* === Delivery page: блок Доставка v2 === */
.delivery-section {
  padding: 18px 0 16px;
}

.delivery-section__card {
  padding: 26px 28px 24px;
  border-radius: 22px;
  background: #faf8f5;
}

.delivery-section__card h2 {
  margin: 0 0 18px;
  color: #17181c;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.delivery-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.delivery-section__image {
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
}

.delivery-section__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.delivery-section__info {
  display: grid;
  gap: 16px;
}

.delivery-point {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 10px 0;
}

.delivery-point__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #f5efe8;
  color: #8f6a4d;
}

.delivery-point__icon svg {
  width: 32px;
  height: 32px;
}

.delivery-point__content h3 {
  margin: 0 0 10px;
  color: #1c1d21;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.delivery-point__content p {
  margin: 0;
  color: #5f626b;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .delivery-section__grid {
    grid-template-columns: 1fr;
  }

  .delivery-section__image {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .delivery-section {
    padding-top: 12px;
  }

  .delivery-section__card {
    padding: 22px 18px 20px;
    border-radius: 18px;
  }

  .delivery-section__card h2 {
    font-size: 26px;
  }

  .delivery-section__image {
    min-height: 280px;
    border-radius: 16px;
  }

  .delivery-point {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .delivery-point__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .delivery-point__icon svg {
    width: 26px;
    height: 26px;
  }
}

/* === Delivery page: блок Оплата v1 === */
.payment-section {
  padding: 0 0 16px;
}

.payment-section__card {
  padding: 28px;
  border-radius: 22px;
  background: #faf8f5;
}

.payment-section__head {
  margin-bottom: 22px;
}

.payment-section__head h2 {
  margin: 0 0 8px;
  color: #17181c;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.payment-section__head p {
  margin: 0;
  color: #5f626b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.payment-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.payment-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 142px;
  padding: 28px 30px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 26, 22, 0.07);
}

.payment-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #85583b;
}

.payment-card__icon svg {
  width: 50px;
  height: 50px;
}

.payment-card__content h3 {
  margin: 0 0 10px;
  color: #1c1d21;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.payment-card__content p {
  max-width: 280px;
  margin: 0;
  color: #4f535c;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .payment-section__grid {
    grid-template-columns: 1fr;
  }

  .payment-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .payment-section__card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .payment-section__head h2 {
    font-size: 26px;
  }

  .payment-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
  }

  .payment-card__icon {
    width: 52px;
    height: 52px;
  }

  .payment-card__icon svg {
    width: 42px;
    height: 42px;
  }
}

/* === Delivery page: блок Рассрочка v2 compact === */
.installment-section {
  padding: 0 0 16px;
}

.installment-section__card {
  display: grid;
  grid-template-columns: minmax(520px, 1.28fr) minmax(280px, 0.72fr);
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  background: #faf8f5;
}

.installment-section__content {
  position: relative;
  z-index: 2;
  padding: 24px 0 24px 32px;
}

.installment-section__content h2 {
  margin: 0 0 12px;
  color: #17181c;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.installment-section__content p {
  margin: 0 0 16px;
  color: #4f535c;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

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

.installment-list li {
  position: relative;
  padding-left: 26px;
  color: #25282f;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 600;
}

.installment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffc400;
  color: #17181c;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.installment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 7px;
  background: #ffc400;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.installment-button:hover {
  transform: translateY(-1px);
  background: #ffd23b;
}

.installment-section__image {
  position: relative;
  min-height: 220px;
}

.installment-section__image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 64%;
  background: linear-gradient(90deg, #faf8f5 0%, rgba(250, 248, 245, 0.92) 42%, rgba(250, 248, 245, 0) 100%);
  pointer-events: none;
}

.installment-section__image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .installment-section__card {
    grid-template-columns: 1fr;
  }

  .installment-section__image {
    min-height: 240px;
  }

  .installment-section__image::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .installment-section__card {
    border-radius: 18px;
  }

  .installment-section__content {
    padding: 24px 18px 22px;
  }

  .installment-section__content h2 {
    font-size: 26px;
  }

  .installment-section__image {
    min-height: 220px;
  }

  .installment-section__image img {
    min-height: 220px;
  }
}

/* === Delivery page: блок Гарантия v1 === */
.guarantee-section {
  padding: 0 0 16px;
}

.guarantee-section__card {
  padding: 28px 28px 26px;
  border-radius: 22px;
  background: #faf8f5;
}

.guarantee-section__head {
  margin-bottom: 24px;
}

.guarantee-section__head h2 {
  margin: 0 0 8px;
  color: #17181c;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.guarantee-section__head p {
  margin: 0;
  color: #5f626b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.guarantee-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.guarantee-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.guarantee-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f4eee7;
  color: #85583b;
}

.guarantee-item__icon svg {
  width: 38px;
  height: 38px;
}

.guarantee-item h3 {
  margin: 0 0 8px;
  color: #1c1d21;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.guarantee-item p {
  margin: 0;
  color: #4f535c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

/* === Delivery page: нижний CTA v1 === */
.delivery-cta-section {
  padding: 0 0 22px;
}

.delivery-cta {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 270px;
  gap: 34px;
  align-items: center;
  min-height: 168px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #151618;
}

.delivery-cta__image {
  height: 132px;
  overflow: hidden;
  border-radius: 14px;
}

.delivery-cta__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.delivery-cta__content h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.delivery-cta__content p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.delivery-cta__actions {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.delivery-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  min-height: 52px;
  border-radius: 7px;
  background: #ffc400;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.delivery-cta__button:hover {
  transform: translateY(-1px);
  background: #ffd23b;
}

.delivery-cta__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.delivery-cta__socials a.social-brand {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.delivery-cta__socials a.social-brand img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .guarantee-section__grid {
    grid-template-columns: 1fr;
  }

  .delivery-cta {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .delivery-cta__image {
    height: 240px;
  }

  .delivery-cta__actions {
    justify-items: start;
  }
}

@media (max-width: 767px) {
  .guarantee-section__card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .guarantee-section__head h2,
  .delivery-cta__content h2 {
    font-size: 26px;
  }

  .guarantee-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .guarantee-item__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .guarantee-item__icon svg {
    width: 32px;
    height: 32px;
  }

  .delivery-cta {
    padding: 14px;
    border-radius: 18px;
  }

  .delivery-cta__image {
    height: 190px;
  }
}

/* === Blog page: hero и фильтры v1 === */
.site-nav a.is-active {
  position: relative;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: #ffc400;
}

.blog-page {
  background: #f4f3f1;
}

.blog-hero {
  padding: 22px 0 14px;
}

.blog-hero__inner {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.14fr);
  min-height: 270px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: #faf8f5;
}

.blog-hero__content {
  position: relative;
  z-index: 2;
  padding: 28px 0 30px 36px;
}

.blog-breadcrumbs {
  margin-bottom: 34px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.blog-hero h1 {
  margin: 0 0 28px;
  color: #17181c;
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.blog-hero p {
  margin: 0;
  color: #25282f;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
}

.blog-hero__image {
  position: relative;
  min-height: 270px;
}

.blog-hero__image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 50%;
  background: linear-gradient(90deg, #faf8f5 0%, rgba(250, 248, 245, 0.86) 38%, rgba(250, 248, 245, 0) 100%);
  pointer-events: none;
}

.blog-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.blog-filter-section {
  padding: 8px 0 18px;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.blog-filter__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(25, 26, 29, 0.08);
  border-radius: 10px;
  background: #ffffff;
  color: #17181c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(29, 26, 22, 0.04);
}

.blog-filter__item.is-active {
  border-color: #ffc400;
  background: #ffc400;
}

@media (max-width: 1100px) {
  .blog-hero__inner {
    grid-template-columns: 1fr;
  }

  .blog-hero__image::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding-top: 18px;
  }

  .blog-hero__content {
    padding: 28px 20px;
  }

  .blog-breadcrumbs {
    margin-bottom: 36px;
  }

  .blog-hero h1 {
    font-size: 46px;
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-filter {
    gap: 10px;
  }

  .blog-filter__item {
    min-width: auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
}

/* === Blog page: большая главная статья v1 === */
.blog-featured-section {
  padding: 0 0 18px;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  background: #faf8f5;
}

.blog-featured-card__image {
  height: 310px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-featured-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-featured-card__content {
  padding-right: 28px;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-bottom: 24px;
  padding: 0 13px;
  border-radius: 7px;
  background: #f0e7da;
  color: #5d5146;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.blog-featured-card h2 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #17181c;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.blog-featured-card p {
  max-width: 620px;
  margin: 0 0 34px;
  color: #4f535c;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #17181c;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.blog-read-link span {
  color: #ffc400;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-featured-card__content {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .blog-featured-card {
    padding: 18px;
    border-radius: 18px;
  }

  .blog-featured-card__image {
    height: 230px;
    border-radius: 14px;
  }

  .blog-featured-card h2 {
    font-size: 30px;
  }
}

/* === Blog page: сетка карточек статей v1 === */
.blog-grid-section {
  padding: 0 0 18px;
}

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

.blog-card {
  overflow: hidden;
  border-radius: 18px;
  background: #faf8f5;
  box-shadow: 0 12px 30px rgba(29, 26, 22, 0.05);
}

.blog-card__image {
  height: 220px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-card__body {
  padding: 18px 20px 22px;
}

.blog-card__body .blog-card-tag {
  margin-bottom: 12px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.blog-card-meta .blog-card-tag {
  margin-bottom: 0;
}

.blog-card-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #8a8177;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.blog-card-date::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: #d6c9b9;
}

.blog-featured-card .blog-card-meta {
  margin-bottom: 18px;
}

.blog-featured-card .blog-card-date {
  font-size: 13px;
}

.blog-card h3 {
  min-height: 64px;
  margin: 0 0 12px;
  color: #17181c;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.blog-card p {
  min-height: 96px;
  margin: 0 0 18px;
  color: #4f535c;
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
}

.blog-read-link--small {
  gap: 10px;
  font-size: 14px;
}

.blog-read-link--small span {
  font-size: 24px;
}

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

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__image {
    height: 210px;
  }

  .blog-card h3,
  .blog-card p {
    min-height: auto;
  }
}

/* === Blog page: пагинация и кнопка v1 === */
.blog-pagination-section {
  padding: 0 0 24px;
}

.blog-pagination {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 0.95fr) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
}

.blog-pages {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 1 / 2;
}

.blog-page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(25, 26, 29, 0.1);
  border-radius: 9px;
  background: #ffffff;
  color: #17181c;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(29, 26, 22, 0.04);
}

.blog-page-number.is-active {
  border-color: #ffc400;
  background: #ffc400;
}

.blog-page-next {
  font-size: 24px;
  font-weight: 700;
}

.blog-more-button {
  grid-column: 2 / 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border: 2px solid #ffc400;
  border-radius: 9px;
  background: #ffffff;
  color: #17181c;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.blog-more-button:hover {
  transform: translateY(-1px);
  background: #fff7d1;
}

@media (max-width: 900px) {
  .blog-pagination {
    grid-template-columns: 1fr;
  }

  .blog-pages,
  .blog-more-button {
    grid-column: auto;
  }

  .blog-more-button {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  .blog-pagination-section {
    padding-bottom: 18px;
  }

  .blog-pages {
    gap: 10px;
  }

  .blog-page-number {
    width: 42px;
    height: 42px;
  }

  .blog-more-button {
    min-height: 46px;
  }
}

/* === Blog page: нижний CTA v1 === */
.blog-cta-section {
  padding: 0 0 24px;
}

.blog-cta {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
  min-height: 184px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #151618;
}

.blog-cta__image {
  height: 148px;
  overflow: hidden;
  border-radius: 14px;
}

.blog-cta__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-cta__content h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.blog-cta__content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.blog-cta__actions {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.blog-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  border-radius: 7px;
  background: #ffc400;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.blog-cta__button:hover {
  transform: translateY(-1px);
  background: #ffd23b;
}

.blog-cta__socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.blog-cta__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #17181c;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .blog-cta {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-cta__image {
    height: 240px;
  }

  .blog-cta__actions {
    justify-items: start;
  }
}

@media (max-width: 767px) {
  .blog-cta-section {
    padding-bottom: 18px;
  }

  .blog-cta {
    padding: 14px;
    border-radius: 18px;
  }

  .blog-cta__image {
    height: 190px;
  }

  .blog-cta__content h2 {
    font-size: 26px;
  }
}

/* === Contacts page: основной блок контактов v1 === */
.contacts-page {
  background: #f4f3f1;
}

.contacts-main-section {
  padding: 44px 0 34px;
}

.contacts-main-section h1 {
  margin: 0 0 34px;
  color: #17181c;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.contacts-city-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contacts-tabs__buttons {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 28px;
}

.contacts-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 34px;
  border-radius: 999px;
  color: #17181c;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#contacts-nn:checked ~ .contacts-tabs__buttons .contacts-tab--nn,
#contacts-msk:checked ~ .contacts-tabs__buttons .contacts-tab--msk {
  background: #ffc400;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.18);
}

.contacts-city-panel {
  display: none;
}

#contacts-nn:checked ~ .contacts-city-panel--nn,
#contacts-msk:checked ~ .contacts-city-panel--msk {
  display: block;
}

.contacts-card {
  display: grid;
  grid-template-columns: minmax(430px, 0.96fr) minmax(0, 1.04fr);
  gap: 28px;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 26, 22, 0.06);
}

.contacts-info {
  position: relative;
  min-height: 520px;
  padding: 20px 18px 20px 0;
}

.contacts-info h2 {
  margin: 0 0 34px;
  color: #1c1d21;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contacts-info__label {
  margin-bottom: 18px;
  color: #b4b0aa;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.contacts-address-list {
  display: grid;
  gap: 0;
}

.contacts-address-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23, 24, 28, 0.1);
}

.contacts-address-icon {
  color: #ffc400;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.contacts-address-row p {
  margin: 0;
  color: #25282f;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.contacts-address-row a {
  color: #25282f;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.contacts-meta {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.contacts-meta div {
  display: grid;
  gap: 10px;
}

.contacts-meta span {
  color: #b4b0aa;
  font-size: 16px;
  font-weight: 700;
}

.contacts-meta strong,
.contacts-meta a {
  color: #25282f;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
}

.contacts-socials {
  position: absolute;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts-social {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contacts-social:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.contacts-social--vk {
  background-image: url("/assets/site/icons/vk.svg");
}

.contacts-social--telegram {
  background-image: url("/assets/site/icons/telegram-icon.svg");
}

.contacts-social--max {
  background-image: url("/assets/site/icons/max.png");
}

.contacts-map {
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: #ece7df;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
}

@media (max-width: 1100px) {
  .contacts-card {
    grid-template-columns: 1fr;
  }

  .contacts-info {
    min-height: auto;
  }

  .contacts-socials {
    position: static;
    margin-top: 26px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .contacts-main-section {
    padding: 28px 0 24px;
  }

  .contacts-main-section h1 {
    margin-bottom: 24px;
    font-size: 42px;
  }

  .contacts-tabs__buttons {
    gap: 12px;
    margin-bottom: 18px;
  }

  .contacts-tab {
    min-height: 40px;
    padding: 0 18px;
    font-size: 15px;
  }

  .contacts-card {
    padding: 18px;
    border-radius: 18px;
  }

  .contacts-info h2 {
    font-size: 26px;
  }

  .contacts-address-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .contacts-address-row a {
    grid-column: 2 / 3;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 320px;
  }
}

/* === Contacts page: быстрые карточки v1 === */
.contacts-quick-section {
  padding: 0 0 24px;
}

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

.contacts-quick-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #ffffff;
  color: #17181c;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(29, 26, 22, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(29, 26, 22, 0.08);
}

.contacts-quick-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff2c6;
  color: #c99300;
}

.contacts-quick-card__icon svg {
  width: 30px;
  height: 30px;
}

.contacts-quick-card span:last-child {
  display: grid;
  gap: 5px;
}

.contacts-quick-card small {
  color: #8a8177;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.contacts-quick-card strong {
  color: #17181c;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.contacts-quick-card em {
  color: #6d7078;
  font-size: 14px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .contacts-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contacts-quick-section {
    padding-bottom: 18px;
  }

  .contacts-quick-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 96px;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .contacts-quick-card__icon {
    width: 50px;
    height: 50px;
  }

  .contacts-quick-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .contacts-quick-card strong {
    font-size: 17px;
  }
}

/* === Contacts page: тёмный CTA-блок v1 === */
.contacts-cta-section {
  padding: 0 0 24px;
}

.contacts-cta {
  position: relative;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 260px;
  gap: 54px;
  align-items: center;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: #151618;
}

.contacts-cta__image {
  height: 184px;
  overflow: hidden;
  border-radius: 14px;
}

.contacts-cta__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contacts-cta__content {
  position: relative;
  z-index: 2;
}

.contacts-cta__content h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contacts-cta__content p {
  max-width: 520px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.contacts-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 8px;
  background: #ffc400;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contacts-cta__button:hover {
  transform: translateY(-1px);
  background: #ffd23b;
}

.contacts-cta__decor {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 196, 0, 0.48);
}

.contacts-cta__decor svg {
  width: 230px;
  height: auto;
}

@media (max-width: 1100px) {
  .contacts-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts-cta__image {
    height: 240px;
  }

  .contacts-cta__decor {
    display: none;
  }
}

@media (max-width: 767px) {
  .contacts-cta-section {
    padding-bottom: 18px;
  }

  .contacts-cta {
    padding: 14px;
    border-radius: 18px;
  }

  .contacts-cta__image {
    height: 190px;
  }

  .contacts-cta__content {
    padding: 4px 6px 8px;
  }

  .contacts-cta__content h2 {
    font-size: 28px;
  }
}

/* === Contacts page: тёмный CTA-блок v1 === */
.contacts-cta-section {
  padding: 0 0 24px;
}

.contacts-cta {
  position: relative;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 260px;
  gap: 54px;
  align-items: center;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: #151618;
}

.contacts-cta__image {
  height: 184px;
  overflow: hidden;
  border-radius: 14px;
}

.contacts-cta__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contacts-cta__content {
  position: relative;
  z-index: 2;
}

.contacts-cta__content h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contacts-cta__content p {
  max-width: 520px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.contacts-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 8px;
  background: #ffc400;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contacts-cta__button:hover {
  transform: translateY(-1px);
  background: #ffd23b;
}

.contacts-cta__decor {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 196, 0, 0.48);
}

.contacts-cta__decor svg {
  width: 230px;
  height: auto;
}

@media (max-width: 1100px) {
  .contacts-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts-cta__image {
    height: 240px;
  }

  .contacts-cta__decor {
    display: none;
  }
}

@media (max-width: 767px) {
  .contacts-cta-section {
    padding-bottom: 18px;
  }

  .contacts-cta {
    padding: 14px;
    border-radius: 18px;
  }

  .contacts-cta__image {
    height: 190px;
  }

  .contacts-cta__content {
    padding: 4px 6px 8px;
  }

  .contacts-cta__content h2 {
    font-size: 28px;
  }
}

/* === Privacy page: оформление политики конфиденциальности v1 === */
.privacy-page {
  background: #f4f3f1;
}

.privacy-hero {
  padding: 46px 0 28px;
}

.privacy-hero__content {
  padding: 36px 40px;
  border-radius: 22px;
  background: #faf8f5;
}

.privacy-breadcrumbs {
  margin-bottom: 36px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.privacy-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  color: #17181c;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.privacy-hero p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #4f535c;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.privacy-updated {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff2c6;
  color: #7d5b00;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.privacy-content-section {
  padding: 0 0 34px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.privacy-sidebar {
  position: sticky;
  top: 96px;
}

.privacy-sidebar__card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(29, 26, 22, 0.05);
}

.privacy-sidebar__card h2 {
  margin: 0 0 8px;
  color: #17181c;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.privacy-sidebar__card a {
  color: #5f626b;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.privacy-sidebar__card a:hover {
  color: #17181c;
}

.privacy-document {
  padding: 34px 40px 40px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(29, 26, 22, 0.05);
}

.privacy-document section {
  scroll-margin-top: 120px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(23, 24, 28, 0.1);
}

.privacy-document section:last-of-type {
  margin-bottom: 0;
}

.privacy-document h2 {
  margin: 0 0 18px;
  color: #17181c;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.privacy-document p {
  max-width: 900px;
  margin: 0 0 16px;
  color: #4f535c;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.privacy-document ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.privacy-document li {
  position: relative;
  padding-left: 28px;
  color: #4f535c;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.privacy-document li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc400;
}

.privacy-contact-box {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #faf8f5;
}

.privacy-contact-box p {
  margin: 0;
}

.privacy-contact-box a {
  color: #17181c;
  text-decoration: none;
}

.privacy-note {
  margin-top: 32px;
  padding: 20px 22px;
  border-left: 4px solid #ffc400;
  border-radius: 14px;
  background: #fff9e4;
  color: #4f535c;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.privacy-note strong {
  color: #17181c;
}

@media (max-width: 1100px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .privacy-hero {
    padding: 28px 0 18px;
  }

  .privacy-hero__content,
  .privacy-document {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .privacy-breadcrumbs {
    margin-bottom: 28px;
  }

  .privacy-hero h1 {
    font-size: 38px;
  }

  .privacy-hero p {
    font-size: 16px;
  }

  .privacy-document h2 {
    font-size: 24px;
  }

  .privacy-document p,
  .privacy-document li {
    font-size: 15px;
  }
}

/* === Contacts page: ссылки салонов и подсветка выбранного адреса v1 === */
.contacts-store-link {
  color: #17181c;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 196, 0, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contacts-store-link:hover {
  color: #8a6400;
  border-bottom-color: #ffc400;
}

.contacts-address-row.is-focused-store {
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 14px;
  background: #fff6d6;
  border-bottom-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.16);
}

/* === Contacts page: корректный отступ при фокусе салона v2 === */
.contacts-address-row {
  scroll-margin-top: 130px;
}

.contacts-card {
  scroll-margin-top: 120px;
}

.contacts-main-section {
  scroll-margin-top: 120px;
}

.contacts-address-row.is-focused-store {
  outline: 2px solid rgba(255, 196, 0, 0.72);
  outline-offset: 0;
}

/* === Contacts page: прокрутка к блоку карты при выборе салона v3 === */
.contacts-card {
  scroll-margin-top: 130px;
}

/* === Главная: hero-extra-info чистый финальный стиль по макету Сергея === */
.hero-content {
  position: relative;
  z-index: 6;
  overflow: visible;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

@media (min-width: 1101px) {
  .hero-extra-info {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 250px 305px 310px;
    width: 865px;
    max-width: none;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(23, 24, 28, 0.08);
  }

  .hero-extra-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 38px;
    padding-right: 18px;
  }

  .hero-extra-item + .hero-extra-item {
    padding-left: 18px;
    border-left: 1px solid rgba(23, 24, 28, 0.08);
  }

  .hero-extra-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #c69000;
  }

  .hero-extra-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-extra-text {
    display: block;
    color: #17181c;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.012em;
  }
}

@media (max-width: 1100px) {
  .hero-extra-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(23, 24, 28, 0.08);
  }

  .hero-extra-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .hero-extra-item + .hero-extra-item {
    padding-left: 0;
    border-left: 0;
  }

  .hero-extra-icon {
    width: 22px;
    height: 22px;
    color: #c69000;
  }

  .hero-extra-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-extra-text {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
  }
}

/* === Главная: акцентное слово в hero-заголовке === */
.hero-title-accent {
  color: #9a7624;
  font-weight: inherit;
}

/* === Главная: hero-слайдер категорий v1 === */
.hero-slider-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
}

.hero-slider__track {
  position: absolute;
  inset: 0;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 0.9s ease, transform 3.8s ease;
}

.hero-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider__slide img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-slider__caption {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 44px;
  z-index: 4;
  display: inline-grid;
  justify-items: start;
  gap: 8px;
  max-width: 360px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(29, 26, 22, 0.16);
  backdrop-filter: blur(10px);
}

.hero-slider__label {
  color: #17181c;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-slider__note {
  color: #5f626b;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.hero-slider__dots {
  position: absolute;
  right: 42px;
  bottom: 50px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-slider__dots button.is-active {
  width: 28px;
  background: #ffc400;
}

.hero-slider-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.94) 0%, rgba(245, 242, 236, 0.76) 22%, rgba(245, 242, 236, 0) 54%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}

.hero-slider,
.hero-slider__caption,
.hero-slider__dots {
  z-index: 3;
}

@media (max-width: 1100px) {
  .hero-slider-visual,
  .hero-slider,
  .hero-slider__slide img {
    min-height: 420px;
  }

  .hero-slider__caption {
    left: 24px;
    right: auto;
    bottom: 28px;
  }

  .hero-slider__dots {
    right: 24px;
    bottom: 34px;
  }
}

@media (max-width: 767px) {
  .hero-slider-visual,
  .hero-slider,
  .hero-slider__slide img {
    min-height: 300px;
  }

  .hero-slider__caption {
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: none;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .hero-slider__label {
    font-size: 22px;
  }

  .hero-slider__note {
    font-size: 13px;
  }

  .hero-slider__dots {
    left: 16px;
    right: auto;
    bottom: 94px;
  }
}

/* === Главная: чистка hero после установки слайдера === */

/* Скрываем нижнюю строку Сергея под кнопками, если старый CSS/HTML где-то остался */
.hero-extra-info {
  display: none !important;
}

/* Скрываем старый видеоблок и крупную плашку слайда */
.hero-video-card,
.hero-slider__caption {
  display: none !important;
}

/* После удаления плашки оставляем только аккуратные точки слайдера */
.hero-slider__dots {
  right: 42px;
  bottom: 34px;
}

/* Убираем лишнее затемнение снизу, потому что подписи больше нет */
.hero-slider-visual::after {
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.94) 0%, rgba(245, 242, 236, 0.72) 20%, rgba(245, 242, 236, 0) 48%);
}

@media (max-width: 767px) {
  .hero-slider__dots {
    left: 16px;
    right: auto;
    bottom: 20px;
  }
}


/* === Главная: мягкий переход между текстом и hero-слайдером === */

/* Более короткий и прозрачный переход, чтобы не перекрывать текст */
.hero-slider-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  bottom: 0;
  width: 48px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.64) 34%,
    rgba(255, 255, 255, 0.26) 68%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Вкладки слайдера должны быть выше перехода */
.hero-slider__tabs,
.hero-slider__dots.hero-slider__tabs {
  z-index: 9 !important;
}

@media (max-width: 1200px) {
  .hero-slider-visual::before {
    width: 40px;
  }
}

@media (max-width: 767px) {
  .hero-slider-visual::before {
    display: none;
  }
}


/* === Главная: компактная строка доверия в hero === */

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 540px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 24, 28, 0.10);
}

.hero-trust-row__item {
  position: relative;
  min-width: 0;
  padding: 13px 16px 0;
  border-right: 1px solid rgba(22, 24, 28, 0.10);
  color: #17181c;
}

.hero-trust-row__item:first-child {
  padding-left: 0;
}

.hero-trust-row__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-trust-row__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #ffc400;
}

.hero-trust-row__item:first-child::before {
  left: 0;
}

.hero-trust-row__item strong {
  display: block;
  margin-bottom: 4px;
  color: #17181c;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero-trust-row__item span {
  display: block;
  color: #4d5058;
  font-size: 12px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-trust-row__icon {
  display: none !important;
}

@media (max-width: 1200px) {
  .hero-trust-row {
    max-width: 500px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .hero-trust-row__item {
    padding: 12px 11px 0;
  }

  .hero-trust-row__item::before {
    left: 11px;
    width: 26px;
  }

  .hero-trust-row__item:first-child::before {
    left: 0;
  }

  .hero-trust-row__item strong {
    font-size: 13px;
  }

  .hero-trust-row__item span {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }

  .hero-trust-row__item {
    padding: 12px 0 0;
    border-right: 0;
  }

  .hero-trust-row__item::before {
    left: 0;
  }
}


/* === Главная: hero-слайдер только с автоматической сменой фото === */

/* Убираем все элементы управления и подписи со слайдера */
.hero-slider__tabs,
.hero-slider__dots,
.hero-slider__title,
.hero-slider__caption {
  display: none !important;
}

/* Оставляем только мягкий переход от текста к изображению */
.hero-slider-visual::after {
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.92) 0%, rgba(245, 242, 236, 0.66) 19%, rgba(245, 242, 236, 0) 47%) !important;
}


/* === Главный экран: финальный радиус hero-баннера как у больших плиток каталога === */

.hero {
  position: relative;
  z-index: 6;
}

.benefits-strip {
  position: relative;
  z-index: 1 !important;
}

/* Радиус 18px — как у больших плиток каталога */
.hero-visual,
.hero-slider-visual,
.hero-slider,
.hero-slider__track,
.hero-slider__slide,
.hero-slider__slide img {
  border-radius: 18px !important;
}

.hero-visual,
.hero-slider-visual,
.hero-slider,
.hero-slider__track,
.hero-slider__slide {
  overflow: hidden !important;
}

.hero-visual,
.hero-slider-visual {
  position: relative;
  z-index: 6;
  isolation: isolate;
}

.hero-slider__slide {
  height: 100% !important;
}

.hero-slider__slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

.hero-visual::before,
.hero-visual::after,
.hero-slider-visual::before,
.hero-slider-visual::after,
.hero-slider::before,
.hero-slider::after {
  border-radius: 18px !important;
}


/* === Главная: типографика первого экрана по предложению Сергея === */

/* Manrope сохраняем, но первый экран делаем компактнее */
.hero,
.hero * {
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}

.hero-content h1 {
  max-width: 620px;
  font-size: clamp(44px, 3.55vw, 54px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.052em;
}

.hero-title-accent {
  color: #9a7624;
  font-weight: 700;
}

.hero-text {
  max-width: 515px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.46;
  font-weight: 400;
  letter-spacing: -0.012em;
}

.hero-buttons {
  gap: 14px;
  margin-top: 18px;
}

.btn {
  min-height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-features {
  gap: 26px;
  margin-top: 18px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.hero-feature span {
  font-size: 13px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hero-trust-row {
  max-width: 505px;
  margin-top: 16px;
  padding-top: 14px;
}

.hero-trust-row__item {
  padding-top: 10px;
}

.hero-trust-row__item::before {
  height: 2px;
}

.hero-trust-row__item strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-trust-row__item span {
  font-size: 12px;
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: clamp(40px, 4.2vw, 50px);
  }

  .hero-text {
    max-width: 490px;
    font-size: 15px;
  }

  .btn {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .hero-feature span {
    font-size: 12px;
  }

  .hero-trust-row__item strong {
    font-size: 15px;
  }

  .hero-trust-row__item span {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .btn {
    min-height: 46px;
    font-size: 15px;
  }
}


/* === Главная: компактная высота первого экрана === */

.hero-slider-visual,
.hero-slider,
.hero-slider__slide img {
  min-height: 460px !important;
}

.hero-slider__track,
.hero-slider__slide {
  height: 100% !important;
}

.hero {
  padding-bottom: 18px !important;
}

.benefits-strip {
  margin-top: 0 !important;
}

@media (max-width: 1200px) {
  .hero-slider-visual,
  .hero-slider,
  .hero-slider__slide img {
    min-height: 420px !important;
  }

  .hero {
    padding-bottom: 16px !important;
  }
}


/* === Главная: зазор между hero-слайдером и белой лентой === */

/* Уменьшаем расстояние между первым блоком и белой лентой */
.hero {
  position: relative;
  z-index: 6;
  padding-bottom: 8px !important;
}

.benefits-strip {
  position: relative;
  z-index: 1 !important;
  margin-top: 0 !important;
  transform: none !important;
}

@media (max-width: 1200px) {
  .hero {
    padding-bottom: 8px !important;
  }
}


/* === Главная: белая лента на всю ширину, контент по сетке hero === */

/* Белая лента снова идёт на всю ширину экрана — без боковых отступов */
.benefits-strip {
  width: 100% !important;
  background: #ffffff !important;
  padding: 8px 0 18px !important;
  margin-top: 0 !important;
  transform: none !important;
  position: relative;
  z-index: 1 !important;
}

/* Внутренний контейнер без карточки, без скругления и без тени */
.benefits-strip-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Сам список преимуществ выравниваем по рабочей ширине первого блока */
.benefits-list {
  width: min(calc(100% - 96px), 1500px) !important;
  min-height: 96px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: center !important;
}

/* Компактная высота пунктов */
.benefit-item {
  min-height: 88px !important;
  padding: 8px 12px !important;
}

.benefit-icon {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 8px !important;
}

.benefit-title {
  font-size: 15px !important;
  line-height: 1.14 !important;
}

/* Средние экраны */
@media (max-width: 1200px) {
  .benefits-list {
    width: min(calc(100% - 96px), 1500px) !important;
    min-height: 88px !important;
  }

  .benefit-item {
    min-height: 82px !important;
    padding: 7px 10px !important;
  }

  .benefit-icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 7px !important;
  }

  .benefit-title {
    font-size: 14px !important;
  }
}

/* Мобильную версию позже настраиваем отдельно */
@media (max-width: 767px) {
  .benefits-list {
    width: calc(100% - 32px) !important;
  }
}


/* === Главная: единая desktop-сетка сайта === */

/*
  Общая рабочая ширина для главной:
  шапка, первый блок, контент белой ленты и каталог
  должны жить в одной визуальной сетке.
*/
:root {
  --malva-page-max: 1500px;
  --malva-page-gap: 48px;
}

/* Шапка */
.site-header .container {
  width: min(calc(100% - var(--malva-page-gap) * 2), var(--malva-page-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Первый экран */
.hero-inner {
  width: min(calc(100% - var(--malva-page-gap) * 2), var(--malva-page-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Белая лента остаётся фоном на всю ширину */
.benefits-strip {
  width: 100% !important;
  background: #ffffff !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* А содержимое белой ленты выравнивается по сетке первого блока */
.benefits-list {
  width: min(calc(100% - var(--malva-page-gap) * 2), var(--malva-page-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Каталог тоже держим в той же рабочей ширине */
.catalog-inner {
  width: min(calc(100% - var(--malva-page-gap) * 2), var(--malva-page-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* На средних экранах сохраняем ту же сетку */
@media (max-width: 1200px) {
  :root {
    --malva-page-gap: 48px;
  }
}

/* Мобильную версию позже настраиваем отдельно */
@media (max-width: 767px) {
  :root {
    --malva-page-gap: 16px;
  }
}


/* === Страницы категорий: стиль по предложению Сергея === */

/* Общая ширина и спокойный фон страниц категорий */
.category-page-section,
.category-projects-section {
  background: #f4f3ef;
}

.category-page-inner,
.category-projects-inner {
  width: min(calc(100% - 96px), var(--malva-page-max, 1500px));
  margin: 0 auto;
}

/* Первый экран категории */
.category-detail-hero,
.category-page-hero-clean {
  position: relative;
  min-height: 430px;
  padding: 54px 0 72px;
  overflow: hidden;
  background: #f4f3ef;
}

.category-detail-hero::after,
.category-page-hero-clean::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(58vw, 980px);
  height: 100%;
  background: linear-gradient(90deg, rgba(244, 243, 239, 0.95) 0%, rgba(244, 243, 239, 0.62) 34%, rgba(244, 243, 239, 0.04) 72%),
              var(--category-hero-image, none);
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.category-detail-hero .container,
.category-page-hero-clean .container,
.category-detail-hero .category-page-inner,
.category-page-hero-clean .category-page-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 96px), var(--malva-page-max, 1500px));
  margin: 0 auto;
}

/* Хлебные крошки */
.category-detail-hero .breadcrumbs,
.category-page-hero-clean .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  color: rgba(24, 24, 24, 0.58);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.category-detail-hero .breadcrumbs a,
.category-page-hero-clean .breadcrumbs a {
  color: rgba(24, 24, 24, 0.72);
  text-decoration: none;
}

.category-detail-hero .breadcrumbs span,
.category-page-hero-clean .breadcrumbs span {
  color: rgba(24, 24, 24, 0.4);
}

/* Малый надзаголовок */
.category-detail-hero .eyebrow,
.category-page-hero-clean .eyebrow,
.category-detail-hero .section-kicker,
.category-page-hero-clean .section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: #b88400;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.category-detail-hero .eyebrow::before,
.category-page-hero-clean .eyebrow::before,
.category-detail-hero .section-kicker::before,
.category-page-hero-clean .section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  margin-right: 12px;
  background: #e2b319;
  border-radius: 999px;
}

/* Заголовок и описание */
.category-detail-hero h1,
.category-page-hero-clean h1 {
  max-width: 660px;
  margin: 0 0 22px;
  color: #17191f;
  font-size: clamp(56px, 4.2vw, 72px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.category-detail-hero p,
.category-page-hero-clean p {
  max-width: 560px;
  margin: 0;
  color: rgba(23, 25, 31, 0.82);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

/* Кнопки первого экрана */
.category-detail-hero .hero-buttons,
.category-page-hero-clean .hero-buttons {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.category-detail-hero .hero-buttons .btn-primary,
.category-page-hero-clean .hero-buttons .btn-primary {
  min-width: 238px;
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #171717;
  background: #f6bd16;
  border: 1px solid #f6bd16;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(246, 189, 22, 0.18);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.category-detail-hero .hero-buttons .btn-primary::after,
.category-page-hero-clean .hero-buttons .btn-primary::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.category-detail-hero .hero-buttons .btn-primary:hover,
.category-page-hero-clean .hero-buttons .btn-primary:hover {
  background: #e9af0f;
  border-color: #e9af0f;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(246, 189, 22, 0.24);
}

.category-detail-hero .hero-buttons .btn-outline,
.category-page-hero-clean .hero-buttons .btn-outline {
  min-width: 250px;
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(23, 23, 23, 0.8);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.category-detail-hero .hero-buttons .btn-outline:hover,
.category-page-hero-clean .hero-buttons .btn-outline:hover {
  background: #171717;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Фоновые изображения первого экрана для категорий */
body:has(a[href="shkafy.html"].active) .category-detail-hero,
body:has(a[href="shkafy.html"].active) .category-page-hero-clean {
  --category-hero-image: url("../images/category-pages/shkafy/shkafy-vstroennyj-shkaf-do-potolka.webp");
}

body:has(a[href="kuhni.html"].active) .category-detail-hero,
body:has(a[href="kuhni.html"].active) .category-page-hero-clean {
  --category-hero-image: url("../images/category-pages/kuhni/kuhni-s-ostrovom.webp");
}

/* Навигация категорий */
.category-tabs,
.catalog-tabs,
.category-filter-tabs {
  width: min(calc(100% - 96px), var(--malva-page-max, 1500px));
  margin: -28px auto 34px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.category-tabs a,
.catalog-tabs a,
.category-filter-tabs a {
  min-height: 58px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #191919;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 23, 23, 0.05);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.045);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-tabs a::before,
.catalog-tabs a::before,
.category-filter-tabs a::before {
  content: "";
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  opacity: 0.82;
  background-color: currentColor;
  -webkit-mask: var(--tab-icon, linear-gradient(#000 0 0)) center / contain no-repeat;
  mask: var(--tab-icon, linear-gradient(#000 0 0)) center / contain no-repeat;
}

.category-tabs a:nth-child(1),
.catalog-tabs a:nth-child(1),
.category-filter-tabs a:nth-child(1) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h5v5H3V3Zm9 0h5v5h-5V3ZM3 12h5v5H3v-5Zm9 0h5v5h-5v-5Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(2),
.catalog-tabs a:nth-child(2),
.category-filter-tabs a:nth-child(2) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3h12v14H4V3Zm2 2v10h2V5H6Zm4 0v10h2V5h-2Zm4 0v10h0V5h0Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(3),
.catalog-tabs a:nth-child(3),
.category-filter-tabs a:nth-child(3) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h12v10H4V5Zm2 2v6h8V7H6Zm1-4h6v2H7V3Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(4),
.catalog-tabs a:nth-child(4),
.category-filter-tabs a:nth-child(4) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3 3 7v10h14V7l-7-4Zm-3 8h6v4H7v-4Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(5),
.catalog-tabs a:nth-child(5),
.category-filter-tabs a:nth-child(5) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h12v3H4V5Zm2 5h8v5H6v-5Zm1-8h6v2H7V2Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(6),
.catalog-tabs a:nth-child(6),
.category-filter-tabs a:nth-child(6) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h14v8H3V5Zm5 10h4v2H8v-2Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(7),
.catalog-tabs a:nth-child(7),
.category-filter-tabs a:nth-child(7) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4h10v5H5V4Zm-1 7h12v2a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4v-2Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:nth-child(8),
.catalog-tabs a:nth-child(8),
.category-filter-tabs a:nth-child(8) {
  --tab-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h12v6H4V8Zm2-3h8v2H6V5Zm1 9h2v2H7v-2Zm4 0h2v2h-2v-2Z' fill='%23000'/%3E%3C/svg%3E");
}

.category-tabs a:hover,
.catalog-tabs a:hover,
.category-filter-tabs a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(20, 20, 20, 0.07);
}

.category-tabs a.active,
.catalog-tabs a.active,
.category-filter-tabs a.active {
  background: #f6bd16;
  border-color: #f6bd16;
  box-shadow: 0 14px 30px rgba(246, 189, 22, 0.18);
}

/* Две верхние карточки: описание и список */
.category-page-section {
  padding: 0 0 38px;
}

.category-page-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 30px;
  align-items: stretch;
}

.category-info-card,
.category-order-card {
  min-height: 254px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 23, 23, 0.04);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(20, 20, 20, 0.055);
}

.category-info-image {
  display: block;
  width: 100%;
  height: 136px;
  object-fit: cover;
  border-bottom: 1px solid rgba(24, 24, 24, 0.045);
}

.category-info-card p {
  max-width: 640px;
  margin: 0;
  padding: 24px 30px 26px;
  color: #25262b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.category-order-card {
  position: relative;
  padding: 34px 38px;
}

.category-order-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 14px;
  width: 220px;
  height: 150px;
  opacity: 0.11;
  background:
    linear-gradient(90deg, #b88400 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(#b88400 1px, transparent 1px) 0 0 / 42px 42px;
  transform: skewX(-8deg);
  pointer-events: none;
}

.category-order-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #17191f;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.category-order-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-order-card li {
  position: relative;
  padding-left: 30px;
  color: #25262b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.category-order-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  background: #f6bd16;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* Примеры работ */
.category-projects-section {
  padding: 0 0 28px;
}

.category-projects-inner {
  display: block;
}

.category-projects-section h2 {
  margin: 0 0 22px;
  color: #17191f;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.category-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category-project-card {
  overflow: hidden;
  display: block;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.045);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(20, 20, 20, 0.09);
}

.category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.category-project-card-body {
  position: relative;
  padding: 20px 48px 22px 20px;
}

.category-project-card-body strong {
  display: block;
  margin: 0 0 7px;
  color: #17191f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.category-project-card-body span {
  display: block;
  color: rgba(23, 25, 31, 0.72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.category-project-card-body em,
.category-project-card-body .more {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: #d39a00;
  font-size: 0;
  font-style: normal;
  line-height: 1;
}

.category-project-card-body em::after,
.category-project-card-body .more::after {
  content: "→";
  font-size: 21px;
  font-weight: 500;
}

/* CTA внизу категории */
.category-page-cta,
.category-detail-cta.category-page-cta {
  width: min(calc(100% - 96px), var(--malva-page-max, 1500px));
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: radial-gradient(circle at 72% 50%, rgba(246, 189, 22, 0.1), transparent 32%),
              linear-gradient(135deg, #111417, #17191f);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(17, 20, 23, 0.22);
}

.category-page-cta::before,
.category-detail-cta.category-page-cta::before {
  content: "";
  width: 58px;
  height: 58px;
  display: block;
  border: 1px solid rgba(246, 189, 22, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(rgba(246, 189, 22, 0.18), rgba(246, 189, 22, 0.18)),
    url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 13 15 6l9 7v11H6V13Zm5 3h8v8h-8v-8Z' fill='%23f6bd16'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
}

.category-page-cta h2,
.category-detail-cta.category-page-cta h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.category-page-cta p,
.category-detail-cta.category-page-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.category-page-cta .btn-primary,
.category-detail-cta.category-page-cta .btn-primary {
  min-width: 230px;
  min-height: 56px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #171717;
  background: #f6bd16;
  border: 1px solid #f6bd16;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.category-page-cta .btn-primary::after,
.category-detail-cta.category-page-cta .btn-primary::after {
  content: "→";
  font-size: 18px;
}

@media (max-width: 1180px) {
  .category-tabs,
  .catalog-tabs,
  .category-filter-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-page-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .category-page-inner,
  .category-projects-inner,
  .category-detail-hero .container,
  .category-page-hero-clean .container,
  .category-detail-hero .category-page-inner,
  .category-page-hero-clean .category-page-inner,
  .category-page-cta,
  .category-detail-cta.category-page-cta {
    width: min(calc(100% - 32px), 100%);
  }

  .category-detail-hero,
  .category-page-hero-clean {
    min-height: auto;
    padding: 34px 0 54px;
  }

  .category-detail-hero::after,
  .category-page-hero-clean::after {
    width: 100%;
    opacity: 0.28;
  }

  .category-detail-hero h1,
  .category-page-hero-clean h1 {
    font-size: 42px;
  }

  .category-detail-hero p,
  .category-page-hero-clean p {
    font-size: 17px;
  }

  .category-detail-hero .hero-buttons,
  .category-page-hero-clean .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .category-tabs,
  .catalog-tabs,
  .category-filter-tabs {
    width: min(calc(100% - 32px), 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-projects-grid {
    grid-template-columns: 1fr;
  }

  .category-page-cta,
  .category-detail-cta.category-page-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}


/* === Страницы категорий: CTA по реальной HTML-структуре === */

/* Секция с примерами и CTA находятся внутри .category-page-inner,
   поэтому должны занимать обе колонки родительской сетки */
.category-page-inner > .category-projects-section,
.category-page-inner > .category-page-cta,
.category-page-inner > .category-detail-cta.category-page-cta {
  grid-column: 1 / -1 !important;
}

/* Секция примеров работ не должна иметь собственную лишнюю ширину */
.category-page-inner > .category-projects-section {
  width: 100% !important;
}

/* CTA должен быть широкой горизонтальной плашкой под карточками */
.category-page-inner > .category-page-cta,
.category-page-inner > .category-detail-cta.category-page-cta {
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  min-height: 116px !important;
  padding: 30px 38px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 28px !important;
}

/* Так как в HTML внутри CTA сейчас только текстовый div и кнопка,
   иконку рисуем псевдоэлементом как отдельную первую колонку */
.category-page-inner > .category-page-cta::before,
.category-page-inner > .category-detail-cta.category-page-cta::before {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.category-page-inner > .category-page-cta > div,
.category-page-inner > .category-detail-cta.category-page-cta > div {
  grid-column: 2 !important;
  min-width: 0 !important;
}

.category-page-inner > .category-page-cta .btn-primary,
.category-page-inner > .category-detail-cta.category-page-cta .btn-primary {
  grid-column: 3 !important;
  justify-self: end !important;
  white-space: nowrap !important;
}

/* Текст CTA не должен превращаться в узкую вертикальную колонку */
.category-page-inner > .category-page-cta h2,
.category-page-inner > .category-detail-cta.category-page-cta h2 {
  max-width: none !important;
  margin: 0 0 6px !important;
  white-space: normal !important;
}

.category-page-inner > .category-page-cta p,
.category-page-inner > .category-detail-cta.category-page-cta p {
  max-width: 760px !important;
  margin: 0 !important;
  white-space: normal !important;
}

@media (max-width: 767px) {
  .category-page-inner > .category-page-cta,
  .category-page-inner > .category-detail-cta.category-page-cta {
    grid-template-columns: 1fr !important;
    padding: 26px 22px !important;
  }

  .category-page-inner > .category-page-cta::before,
  .category-page-inner > .category-detail-cta.category-page-cta::before,
  .category-page-inner > .category-page-cta > div,
  .category-page-inner > .category-detail-cta.category-page-cta > div,
  .category-page-inner > .category-page-cta .btn-primary,
  .category-page-inner > .category-detail-cta.category-page-cta .btn-primary {
    grid-column: 1 !important;
  }

  .category-page-inner > .category-page-cta .btn-primary,
  .category-page-inner > .category-detail-cta.category-page-cta .btn-primary {
    justify-self: stretch !important;
  }
}


/* === Страницы категорий: компактные карточки работ === */

/* Заголовок блока ближе к макету */
.category-projects-section h2 {
  margin: 0 0 18px !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
}

/* Сетка карточек чуть плотнее */
.category-projects-grid {
  gap: 22px !important;
}

/* Карточка легче и ниже */
.category-project-card {
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.045) !important;
}

/* Картинка в карточке ниже, как в макете */
.category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Текстовый блок компактнее */
.category-project-card-body {
  padding: 17px 48px 18px 18px !important;
}

/* Название карточки */
.category-project-card-body strong {
  margin: 0 0 5px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
}

/* Подпись карточки: учитываем, что в HTML используется small */
.category-project-card-body span,
.category-project-card-body small {
  display: block !important;
  color: rgba(23, 25, 31, 0.74) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

/* Старый текст "Подробнее" скрываем, оставляем аккуратную стрелку */
.category-project-card-body em {
  position: absolute !important;
  right: 20px !important;
  bottom: 18px !important;
  color: #d39a00 !important;
  font-size: 0 !important;
  font-style: normal !important;
  line-height: 1 !important;
}

.category-project-card-body em::after {
  content: "→" !important;
  font-size: 22px !important;
  font-weight: 500 !important;
}

/* Чтобы карточки не становились визуально огромными на широком экране */
@media (min-width: 1400px) {
  .category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
}


/* === Страницы категорий: финальное уплотнение карточек работ === */

/* Сам блок ближе к верхним карточкам и без лишней высоты */
.category-projects-section {
  padding: 0 0 20px !important;
}

.category-projects-section h2 {
  margin: 0 0 18px !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

/* Сетка плотнее, как в предложении Сергея */
.category-projects-grid {
  gap: 20px !important;
}

/* Карточки ниже и легче */
.category-project-card {
  border-radius: 13px !important;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.04) !important;
}

/* Главное: уменьшаем высоту изображений */
.category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Текстовый блок делаем компактнее */
.category-project-card-body {
  min-height: 78px !important;
  padding: 14px 44px 15px 16px !important;
}

/* Заголовок карточки */
.category-project-card-body strong {
  margin: 0 0 4px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.01em !important;
}

/* Подпись */
.category-project-card-body small,
.category-project-card-body span {
  display: block !important;
  color: rgba(23, 25, 31, 0.72) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* Стрелка */
.category-project-card-body em {
  right: 18px !important;
  bottom: 15px !important;
  font-size: 0 !important;
}

.category-project-card-body em::after {
  content: "→" !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #d39a00 !important;
}

/* CTA после карточек подтягиваем выше */
.category-page-inner > .category-page-cta,
.category-page-inner > .category-detail-cta.category-page-cta {
  margin-top: 12px !important;
}


/* === Страницы категорий: точная правка карточек по DOM === */

/* Заголовок блока + ссылка справа */
.category-projects-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 0 16px !important;
}

.category-projects-head h2 {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.018em !important;
}

.category-projects-all-link {
  display: inline-flex !important;
  align-items: center !important;
  color: #c99200 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Секция без лишней высоты */
.category-projects-section {
  padding: 0 0 14px !important;
}

/* Сетка: 3 колонки, плотнее по вертикали */
/* Desktop-only: на mobile/tablet сетку задают отдельные адаптивные правила ниже */
@media (min-width: 901px) {
  .category-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px 20px !important;
  }
}

/* Карточка должна быть около 168–174 px по высоте, а не 214 px */
.category-project-card {
  min-height: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.035) !important;
}

/* Изображение: было 132 px, делаем 104 px */
.category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ВАЖНО: span внутри карточки был inline.
   Делаем его block, иначе padding и высота считаются криво. */
.category-project-card-body {
  display: block !important;
  position: relative !important;
  min-height: 64px !important;
  height: 64px !important;
  padding: 11px 42px 10px 14px !important;
  box-sizing: border-box !important;
}

/* Заголовок карточки */
.category-project-card-body strong {
  display: block !important;
  margin: 0 0 3px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.006em !important;
}

/* Подпись карточки */
.category-project-card-body small,
.category-project-card-body span {
  display: block !important;
  color: rgba(23, 25, 31, 0.72) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

/* Стрелка справа, как в макете */
.category-project-card-body em {
  position: absolute !important;
  right: 15px !important;
  bottom: 11px !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #d39a00 !important;
  font-size: 0 !important;
  font-style: normal !important;
  line-height: 1 !important;
}

.category-project-card-body em::after {
  content: "→" !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

/* CTA подтягиваем к блоку карточек */
.category-page-inner > .category-page-cta,
.category-page-inner > .category-detail-cta.category-page-cta {
  margin-top: 10px !important;
}


/* === Страницы категорий: пропорции карточек работ по макету === */

/* Карточка должна быть компактной, но изображение не должно быть слишком низким */
.category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Текстовая часть компактная, чтобы карточка не раздувалась */
.category-project-card-body {
  display: block !important;
  position: relative !important;
  min-height: 66px !important;
  height: 66px !important;
  padding: 11px 42px 10px 14px !important;
  box-sizing: border-box !important;
}

/* Заголовок карточки */
.category-project-card-body strong {
  margin: 0 0 3px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

/* Подпись карточки */
.category-project-card-body small,
.category-project-card-body span {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Стрелка справа */
.category-project-card-body em {
  right: 15px !important;
  bottom: 12px !important;
}

/* Общая высота карточки получится примерно 194 px */
.category-project-card {
  min-height: 0 !important;
}

/* На очень широком экране изображение можно чуть ниже, чтобы не раздувать блок */
@media (min-width: 1500px) {
  .category-project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
}


/* === Страницы категорий: двухколоночный блок Что можно заказать === */

/* Карточка делится на текст слева и иллюстрацию справа */
.category-order-card {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 34px 32px 34px 38px !important;
}

/* Отключаем старую декоративную сетку/фон через псевдоэлемент */
.category-order-card::after {
  content: none !important;
  display: none !important;
}

/* Текстовая часть */
.category-order-card__content {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
}

/* Заголовок */
.category-order-card__content h2,
.category-order-card h2 {
  margin: 0 0 22px !important;
  color: #17191f !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.025em !important;
}

/* Список */
.category-order-card__content ul,
.category-order-card ul {
  max-width: 290px !important;
  display: grid !important;
  gap: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.category-order-card__content li,
.category-order-card li {
  position: relative !important;
  padding-left: 30px !important;
  color: #25262b !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.category-order-card__content li::before,
.category-order-card li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 1px !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #171717 !important;
  background: #f6bd16 !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* Правая зона под иллюстрацию */
.category-order-card__image {
  position: relative !important;
  z-index: 1 !important;
  width: 190px !important;
  height: 215px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  justify-self: end !important;
  pointer-events: none !important;
}

/* Сама иллюстрация */
.category-order-card__image img {
  display: block !important;
  width: 190px !important;
  height: 215px !important;
  object-fit: contain !important;
  opacity: 0.58 !important;
  filter: contrast(1.08) saturate(1.08) !important;
}

/* Для кухни иллюстрацию можно сделать чуть шире визуально */
.category-order-card--kuhni .category-order-card__image img {
  width: 205px !important;
}

/* Для шкафов оставляем выше и плотнее */
.category-order-card--shkafy .category-order-card__image img {
  width: 195px !important;
}

/* На средних экранах чуть ужимаем иллюстрацию */
@media (max-width: 1180px) {
  .category-order-card {
    grid-template-columns: minmax(0, 1fr) 170px !important;
  }

  .category-order-card__image {
    width: 170px !important;
    height: 200px !important;
  }

  .category-order-card__image img {
    width: 170px !important;
    height: 200px !important;
  }
}

@media (max-width: 767px) {
  .category-order-card {
    grid-template-columns: 1fr !important;
    padding: 28px 24px !important;
  }

  .category-order-card__content ul,
  .category-order-card ul {
    max-width: none !important;
  }

  .category-order-card__image {
    width: 100% !important;
    height: 130px !important;
    justify-content: flex-start !important;
    opacity: 0.75 !important;
  }

  .category-order-card__image img {
    width: 220px !important;
    height: 130px !important;
  }
}


/* === Страницы категорий: компактные верхние карточки без иллюстрации === */

/* Верхняя сетка: две карточки должны быть компактнее */
.category-page-inner {
  align-items: stretch !important;
  gap: 28px !important;
}

/* Общая высота верхних карточек */
.category-info-card,
.category-order-card {
  min-height: 0 !important;
  height: auto !important;
  border-radius: 18px !important;
}

/* Левая карточка: изображение ниже, текст компактнее */
.category-info-image {
  display: block;
  width: 100%;
  height: 250px !important;
  object-fit: cover !important;
  object-position: center center;
  border-bottom: 1px solid rgba(24, 24, 24, 0.045);
}

.category-info-card p {
  padding: 22px 28px 24px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Правая карточка временно без иллюстрации: одна колонка */
.category-order-card {
  display: block !important;
  padding: 30px 36px !important;
}

/* Убираем любые остатки зоны изображения */
.category-order-card__image {
  display: none !important;
}

/* Текстовая обёртка не должна сжиматься */
.category-order-card__content {
  width: 100% !important;
  max-width: none !important;
}

/* Заголовок больше не должен переноситься в две строки */
.category-order-card h2,
.category-order-card__content h2 {
  max-width: none !important;
  margin: 0 0 20px !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  white-space: normal !important;
}

/* Список компактнее */
.category-order-card ul,
.category-order-card__content ul {
  max-width: none !important;
  gap: 12px !important;
}

.category-order-card li,
.category-order-card__content li {
  font-size: 16px !important;
  line-height: 1.4 !important;
  padding-left: 28px !important;
}

/* Галочки чуть аккуратнее */
.category-order-card li::before,
.category-order-card__content li::before {
  top: 1px !important;
  width: 17px !important;
  height: 17px !important;
  font-size: 11px !important;
}

/* Старая фоновая иллюстрация и сетка отключены */
.category-order-card::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  .category-info-image {
    height: 110px !important;
  }

  .category-info-card p {
    padding: 20px 22px !important;
    font-size: 15px !important;
  }

  .category-order-card {
    padding: 26px 24px !important;
  }

  .category-order-card h2,
  .category-order-card__content h2 {
    font-size: 24px !important;
  }

  .category-order-card li,
  .category-order-card__content li {
    font-size: 15px !important;
  }
}


/* === Страницы категорий: финальное размещение эскиза в Что можно заказать === */

/* Карточка остаётся компактной, изображение не участвует в расчёте высоты */
.category-order-card {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px !important;
  align-items: center !important;
  column-gap: 24px !important;
  min-height: 357px !important;
  padding: 34px 32px 34px 38px !important;
}

/* Старый фоновый псевдоэлемент отключён */
.category-order-card::after {
  content: none !important;
  display: none !important;
}

/* Контент поверх эскиза */
.category-order-card__content {
  position: relative !important;
  z-index: 2 !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Список оставляем компактным, чтобы справа было место под иллюстрацию */
.category-order-card__content ul,
.category-order-card ul {
  max-width: 285px !important;
}

/* Правая зона с эскизом */
.category-order-card__image {
  position: absolute !important;
  z-index: 1 !important;
  right: 12px !important;
  bottom: 20px !important;
  width: 248px !important;
  height: 248px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

/* Сам эскиз */
.category-order-card__image img {
  display: block !important;
  width: 248px !important;
  height: 248px !important;
  object-fit: contain !important;
  opacity: 0.88 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Шкаф чуть крупнее по ширине, потому что рисунок вертикальнее */
.category-order-card--shkafy .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 248px !important;
  height: 300px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--shkafy .category-order-card__image img {
  width: 248px !important;
  height: 300px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Кухню слегка сдвигаем ниже, чтобы она не спорила с заголовком */


/* Детские: вертикальный эскиз в правом блоке категории */
.category-order-card--detskie .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 240px !important;
  height: 290px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--detskie .category-order-card__image img {
  display: block !important;
  width: 240px !important;
  height: 290px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* Прихожие: вертикальный эскиз в правом блоке категории */
.category-order-card--prihozhie .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 240px !important;
  height: 290px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--prihozhie .category-order-card__image img {
  display: block !important;
  width: 240px !important;
  height: 290px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* ТВ-зоны: эскиз в правом блоке категории */
.category-order-card--tv-zony .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 250px !important;
  height: 300px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--tv-zony .category-order-card__image img {
  display: block !important;
  width: 250px !important;
  height: 300px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* Санузел и ванная: вертикальный эскиз в правом блоке категории */
.category-order-card--sanuzel .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 240px !important;
  height: 290px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--sanuzel .category-order-card__image img {
  display: block !important;
  width: 240px !important;
  height: 290px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* Гостиные: эскиз в правом блоке категории */
.category-order-card--gostinye .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 250px !important;
  height: 300px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--gostinye .category-order-card__image img {
  display: block !important;
  width: 250px !important;
  height: 300px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 1380px) {
  .category-order-card {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 32px !important;
  }

  .category-order-card__content {
    max-width: none !important;
  }

  .category-order-card--shkafy .category-order-card__image,
  .category-order-card--kuhni .category-order-card__image,
  .category-order-card__image {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 230px !important;
    height: 270px !important;
    margin: 18px 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    transform: none !important;
  }

  .category-order-card--shkafy .category-order-card__image img,
  .category-order-card--kuhni .category-order-card__image img,
  .category-order-card__image img {
    width: 230px !important;
    height: 270px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .category-order-card__content {
    max-width: none !important;
  }

  .category-order-card__image {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 120px !important;
    margin-top: 18px !important;
    justify-content: flex-start !important;
  }

  .category-order-card__image img {
    width: 220px !important;
    height: 120px !important;
    opacity: 0.7 !important;
  }
}


/* === Страницы категорий: чистое отображение эскиза кухни === */

/* Возвращаем нормальное отображение эскиза кухни без агрессивных фильтров */
.category-order-card--kuhni .category-order-card__image {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 240px !important;
  height: 290px !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  pointer-events: none !important;
  transform: none !important;
}

.category-order-card--kuhni .category-order-card__image img {
  display: block !important;
  width: 240px !important;
  height: 290px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}


/* === Форма заявки на странице Контакты === */
.request-section {
  padding: 42px 0 26px;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 38px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 178, 109, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(22, 22, 22, 0.08);
}

.request-card__content {
  max-width: 430px;
  padding-top: 4px;
}

.request-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(203, 157, 82, 0.12);
  color: #9a6b28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-card__content h2 {
  margin: 0 0 16px;
  color: #1f211f;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.request-card__content p {
  margin: 0;
  color: rgba(31, 33, 31, 0.72);
  font-size: 16px;
  line-height: 1.62;
}

.request-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.request-points span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f6f0e6;
  color: rgba(31, 33, 31, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.request-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-field span {
  color: rgba(31, 33, 31, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(31, 33, 31, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f211f;
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  border-color: rgba(182, 133, 55, 0.58);
  box-shadow: 0 0 0 4px rgba(203, 157, 82, 0.12);
  background: #fff;
}

.request-field--file input {
  padding: 13px 16px;
}

.request-field--file small {
  color: rgba(31, 33, 31, 0.52);
  font-size: 12px;
  line-height: 1.45;
}

.request-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(31, 33, 31, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.request-consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #b88942;
  flex: 0 0 auto;
}

.request-consent a {
  color: #9a6b28;
  text-decoration: none;
  font-weight: 700;
}

.request-submit {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: #1f211f;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(31, 33, 31, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.request-submit:hover {
  transform: translateY(-1px);
  background: #2b2d2b;
  box-shadow: 0 18px 42px rgba(31, 33, 31, 0.24);
}

.request-form__status {
  min-height: 20px;
  margin: 0;
  color: #2f6b3f;
  font-size: 13px;
  font-weight: 700;
}

.request-form__status.is-error {
  color: #a33c2f;
}

@media (max-width: 980px) {
  .request-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .request-card__content {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .request-section {
    padding: 30px 0 18px;
  }

  .request-card {
    padding: 22px;
    border-radius: 22px;
  }

  .request-card__content h2 {
    font-size: 27px;
  }

  .request-form__grid {
    grid-template-columns: 1fr;
  }
}


/* === Mobile home step 01: header and hero === */
/* Мобильная главная: шапка и первый экран. Desktop-версию не затрагиваем. */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    background: #f6f4ef;
  }

  body > main {
    overflow: hidden;
  }

  /* Шапка */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 244, 239, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(18, 18, 18, 0.06);
  }

  .site-header .container,
  .header-inner {
    width: 100%;
    max-width: none;
    min-height: 68px;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 10px;
  }

  .site-logo {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .site-logo img {
    width: 150px;
    max-width: 150px;
    height: auto;
    display: block;
  }

  .site-nav {
    display: none !important;
  }

  .header-actions {
    display: contents !important;
  }

  .header-actions .social-brand {
    display: none !important;
  }

  .measure-button {
    grid-column: 3;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    background: #f6c400;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    line-height: 40px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(246, 196, 0, 0.24);
  }

  .mobile-menu-button {
    grid-column: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #111;
    display: block;
  }

  /* Первый экран */
  .hero {
    padding: 14px 0 22px;
    background: #f6f4ef;
  }

  .hero .container,
  .hero-inner {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-content {
    order: 1;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-content h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.03;
    letter-spacing: -0.05em;
  }

  .hero-text {
    max-width: 96%;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.48;
    color: rgba(18, 18, 18, 0.72);
  }

  .hero > .hero-inner .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0 0;
  }

  .btn {
    min-height: 50px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
  }

  .btn-outline {
    background: rgba(255, 255, 255, 0.78);
  }

  /* Фото первого экрана */
  .hero-visual {
    order: 2;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(18, 18, 18, 0.10);
  }

  .hero-visual::before {
    content: none !important;
  }

  .hero-slider,
  .hero-slider__track {
    width: 100%;
    height: auto;
  }

  .hero-slider__track {
    display: block;
  }

  .hero-slider__slide {
    display: none !important;
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
  }

  .hero-slider__slide.is-active {
    display: block !important;
  }

  .hero-slider__slide img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
  }

  /* Преимущества первого экрана */
  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 0;
  }

  .hero-feature {
    min-height: 68px;
    padding: 10px 7px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 26px rgba(18, 18, 18, 0.06);
  }

  .hero-feature .feature-icon {
    width: 20px;
    height: 20px;
    margin: 0 auto 6px;
  }

  .hero-feature span {
    font-size: 10.5px;
    line-height: 1.15;
    text-align: center;
  }

  .hero-trust-row {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .site-header .container,
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
    padding: 10px 12px;
    gap: 8px;
  }

  .site-logo img {
    width: 128px;
    max-width: 128px;
  }

  .measure-button {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 13px;
    font-size: 11px;
    line-height: 38px;
  }

  .mobile-menu-button {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .mobile-menu-button span {
    width: 18px;
  }

  .hero-content h1 {
    font-size: clamp(29px, 8.7vw, 36px);
  }

  .hero-slider__slide img {
    height: 205px;
  }
}


/* === Mobile home step 02: active mobile menu === */
/* Активное мобильное меню. Desktop-версию не затрагиваем. */
.mobile-menu-backdrop,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 767px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-button {
    border: 1px solid rgba(18, 18, 18, 0.12);
    outline: none;
  }

  .mobile-menu-button:focus {
    outline: none;
  }

  .mobile-menu-button:focus-visible {
    outline: 2px solid rgba(246, 196, 0, 0.75);
    outline-offset: 3px;
  }

  .mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-button span {
    transition: transform 0.22s ease, opacity 0.18s ease;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(18, 18, 18, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 78px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 96px);
    overflow: hidden;
    border-radius: 26px;
    background: #f8f6f1;
    box-shadow: 0 28px 80px rgba(18, 18, 18, 0.26);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.mobile-menu-open .mobile-menu-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-menu-panel__head {
    min-height: 62px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  }

  .mobile-menu-panel__head span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #151515;
  }

  .mobile-menu-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 14px;
    background: rgba(18, 18, 18, 0.06);
    color: #151515;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-nav {
    padding: 8px;
    overflow-y: auto;
  }

  .mobile-menu-nav a {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    color: #151515;
    text-decoration: none;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.02em;
  }

  .mobile-menu-nav a:hover {
    background: rgba(246, 196, 0, 0.16);
  }

  .mobile-menu-group {
    display: grid;
    gap: 0;
  }

  .mobile-menu-group__title {
    margin: 10px 0 4px;
    padding: 0 14px 6px;
    color: #8a7f6a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .mobile-menu-group a {
    padding-left: 24px;
  }

  .mobile-menu-panel__bottom {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(18, 18, 18, 0.08);
    display: grid;
    gap: 10px;
  }

  .mobile-menu-primary {
    min-height: 50px;
    border-radius: 16px;
    background: #f6c400;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(246, 196, 0, 0.28);
  }

  .mobile-menu-phone {
    color: rgba(18, 18, 18, 0.72);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
  }
}


/* === Mobile fix: вернуть отображение кнопки-бургера === */
/* Исправление: во втором шаге бургер был скрыт общим display:none. */
@media (max-width: 767px) {
  .mobile-menu-button {
    grid-column: 4 !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(18, 18, 18, 0.12) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
  }

  .mobile-menu-button span {
    width: 20px !important;
    height: 2px !important;
    border-radius: 99px !important;
    background: #111 !important;
    display: block !important;
  }
}

@media (max-width: 420px) {
  .mobile-menu-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
  }

  .mobile-menu-button span {
    width: 18px !important;
  }
}


/* === Mobile fix: hide header burger while menu open === */
/* Когда меню открыто, оставляем только крестик внутри панели меню. */
@media (max-width: 767px) {
  body.mobile-menu-open .mobile-menu-button {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .mobile-menu-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* === Mobile fix: compact simplified mobile menu === */
/* После упрощения меню оставляем только основные разделы сайта. */
@media (max-width: 767px) {
  .mobile-menu-panel {
    top: 78px !important;
    max-height: calc(100dvh - 104px) !important;
  }

  .mobile-menu-nav {
    padding: 10px 12px !important;
  }

  .mobile-menu-nav a {
    min-height: 52px !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  .mobile-menu-panel__bottom {
    padding: 14px 18px 18px !important;
  }
}


/* === Mobile menu contact icons row === */
/* Нижняя строка мобильного меню: телефон, VK и MAX в едином стиле сайта. */
@media (max-width: 767px) {
  .mobile-menu-panel__bottom {
    padding: 14px 18px 18px !important;
    border-top: 1px solid rgba(18, 18, 18, 0.08) !important;
    display: grid !important;
    gap: 14px !important;
  }

  .mobile-menu-primary {
    min-height: 50px !important;
    border-radius: 16px !important;
    background: #f6c400 !important;
    color: #111 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    box-shadow: 0 12px 28px rgba(246, 196, 0, 0.28) !important;
  }

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

  .mobile-menu-contact-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .mobile-menu-contact-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    background: rgba(18, 18, 18, 0.06) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.04) !important;
  }

  .mobile-menu-contact-icon img {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    object-fit: contain !important;
  }

  .mobile-menu-contact-icon[aria-label="MAX"] img {
    width: 25px !important;
    height: 25px !important;
  }

  .mobile-menu-contact-icon--phone {
    background: rgba(246, 196, 0, 0.18) !important;
  }

  .mobile-menu-contact-icon--phone svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    fill: #151515 !important;
  }
}


/* === Mobile menu links design variant 01 === */
/* Выбранный вариант: мягкие строки-карточки с тонкой жёлтой линией слева. */
@media (max-width: 767px) {
  .mobile-menu-panel {
    background: #f8f6f1 !important;
  }

  .mobile-menu-panel__head {
    min-height: 64px !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    border-bottom: 1px solid rgba(18, 18, 18, 0.07) !important;
  }

  .mobile-menu-nav {
    padding: 16px 14px !important;
    display: grid !important;
    gap: 10px !important;
  }

  .mobile-menu-nav a {
    position: relative !important;
    min-height: 58px !important;
    padding: 0 48px 0 28px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.74) !important;
    border: 1px solid rgba(18, 18, 18, 0.07) !important;
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.045) !important;
    color: #151515 !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    display: flex !important;
    align-items: center !important;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
  }

  .mobile-menu-nav a::before {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    width: 4px !important;
    height: 28px !important;
    border-radius: 99px !important;
    background: #f6c400 !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.08) !important;
  }

  .mobile-menu-nav a::after {
    content: "›" !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-52%) !important;
    color: rgba(18, 18, 18, 0.42) !important;
    font-size: 26px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
  }

  .mobile-menu-nav a:hover,
  .mobile-menu-nav a:active {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(246, 196, 0, 0.38) !important;
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.07) !important;
    transform: translateY(-1px) !important;
  }

  .mobile-menu-nav a:hover::after,
  .mobile-menu-nav a:active::after {
    color: #151515 !important;
  }

  .mobile-menu-panel__bottom {
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.84), #f8f6f1) !important;
    border-top: 1px solid rgba(18, 18, 18, 0.07) !important;
  }
}

@media (max-width: 420px) {
  .mobile-menu-nav {
    padding: 14px 12px !important;
    gap: 9px !important;
  }

  .mobile-menu-nav a {
    min-height: 54px !important;
    padding-left: 26px !important;
    padding-right: 44px !important;
    border-radius: 17px !important;
    font-size: 16px !important;
  }

  .mobile-menu-nav a::before {
    left: 14px !important;
    height: 25px !important;
  }

  .mobile-menu-nav a::after {
    right: 18px !important;
  }
}


/* === Mobile hero features markers === */
/* Мобильный hero: вместо мелких серых иконок используем фирменные жёлтые маркеры. */
@media (max-width: 767px) {
  .hero-features {
    gap: 8px !important;
    margin: 14px 0 0 !important;
  }

  .hero-feature {
    position: relative !important;
    min-height: 72px !important;
    padding: 13px 10px 12px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(18, 18, 18, 0.045) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.055) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .hero-feature .feature-icon {
    display: none !important;
  }

  .hero-feature::before {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    top: 10px !important;
    width: 22px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.10) !important;
  }

  .hero-feature::after {
    position: absolute !important;
    right: 10px !important;
    top: 8px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.02em !important;
    color: rgba(18, 18, 18, 0.28) !important;
  }

  .hero-feature:nth-child(1)::after {
    content: "01" !important;
  }

  .hero-feature:nth-child(2)::after {
    content: "02" !important;
  }

  .hero-feature:nth-child(3)::after {
    content: "03" !important;
  }

  .hero-feature span {
    width: 100% !important;
    display: block !important;
    margin-top: 24px !important;
    font-size: 11px !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    color: #151515 !important;
  }
}

@media (max-width: 420px) {
  .hero-feature {
    min-height: 68px !important;
    padding: 12px 9px 11px !important;
  }

  .hero-feature::before {
    left: 9px !important;
    top: 9px !important;
    width: 20px !important;
  }

  .hero-feature::after {
    right: 9px !important;
    top: 8px !important;
    font-size: 9px !important;
  }

  .hero-feature span {
    margin-top: 22px !important;
    font-size: 10.5px !important;
  }
}


/* === Mobile benefits strip final === */
/* Мобильная полоса преимуществ после hero. Desktop-версию не затрагиваем. */
@media (max-width: 767px) {
  .benefits-strip {
    padding: 18px 0 22px !important;
    background: #f6f4ef !important;
    overflow: hidden !important;
  }

  .benefits-strip .container,
  .benefits-strip-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .benefits-list {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 0 12px !important;
    margin: 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .benefits-list::-webkit-scrollbar {
    display: none !important;
  }

  .benefit-item {
    position: relative !important;
    flex: 0 0 148px !important;
    min-height: 112px !important;
    padding: 16px 14px 14px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(18, 18, 18, 0.055) !important;
    box-shadow: 0 14px 34px rgba(18, 18, 18, 0.06) !important;
    scroll-snap-align: start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .benefit-item::before {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    top: 14px !important;
    width: 26px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    box-shadow: 0 0 0 6px rgba(246, 196, 0, 0.10) !important;
  }

  .benefit-item::after {
    position: absolute !important;
    right: 13px !important;
    top: 12px !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    color: rgba(18, 18, 18, 0.24) !important;
  }

  .benefit-item:nth-child(1)::after { content: "01" !important; }
  .benefit-item:nth-child(2)::after { content: "02" !important; }
  .benefit-item:nth-child(3)::after { content: "03" !important; }
  .benefit-item:nth-child(4)::after { content: "04" !important; }
  .benefit-item:nth-child(5)::after { content: "05" !important; }
  .benefit-item:nth-child(6)::after { content: "06" !important; }

  .benefit-icon {
    display: none !important;
  }

  .benefit-title {
    display: block !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    letter-spacing: -0.025em !important;
    color: #151515 !important;
  }
}

@media (max-width: 420px) {
  .benefit-item {
    flex-basis: 138px !important;
    min-height: 106px !important;
    padding: 15px 13px 13px !important;
    border-radius: 20px !important;
  }

  .benefit-title {
    font-size: 12.5px !important;
  }
}


/* === Mobile hero final polish === */
/* Финальный первый экран mobile: фотография как фон, текст и кнопки поверх, плитки ниже. Desktop не затрагиваем. */
.mobile-hero-image,
.mobile-hero-features {
  display: none;
}

@media (max-width: 767px) {
  .hero {
    padding: 14px 0 24px !important;
    background: #f6f4ef !important;
    overflow: hidden !important;
  }

  .hero .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-inner {
    position: relative !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 545px !important;
    margin: 0 16px !important;
    padding: 32px 18px 22px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #151515 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    box-shadow: 0 22px 58px rgba(18, 18, 18, 0.16) !important;
  }

  .mobile-hero-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .mobile-hero-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-inner::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
      linear-gradient(
        180deg,
        rgba(246, 244, 239, 0.70) 0%,
        rgba(246, 244, 239, 0.50) 38%,
        rgba(246, 244, 239, 0.18) 64%,
        rgba(18, 18, 18, 0.30) 100%
      ),
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.74) 0%,
        rgba(246, 244, 239, 0.44) 52%,
        rgba(246, 244, 239, 0.08) 100%
      ) !important;
    pointer-events: none !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero-content h1 {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(31px, 8.8vw, 39px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .hero-text {
    max-width: 92% !important;
    margin: 16px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.46 !important;
    color: rgba(18, 18, 18, 0.72) !important;
  }

  .hero > .hero-inner .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 22px 0 0 !important;
  }

  .hero > .hero-inner .hero-buttons .btn {
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    justify-content: center !important;
  }

  .hero > .hero-inner .hero-buttons .btn-yellow {
    background: #f6c400 !important;
    color: #111 !important;
    box-shadow: 0 16px 34px rgba(246, 196, 0, 0.28) !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.62) !important;
    border-color: rgba(18, 18, 18, 0.72) !important;
    color: #151515 !important;
    backdrop-filter: blur(8px) !important;
  }

  .hero-visual.hero-slider-visual,
  .hero-content > .hero-features,
  .hero-trust-row,
  .benefits-strip {
    display: none !important;
  }

  .mobile-hero-features {
    width: 100% !important;
    max-width: none !important;
    padding: 12px 16px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .mobile-hero-feature {
    position: relative !important;
    min-height: 72px !important;
    padding: 12px 10px 11px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(18, 18, 18, 0.045) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.055) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
  }

  .mobile-hero-feature__mark {
    position: absolute !important;
    left: 10px !important;
    top: 10px !important;
    width: 24px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.10) !important;
  }

  .mobile-hero-feature small {
    position: absolute !important;
    right: 10px !important;
    top: 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    color: rgba(18, 18, 18, 0.26) !important;
  }

  .mobile-hero-feature strong {
    display: block !important;
    margin: 0 !important;
    font-size: 10.6px !important;
    line-height: 1.14 !important;
    font-weight: 850 !important;
    letter-spacing: -0.025em !important;
    color: #151515 !important;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    min-height: 520px !important;
    padding: 28px 16px 20px !important;
    border-radius: 26px !important;
  }

  .hero-content h1 {
    font-size: clamp(29px, 8.7vw, 37px) !important;
  }

  .hero-text {
    font-size: 14.5px !important;
  }

  .mobile-hero-feature {
    min-height: 66px !important;
    padding: 11px 9px 10px !important;
  }

  .mobile-hero-feature strong {
    font-size: 10px !important;
  }
}\n

/* === Mobile hero clean rebuilt === */
/* Чистая мобильная версия hero: фото как фон, текст поверх, плитки отдельно ниже. Desktop не затрагиваем. */
.mobile-hero-image,
.mobile-hero-features {
  display: none;
}

@media (max-width: 767px) {
  .hero {
    padding: 14px 0 24px !important;
    background: #f6f4ef !important;
    overflow: hidden !important;
  }

  .hero > .hero-inner {
    position: relative !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 520px !important;
    margin: 0 16px !important;
    padding: 30px 18px 22px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #151515 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    box-shadow: 0 22px 58px rgba(18, 18, 18, 0.16) !important;
  }

  .mobile-hero-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .mobile-hero-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero > .hero-inner::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
      linear-gradient(
        180deg,
        rgba(246, 244, 239, 0.62) 0%,
        rgba(246, 244, 239, 0.48) 42%,
        rgba(246, 244, 239, 0.14) 68%,
        rgba(18, 18, 18, 0.28) 100%
      ),
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.70) 0%,
        rgba(246, 244, 239, 0.40) 54%,
        rgba(246, 244, 239, 0.08) 100%
      ) !important;
    pointer-events: none !important;
  }

  .hero > .hero-inner .hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero > .hero-inner .hero-content h1 {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(30px, 8.7vw, 38px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .hero > .hero-inner .hero-text {
    max-width: 92% !important;
    margin: 16px 0 0 !important;
    font-size: 14.5px !important;
    line-height: 1.46 !important;
    color: rgba(18, 18, 18, 0.72) !important;
  }

  .hero > .hero-inner .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 22px 0 0 !important;
  }

  .hero > .hero-inner .hero-buttons .btn {
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    justify-content: center !important;
  }

  .hero > .hero-inner .hero-buttons .btn-yellow {
    background: #f6c400 !important;
    color: #111 !important;
    box-shadow: 0 16px 34px rgba(246, 196, 0, 0.28) !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.62) !important;
    border-color: rgba(18, 18, 18, 0.72) !important;
    color: #151515 !important;
    backdrop-filter: blur(8px) !important;
  }

  .hero > .hero-inner .hero-visual.hero-slider-visual,
  .hero > .hero-inner .hero-content > .hero-features,
  .hero > .hero-inner .hero-trust-row,
  .benefits-strip {
    display: none !important;
  }

  .mobile-hero-features {
    width: 100% !important;
    max-width: none !important;
    padding: 12px 16px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .mobile-hero-feature {
    position: relative !important;
    min-height: 66px !important;
    padding: 11px 9px 10px !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(18, 18, 18, 0.045) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.055) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
  }

  .mobile-hero-feature__mark {
    position: absolute !important;
    left: 9px !important;
    top: 9px !important;
    width: 22px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.10) !important;
  }

  .mobile-hero-feature small {
    position: absolute !important;
    right: 9px !important;
    top: 8px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    color: rgba(18, 18, 18, 0.26) !important;
  }

  .mobile-hero-feature strong {
    display: block !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.14 !important;
    font-weight: 850 !important;
    letter-spacing: -0.025em !important;
    color: #151515 !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner {
    min-height: 500px !important;
    padding: 28px 16px 20px !important;
    border-radius: 26px !important;
  }

  .hero > .hero-inner .hero-content h1 {
    font-size: clamp(28px, 8.5vw, 36px) !important;
  }

  .hero > .hero-inner .hero-text {
    font-size: 14px !important;
  }
}
\n


/* === Mobile categories mockup photo === */
/* Мобильные категории строго по выбранному макету: 2 фото-карточки сверху, малые карточки ниже. Desktop не затрагиваем. */
.mobile-categories-tabs {
  display: none;
}

@media (max-width: 767px) {
  .mobile-categories-tabs {
    display: block !important;
    padding: 20px 0 30px !important;
    background: #f6f4ef !important;
  }

  .mobile-categories-tabs__inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .mobile-categories-head {
    margin: 0 0 16px !important;
  }

  .mobile-categories-head h2 {
    margin: 0 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .mobile-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .mobile-category-tab {
    position: relative !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(25, 25, 25, 0.08) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.045) !important;
    color: #151515 !important;
    text-decoration: none !important;
  }

  /* Две главные категории */
  .mobile-category-tab--main {
    min-height: 262px !important;
    padding: 24px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .mobile-category-tab--main .mobile-category-tab__photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
  }

  .mobile-category-tab--main .mobile-category-tab__shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.62) 38%, rgba(255,255,255,0.18) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.46) 54%, rgba(255,255,255,0.08) 100%) !important;
  }

  .mobile-category-tab--main .mobile-category-tab__body {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
  }

  .mobile-category-tab--main .mobile-category-tab__text {
    display: block !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.04em !important;
    color: #151515 !important;
  }

  .mobile-category-tab--main .mobile-category-tab__subtext {
    display: block !important;
    margin-top: 8px !important;
    font-size: 13.5px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: rgba(18, 18, 18, 0.66) !important;
  }

  .mobile-category-tab--main .mobile-category-tab__arrow {
    position: absolute !important;
    left: 18px !important;
    bottom: 18px !important;
    z-index: 2 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: #d8ad2d !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    box-shadow: 0 12px 26px rgba(216, 173, 45, 0.22) !important;
  }

  /* Малые категории */
  .mobile-category-tab--small {
    min-height: 104px !important;
    padding: 16px 38px 16px 16px !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 16px !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .mobile-category-tab--small .mobile-category-tab__thumb {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    object-fit: cover !important;
    background: #f2eee7 !important;
    display: block !important;
  }

  .mobile-category-tab--small .mobile-category-tab__text {
    display: block !important;
    min-width: 0 !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
    color: #151515 !important;
  }

  .mobile-category-tab--small .mobile-category-tab__arrow {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #c79c25 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
  }

  /* Плитка Все категории */
  .mobile-category-tab--all {
    background: #151515 !important;
    border-color: #151515 !important;
  }

  .mobile-category-tab--all .mobile-category-tab__text {
    color: #ffffff !important;
  }

  .mobile-category-tab--all .mobile-category-tab__arrow {
    color: #d8ad2d !important;
  }

  .mobile-category-tab__thumb--all {
    display: grid !important;
    grid-template-columns: repeat(2, 13px) !important;
    grid-template-rows: repeat(2, 13px) !important;
    place-content: center !important;
    gap: 5px !important;
    background: rgba(216, 173, 45, 0.12) !important;
  }

  .mobile-category-tab__thumb--all span {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    border-radius: 4px !important;
    border: 2px solid #d8ad2d !important;
  }

  /* На mobile скрываем desktop-каталог с большими карточками */
  .catalog-section {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .mobile-categories-head h2 {
    font-size: 30px !important;
  }

  .mobile-categories-grid {
    gap: 10px !important;
  }

  .mobile-category-tab--main {
    min-height: 232px !important;
    padding: 20px 16px 16px !important;
    border-radius: 20px !important;
  }

  .mobile-category-tab--main .mobile-category-tab__text {
    font-size: 22px !important;
  }

  .mobile-category-tab--main .mobile-category-tab__subtext {
    font-size: 12.5px !important;
  }

  .mobile-category-tab--main .mobile-category-tab__arrow {
    width: 42px !important;
    height: 42px !important;
    left: 16px !important;
    bottom: 16px !important;
    font-size: 31px !important;
  }

  .mobile-category-tab--small {
    min-height: 92px !important;
    padding: 14px 34px 14px 14px !important;
    grid-template-columns: 50px minmax(0, 1fr) 14px !important;
    gap: 12px !important;
    border-radius: 20px !important;
  }

  .mobile-category-tab--small .mobile-category-tab__thumb {
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }

  .mobile-category-tab--small .mobile-category-tab__text {
    font-size: 15.5px !important;
  }

  .mobile-category-tab--bath .mobile-category-tab__text,
  .mobile-category-tab--all .mobile-category-tab__text {
    font-size: 15px !important;
  }
}

/* === Mobile all categories icon fix === */
/* Обновленная иконка плитки "Все категории" */
@media (max-width: 767px) {
  .mobile-category-tab--all {
    background: #111111 !important;
    border-color: #111111 !important;
  }

  .mobile-category-tab--all .mobile-category-tab__thumb--all {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .mobile-category-tab--all .mobile-category-tab__all-grid {
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 4px !important;
  }

  .mobile-category-tab--all .mobile-category-tab__all-grid span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px !important;
    border: 2px solid #d8ad2d !important;
    background: transparent !important;
  }

  .mobile-category-tab--all .mobile-category-tab__all-grid span:first-child {
    background: #d8ad2d !important;
  }

  .mobile-category-tab--all .mobile-category-tab__text {
    color: #ffffff !important;
  }

  .mobile-category-tab--all .mobile-category-tab__arrow {
    color: #d8ad2d !important;
  }
}

@media (max-width: 420px) {
  .mobile-category-tab--all .mobile-category-tab__thumb--all {
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }

  .mobile-category-tab--all .mobile-category-tab__all-grid {
    width: 26px !important;
    height: 26px !important;
    gap: 4px !important;
  }

  .mobile-category-tab--all .mobile-category-tab__all-grid span {
    border-radius: 4px !important;
  }
}


/* === Mobile all categories no icon === */
/* Плитка "Все категории" без иконки: вместо неё дизайнерская золотистая вставка. */
@media (max-width: 767px) {
  .mobile-category-tab--all {
    position: relative !important;
    grid-template-columns: 1fr 16px !important;
    padding-left: 22px !important;
    background:
      linear-gradient(135deg, #151515 0%, #1d1d1d 58%, #27221a 100%) !important;
    border-color: rgba(216, 173, 45, 0.46) !important;
    box-shadow:
      0 14px 30px rgba(18, 18, 18, 0.13),
      inset 0 1px 0 rgba(255,255,255,0.06) !important;
  }

  .mobile-category-tab--all .mobile-category-tab__thumb,
  .mobile-category-tab--all .mobile-category-tab__thumb--all,
  .mobile-category-tab--all .mobile-category-tab__all-grid {
    display: none !important;
  }

  .mobile-category-tab--all::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 9px !important;
    border-radius: 22px 0 0 22px !important;
    background:
      linear-gradient(180deg, #f3d46a 0%, #d8ad2d 52%, #9b7718 100%) !important;
  }

  .mobile-category-tab--all::after {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 15px !important;
    width: 44px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: rgba(216, 173, 45, 0.24) !important;
    box-shadow:
      0 14px 0 rgba(216, 173, 45, 0.14),
      0 28px 0 rgba(216, 173, 45, 0.08) !important;
    transform: none !important;
    border: 0 !important;
  }

  .mobile-category-tab--all .mobile-category-tab__text {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    padding-left: 0 !important;
  }

  .mobile-category-tab--all .mobile-category-tab__arrow {
    z-index: 2 !important;
    color: #d8ad2d !important;
  }
}

@media (max-width: 420px) {
  .mobile-category-tab--all {
    padding-left: 20px !important;
  }

  .mobile-category-tab--all::before {
    width: 8px !important;
  }

  .mobile-category-tab--all::after {
    left: 17px !important;
    top: 13px !important;
    width: 38px !important;
  }
}


/* === Mobile projects section === */
/* Мобильный блок реализованных проектов. Desktop не затрагиваем. */
.mobile-projects-section {
  display: none;
}

@media (max-width: 767px) {
  .mobile-projects-section {
    display: block !important;
    padding: 4px 0 30px !important;
    background: #f6f4ef !important;
  }

  .mobile-projects-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .mobile-projects-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 16px !important;
  }

  .mobile-projects-head h2 {
    max-width: 230px !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .mobile-projects-head a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #9b7718 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  .mobile-projects-head a span {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .mobile-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .mobile-project-card {
    position: relative !important;
    min-height: 184px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #151515 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    box-shadow: 0 16px 38px rgba(18, 18, 18, 0.12) !important;
  }

  .mobile-project-card--large {
    grid-column: 1 / -1 !important;
    min-height: 245px !important;
  }

  .mobile-project-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
  }

  .mobile-project-card__shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
      linear-gradient(180deg, rgba(18,18,18,0.02) 0%, rgba(18,18,18,0.18) 42%, rgba(18,18,18,0.78) 100%),
      linear-gradient(90deg, rgba(18,18,18,0.44) 0%, rgba(18,18,18,0.08) 58%, rgba(18,18,18,0.18) 100%) !important;
  }

  .mobile-project-card__content {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 2 !important;
    display: block !important;
  }

  .mobile-project-card__content strong {
    display: block !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
  }

  .mobile-project-card__content small {
    display: block !important;
    max-width: 260px !important;
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.76) !important;
  }

  .mobile-project-card--large .mobile-project-card__content strong {
    font-size: 24px !important;
  }

  .mobile-project-card--large .mobile-project-card__content small {
    font-size: 13px !important;
  }

  /* На mobile скрываем desktop-секцию с заказом/причинами/проектами.
     Позже эти блоки сделаем отдельными мобильными секциями. */
  .info-row-section {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .mobile-projects-head h2 {
    font-size: 28px !important;
  }

  .mobile-project-card {
    min-height: 166px !important;
    border-radius: 22px !important;
  }

  .mobile-project-card--large {
    min-height: 220px !important;
  }

  .mobile-project-card__content {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
  }

  .mobile-project-card__content strong {
    font-size: 16px !important;
  }

  .mobile-project-card__content small {
    font-size: 11.5px !important;
  }

  .mobile-project-card--large .mobile-project-card__content strong {
    font-size: 22px !important;
  }
}


/* === Mobile order section === */
/* Мобильный блок "Как оформить заказ". Desktop не затрагиваем. */
.mobile-order-section {
  display: none;
}

@media (max-width: 767px) {
  .mobile-order-section {
    display: block !important;
    padding: 4px 0 32px !important;
    background: #f6f4ef !important;
  }

  .mobile-order-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .mobile-order-head {
    margin: 0 0 16px !important;
  }

  .mobile-order-head h2 {
    max-width: 280px !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .mobile-order-head p {
    max-width: 300px !important;
    margin: 10px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
    color: rgba(18, 18, 18, 0.62) !important;
  }

  .mobile-order-steps {
    display: grid !important;
    gap: 10px !important;
  }

  .mobile-order-step {
    position: relative !important;
    min-height: 92px !important;
    padding: 16px 16px 16px 78px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(18, 18, 18, 0.06) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.045) !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-order-step__number {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    background: #151515 !important;
    color: #f6c400 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.02em !important;
  }

  .mobile-order-step strong {
    display: block !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
    color: #151515 !important;
  }

  .mobile-order-step small {
    display: block !important;
    max-width: 260px !important;
    margin-top: 6px !important;
    font-size: 12.5px !important;
    line-height: 1.34 !important;
    font-weight: 500 !important;
    color: rgba(18, 18, 18, 0.58) !important;
  }

  .mobile-order-button {
    min-height: 54px !important;
    margin-top: 14px !important;
    border-radius: 18px !important;
    background: #f6c400 !important;
    color: #111111 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    box-shadow: 0 16px 34px rgba(246, 196, 0, 0.24) !important;
  }

  .mobile-order-button span {
    font-size: 24px !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 420px) {
  .mobile-order-head h2 {
    font-size: 28px !important;
  }

  .mobile-order-step {
    min-height: 88px !important;
    padding: 15px 14px 15px 72px !important;
    border-radius: 22px !important;
  }

  .mobile-order-step__number {
    left: 14px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 15px !important;
  }

  .mobile-order-step strong {
    font-size: 16px !important;
  }

  .mobile-order-step small {
    font-size: 12px !important;
  }
}


/* === Mobile reasons section === */
/* Мобильный блок "Почему выбирают нас". Desktop не затрагиваем. */
.mobile-reasons-section {
  display: none;
}

@media (max-width: 767px) {
  .mobile-reasons-section {
    display: block !important;
    padding: 4px 0 32px !important;
    background: #f6f4ef !important;
  }

  .mobile-reasons-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .mobile-reasons-head {
    margin: 0 0 16px !important;
  }

  .mobile-reasons-head h2 {
    max-width: 290px !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .mobile-reasons-head p {
    max-width: 315px !important;
    margin: 10px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
    color: rgba(18, 18, 18, 0.62) !important;
  }

  .mobile-reasons-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mobile-reason-card {
    position: relative !important;
    min-height: 150px !important;
    padding: 46px 14px 14px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(18, 18, 18, 0.06) !important;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.045) !important;
    overflow: hidden !important;
  }

  .mobile-reason-card::before {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    top: 16px !important;
    width: 34px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    box-shadow: 0 0 0 6px rgba(246, 196, 0, 0.10) !important;
  }

  .mobile-reason-card__number {
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.02em !important;
    color: rgba(18, 18, 18, 0.28) !important;
  }

  .mobile-reason-card strong {
    display: block !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
    color: #151515 !important;
  }

  .mobile-reason-card small {
    display: block !important;
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
    font-weight: 500 !important;
    color: rgba(18, 18, 18, 0.58) !important;
  }

  .mobile-reason-card--dark {
    grid-column: 1 / -1 !important;
    min-height: 132px !important;
    padding: 48px 18px 18px !important;
    background:
      linear-gradient(135deg, #151515 0%, #1f1f1f 62%, #2c2619 100%) !important;
    border-color: rgba(216, 173, 45, 0.34) !important;
    box-shadow: 0 18px 40px rgba(18, 18, 18, 0.14) !important;
  }

  .mobile-reason-card--dark::before {
    background: #d8ad2d !important;
    box-shadow: 0 0 0 6px rgba(216, 173, 45, 0.14) !important;
  }

  .mobile-reason-card--dark .mobile-reason-card__number {
    color: rgba(255, 255, 255, 0.34) !important;
  }

  .mobile-reason-card--dark strong {
    color: #ffffff !important;
  }

  .mobile-reason-card--dark small {
    max-width: 280px !important;
    color: rgba(255, 255, 255, 0.68) !important;
  }
}

@media (max-width: 420px) {
  .mobile-reasons-head h2 {
    font-size: 28px !important;
  }

  .mobile-reason-card {
    min-height: 142px !important;
    padding: 44px 12px 13px !important;
    border-radius: 20px !important;
  }

  .mobile-reason-card strong {
    font-size: 15px !important;
  }

  .mobile-reason-card small {
    font-size: 11.5px !important;
  }

  .mobile-reason-card--dark {
    min-height: 124px !important;
    padding: 46px 16px 16px !important;
  }
}


/* === Mobile reviews section === */
/* Мобильная адаптация блока отзывов. Desktop не затрагиваем. */
@media (max-width: 767px) {
  .reviews-section {
    padding: 4px 0 34px !important;
    background: #f6f4ef !important;
  }

  .reviews-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .reviews-title {
    max-width: 300px !important;
    margin: 0 0 16px !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    color: #151515 !important;
  }

  .reviews-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .review-media-card {
    position: relative !important;
    min-height: 218px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #151515 !important;
    box-shadow: 0 16px 38px rgba(18, 18, 18, 0.12) !important;
  }

  .review-video-card {
    min-height: 190px !important;
  }

  .review-media-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
  }

  .review-media-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
      linear-gradient(180deg, rgba(18,18,18,0.04) 0%, rgba(18,18,18,0.22) 38%, rgba(18,18,18,0.82) 100%),
      linear-gradient(90deg, rgba(18,18,18,0.46) 0%, rgba(18,18,18,0.10) 62%, rgba(18,18,18,0.18) 100%) !important;
  }

  .review-media-content {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 2 !important;
    color: #ffffff !important;
  }

  .review-quote {
    display: none !important;
  }

  .review-media-content p {
    max-width: 300px !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.34 !important;
    font-weight: 650 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
  }

  .review-person {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .review-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    color: #151515 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 850 !important;
  }

  .review-person strong,
  .review-bottom-row strong {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
    color: #ffffff !important;
  }

  .review-person small {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    color: rgba(255,255,255,0.68) !important;
  }

  .review-play {
    position: absolute !important;
    left: 16px !important;
    top: 16px !important;
    z-index: 3 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #f6c400 !important;
    color: #151515 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 14px 28px rgba(246, 196, 0, 0.24) !important;
  }

  .review-bottom-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 14px !important;
  }

  .review-video-label {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: rgba(246, 196, 0, 0.16) !important;
    color: #f6c400 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }

  .reviews-cta-card {
    min-height: 210px !important;
    padding: 22px !important;
    border-radius: 24px !important;
    background:
      linear-gradient(135deg, #151515 0%, #202020 62%, #2c2619 100%) !important;
    border: 1px solid rgba(216, 173, 45, 0.34) !important;
    box-shadow: 0 18px 42px rgba(18, 18, 18, 0.14) !important;
    color: #ffffff !important;
  }

  .reviews-cta-card h3 {
    max-width: 250px !important;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.06 !important;
    font-weight: 850 !important;
    letter-spacing: -0.045em !important;
    color: #ffffff !important;
  }

  .reviews-cta-card p {
    max-width: 280px !important;
    margin: 10px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
    color: rgba(255,255,255,0.68) !important;
  }

  .reviews-cta-card a {
    min-height: 52px !important;
    margin-top: 18px !important;
    border-radius: 18px !important;
    background: #f6c400 !important;
    color: #151515 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
  }
}

@media (max-width: 420px) {
  .reviews-title {
    font-size: 28px !important;
  }

  .review-media-card {
    min-height: 204px !important;
    border-radius: 22px !important;
  }

  .review-video-card {
    min-height: 180px !important;
  }

  .review-media-content {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
  }

  .review-media-content p {
    font-size: 14px !important;
  }

  .reviews-cta-card {
    min-height: 200px !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .reviews-cta-card h3 {
    font-size: 22px !important;
  }
}


/* === Mobile review play button fix === */
/* Аккуратная кнопка Play внутри карточки видеоотзыва на мобильной версии. */
@media (max-width: 767px) {
  .review-video-card .review-play {
    position: absolute !important;
    left: 18px !important;
    top: 18px !important;
    z-index: 4 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f6c400 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    box-shadow: 0 12px 26px rgba(246, 196, 0, 0.28) !important;
  }

  .review-video-card .review-play::before {
    content: "" !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 3px !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 12px solid #151515 !important;
  }
}

@media (max-width: 420px) {
  .review-video-card .review-play {
    left: 16px !important;
    top: 16px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .review-video-card .review-play::before {
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
    border-left-width: 11px !important;
  }
}


/* === Mobile reviews CTA polish === */
/* Точечная доработка CTA "Получить консультацию" внутри мобильного блока отзывов. */
@media (max-width: 767px) {
  .reviews-cta-card {
    min-height: auto !important;
    padding: 22px 20px 20px !important;
    border-radius: 24px !important;
  }

  .reviews-cta-card h3 {
    max-width: 290px !important;
    font-size: 25px !important;
    line-height: 1.04 !important;
  }

  .reviews-cta-card p {
    max-width: 300px !important;
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  .reviews-cta-card a {
    width: 100% !important;
    min-height: 56px !important;
    margin-top: 18px !important;
    padding: 0 18px !important;
    border-radius: 18px !important;
    font-size: 15px !important;
  }

  .reviews-cta-card a span {
    font-size: 24px !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 420px) {
  .reviews-cta-card {
    padding: 20px 18px 18px !important;
    border-radius: 22px !important;
  }

  .reviews-cta-card h3 {
    font-size: 24px !important;
  }

  .reviews-cta-card p {
    font-size: 13.5px !important;
  }

  .reviews-cta-card a {
    min-height: 54px !important;
  }
}


/* === Mobile footer compact polish === */
/* Уплотнение мобильного футера: контакты крупно, остальные разделы компактной сеткой. */
@media (max-width: 767px) {
  .site-footer {
    padding: 30px 0 20px !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .footer-column {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .footer-contacts {
    grid-column: 1 / -1 !important;
    padding: 20px !important;
    border-radius: 24px !important;
  }

  .footer-addresses {
    grid-column: 1 / -1 !important;
  }

  .footer-logo {
    margin-bottom: 14px !important;
    font-size: 24px !important;
  }

  .footer-phone {
    font-size: 24px !important;
  }

  .footer-time {
    max-width: 210px !important;
    margin-top: 8px !important;
    font-size: 13px !important;
  }

  .footer-mail {
    margin-top: 12px !important;
    font-size: 15px !important;
  }

  .footer-social-title {
    margin-top: 18px !important;
    margin-bottom: 10px !important;
  }

  .footer-social {
    min-width: 58px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .footer-column h3 {
    margin-bottom: 10px !important;
    font-size: 14px !important;
  }

  .footer-column:not(.footer-contacts) a {
    padding: 5px 0 !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }

  .footer-addresses p {
    margin-bottom: 8px !important;
    font-size: 12.5px !important;
  }

  .footer-addresses a {
    padding: 5px 0 !important;
    font-size: 12.5px !important;
  }

  .footer-bottom {
    margin-top: 14px !important;
    padding-top: 16px !important;
    gap: 8px !important;
  }

  .footer-brand {
    font-size: 17px !important;
  }

  .footer-copy,
  .footer-payments,
  .footer-policy {
    font-size: 11px !important;
  }
}

@media (max-width: 420px) {
  .footer-top {
    gap: 9px !important;
  }

  .footer-column {
    padding: 13px !important;
    border-radius: 17px !important;
  }

  .footer-contacts {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .footer-phone {
    font-size: 22px !important;
  }

  .footer-column:not(.footer-contacts) a,
  .footer-addresses a {
    font-size: 12px !important;
  }
}


/* === Mobile footer short version === */
/* Короткая мобильная версия футера: контакты + быстрые ссылки + копирайт. Desktop не затрагиваем. */
.mobile-footer-short {
  display: none;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 30px 0 22px !important;
    background: #111111 !important;
    border-radius: 0 !important;
  }

  .footer-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* На мобильной скрываем длинные desktop-колонки футера */
  .footer-top > nav.footer-column,
  .footer-top > .footer-addresses {
    display: none !important;
  }

  .footer-contacts {
    display: block !important;
    grid-column: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .footer-logo {
    margin: 0 0 24px !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .footer-logo::after {
    content: "Свяжитесь с нами" !important;
    display: block !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.045em !important;
    color: #ffffff !important;
  }

  .footer-phone {
    display: inline-flex !important;
    margin: 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
  }

  .footer-time {
    max-width: 240px !important;
    margin: 14px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    font-weight: 750 !important;
    color: rgba(255, 255, 255, 0.58) !important;
  }

  .footer-mail {
    display: inline-flex !important;
    margin-top: 18px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
  }

  .footer-social-title {
    margin: 34px 0 14px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  .footer-socials {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .footer-social {
    min-width: 70px !important;
    height: 56px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    border: 0 !important;
  }

  .footer-social-vk {
    background: #168eea !important;
  }

  .footer-social-max {
    background: linear-gradient(135deg, #2877ff 0%, #6c3cff 100%) !important;
  }

  .mobile-footer-short {
    display: block !important;
    margin-top: 34px !important;
  }

  .mobile-footer-short h3 {
    margin: 0 0 14px !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
    letter-spacing: -0.045em !important;
    color: #ffffff !important;
  }

  .mobile-footer-short__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mobile-footer-short__grid a {
    min-height: 52px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.84) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
  }

  .mobile-footer-short__grid a::after {
    content: "›" !important;
    color: #d8ad2d !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
  }

  .footer-bottom {
    margin-top: 34px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    text-align: left !important;
  }

  .footer-brand {
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
  }

  .footer-copy,
  .footer-policy,
  .footer-payments {
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    color: rgba(255, 255, 255, 0.50) !important;
  }

  .footer-policy {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.62) !important;
  }

  .footer-payments {
    color: rgba(255, 255, 255, 0.50) !important;
  }
}

@media (max-width: 420px) {
  .footer-phone {
    font-size: 28px !important;
  }

  .footer-time {
    font-size: 15px !important;
  }

  .footer-mail {
    font-size: 16px !important;
  }

  .mobile-footer-short__grid a {
    min-height: 50px !important;
    border-radius: 15px !important;
    font-size: 13.5px !important;
  }
}


/* === Desktop mobile isolation fix === */
/* Жёстко разводим desktop и mobile: мобильные секции не должны проявляться на web-версии. */
@media (min-width: 768px) {
  .mobile-categories-tabs,
  .mobile-projects-section,
  .mobile-order-section,
  .mobile-reasons-section,
  .mobile-footer-short {
    display: none !important;
  }

  .catalog-section {
    display: block !important;
  }

  .catalog-section .catalog-inner {
    display: block !important;
  }

  .catalog-section .catalog-top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .catalog-section .catalog-bottom {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}


/* === Logo focus fix === */
/* Убираем случайную синюю рамку фокуса у логотипа после клика мышью/тапа. */
.site-logo:focus,
.site-logo:active,
.site-logo img:focus,
.site-logo img:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Для клавиатурной навигации оставляем аккуратный фокус, но не синюю системную линию. */
.site-logo:focus-visible {
  outline: 2px solid rgba(216, 173, 45, 0.65) !important;
  outline-offset: 6px !important;
  border-radius: 10px !important;
}


/* === Mobile menu button desktop hide fix === */
/* Мобильная кнопка меню не должна проявляться на desktop как тонкая линия под логотипом. */
.mobile-menu-button {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-menu-button {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .mobile-menu-button,
  .mobile-menu-backdrop,
  .mobile-menu-panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* === Tablet home adaptation === */
/* Планшеты 768–1180px: отдельный слой, не затрагивает mobile до 767px и desktop от 1181px. */
@media (min-width: 768px) and (max-width: 1180px) {
  .container,
  .header-inner,
  .hero-inner,
  .catalog-inner,
  .info-row-inner,
  .reviews-inner,
  .footer-inner {
    width: min(100% - 48px, 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Шапка */
  .site-header {
    min-height: 72px !important;
  }

  .header-inner {
    min-height: 72px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 18px !important;
  }

  .site-logo img {
    width: 172px !important;
  }

  .site-nav {
    gap: 18px !important;
    font-size: 13px !important;
  }

  .measure-button {
    min-height: 46px !important;
    padding: 0 22px !important;
    border-radius: 18px !important;
    font-size: 13px !important;
  }

  .social-brand,
  .social-brand img {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .mobile-menu-button,
  .mobile-menu-backdrop,
  .mobile-menu-panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Первый экран */
  .hero {
    padding-top: 28px !important;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
    gap: 22px !important;
    align-items: stretch !important;
  }

  .hero-content {
    padding-top: 26px !important;
  }

  .hero-content h1 {
    font-size: clamp(40px, 5.2vw, 58px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.065em !important;
  }

  .hero-text {
    max-width: 440px !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  .hero > .hero-inner .hero-buttons {
    gap: 12px !important;
  }

  .btn {
    min-height: 52px !important;
    padding: 0 24px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }

  .hero-visual,
  .hero-slider,
  .hero-slide {
    min-height: 420px !important;
  }

  .hero-slide img,
  .hero-image {
    border-radius: 24px !important;
  }

  .hero-features {
    gap: 16px !important;
  }

  .hero-feature {
    gap: 8px !important;
    font-size: 13px !important;
  }

  .hero-feature img {
    width: 32px !important;
    height: 32px !important;
  }

  .hero-trust-row {
    gap: 18px !important;
  }

  .hero-trust-item strong {
    font-size: 22px !important;
  }

  .hero-trust-item span {
    font-size: 13px !important;
  }

  /* Полоса преимуществ */
  .benefits-strip {
    padding: 22px 0 26px !important;
  }

  .benefits-strip-inner {
    width: min(100% - 48px, 1040px) !important;
    max-width: 1040px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .benefit-item {
    min-height: 96px !important;
    padding: 14px 12px !important;
    gap: 10px !important;
  }

  .benefit-item img {
    width: 32px !important;
    height: 32px !important;
  }

  .benefit-item strong {
    font-size: 14px !important;
    line-height: 1.18 !important;
  }

  /* Каталог */
  .mobile-categories-tabs {
    display: none !important;
  }

  .catalog-section {
    display: block !important;
    padding: 42px 0 48px !important;
  }

  .catalog-top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }

  .catalog-bottom {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .category-card-large {
    height: 270px !important;
    border-radius: 22px !important;
  }

  .category-card-large .category-content {
    width: 62% !important;
    padding: 34px 24px 24px !important;
    gap: 12px !important;
  }

  .category-title {
    font-size: 25px !important;
    line-height: 1.08 !important;
  }

  .category-text {
    max-width: 210px !important;
    font-size: 12.5px !important;
    line-height: 1.36 !important;
  }

  .category-link {
    min-height: 32px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    border-radius: 9px !important;
  }

  .category-card-small {
    min-height: 142px !important;
    border-radius: 16px !important;
  }

  .category-card-small .category-content {
    width: 66% !important;
    min-height: 142px !important;
    padding: 16px 10px 12px !important;
    gap: 6px !important;
  }

  .category-card-small .category-title {
    font-size: 14px !important;
    line-height: 1.12 !important;
  }

  .category-card-small .category-text {
    max-width: 120px !important;
    font-size: 10px !important;
    line-height: 1.26 !important;
  }

  .category-card-small .category-link {
    min-height: 26px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
  }

  .category-small-image {
    width: 50% !important;
  }

  /* Информационный ряд */
  .info-row-section {
    display: block !important;
    padding: 36px 0 42px !important;
  }

  .info-row-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .info-card {
    min-height: 250px !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .info-card-title {
    font-size: 21px !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
  }

  .order-steps {
    gap: 10px !important;
  }

  .order-step {
    gap: 8px !important;
  }

  .order-step strong,
  .reasons-list li {
    font-size: 12.5px !important;
    line-height: 1.28 !important;
  }

  .order-step small {
    font-size: 10.5px !important;
    line-height: 1.28 !important;
  }

  .projects-images img {
    width: 58px !important;
    height: 74px !important;
    border-radius: 12px !important;
  }

  .projects-more,
  .info-card-button {
    min-height: 42px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }

  /* Отзывы: вместо узких 4 колонок делаем 2×2 */
  .reviews-section {
    padding: 42px 0 50px !important;
  }

  .reviews-title {
    max-width: 520px !important;
    margin: 0 0 22px !important;
    font-size: 32px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
  }

  .reviews-layout {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .review-media-card {
    min-height: 300px !important;
    border-radius: 24px !important;
  }

  .review-video-card {
    min-height: 300px !important;
  }

  .review-media-content {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
  }

  .review-media-content p {
    max-width: 330px !important;
    font-size: 15px !important;
    line-height: 1.34 !important;
  }

  .review-person,
  .review-bottom-row {
    margin-top: 14px !important;
  }

  .reviews-cta-card {
    min-height: 300px !important;
    padding: 26px 22px !important;
    border-radius: 24px !important;
  }

  .reviews-cta-card h3 {
    font-size: 26px !important;
    line-height: 1.06 !important;
  }

  .reviews-cta-card p {
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  .reviews-cta-card a {
    width: 100% !important;
    min-height: 50px !important;
    margin-top: 18px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
  }

  /* Футер */
  .site-footer {
    padding: 36px 0 26px !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .footer-column {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .footer-contacts {
    grid-column: auto !important;
  }

  .footer-addresses {
    grid-column: 1 / -1 !important;
  }

  .footer-logo {
    margin-bottom: 14px !important;
    font-size: 22px !important;
  }

  .footer-phone {
    font-size: 22px !important;
  }

  .footer-time,
  .footer-mail {
    font-size: 13px !important;
  }

  .footer-column h3 {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }

  .footer-column a,
  .footer-addresses a {
    padding: 5px 0 !important;
    font-size: 12.5px !important;
  }

  .footer-bottom {
    margin-top: 24px !important;
    padding-top: 18px !important;
  }

  .mobile-footer-short {
    display: none !important;
  }
}

/* Узкие планшеты: iPad Mini 768–920px */
@media (min-width: 768px) and (max-width: 920px) {
  .container,
  .header-inner,
  .hero-inner,
  .catalog-inner,
  .info-row-inner,
  .reviews-inner,
  .footer-inner {
    width: min(100% - 40px, 820px) !important;
  }

  .site-nav {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto !important;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .hero-content {
    max-width: 660px !important;
  }

  .hero-content h1 {
    max-width: 680px !important;
    font-size: clamp(44px, 7.4vw, 58px) !important;
  }

  .hero-visual,
  .hero-slider,
  .hero-slide {
    min-height: 360px !important;
  }

  .catalog-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .info-row-inner {
    grid-template-columns: 1fr !important;
  }

  .info-card {
    min-height: auto !important;
  }

  .reviews-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .review-media-card,
  .review-video-card,
  .reviews-cta-card {
    min-height: 280px !important;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* === Tablet benefits real structure fix === */
/* Планшеты: правим реальную структуру .benefits-strip-inner > .benefits-list > .benefit-item. */

@media (min-width: 768px) and (max-width: 1180px) {
  .benefits-strip {
    display: block !important;
    padding: 22px 0 28px !important;
    background: #ffffff !important;
  }

  .benefits-strip-inner {
    width: min(100% - 48px, 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .benefits-strip .benefits-list {
    width: 100% !important;
    display: grid !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .benefit-item {
    min-width: 0 !important;
    width: auto !important;
    min-height: 104px !important;
    padding: 14px 12px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(18, 18, 18, 0.07) !important;
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.045) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .benefit-item::before,
  .benefit-item::after {
    display: none !important;
    content: none !important;
  }

  .benefit-icon,
  .benefit-item img {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  .benefit-title,
  .benefit-item span,
  .benefit-item small {
    display: block !important;
    width: 100% !important;
    max-width: 180px !important;
    margin: 0 auto !important;
    font-size: 13.5px !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #151515 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .info-row-section {
    display: block !important;
    padding: 34px 0 42px !important;
    background: #f6f5f2 !important;
  }

  .info-row-inner {
    width: min(100% - 48px, 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .info-card {
    min-width: 0 !important;
    min-height: 250px !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
  }

  .info-card-title {
    margin: 0 0 16px !important;
    font-size: 21px !important;
    line-height: 1.06 !important;
    font-weight: 850 !important;
    letter-spacing: -0.045em !important;
  }

  .order-steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .order-step {
    display: grid !important;
    gap: 7px !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .order-step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .order-step strong {
    font-size: 11.5px !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .order-step small {
    font-size: 10px !important;
    line-height: 1.22 !important;
    text-align: center !important;
  }

  .reasons-list {
    display: grid !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .reasons-list li {
    font-size: 12.5px !important;
    line-height: 1.28 !important;
  }

  .projects-preview {
    position: relative !important;
    margin: 0 0 14px !important;
    padding: 0 30px !important;
  }

  .projects-images {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: center !important;
    justify-items: center !important;
  }

  .projects-images img {
    width: 68px !important;
    height: 82px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    display: block !important;
  }

  .projects-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    z-index: 3 !important;
  }

  .projects-arrow-left {
    left: 0 !important;
  }

  .projects-arrow-right {
    right: 0 !important;
  }

  .projects-more,
  .info-card-button {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Узкие планшеты: iPad Mini и похожие размеры. */
@media (min-width: 768px) and (max-width: 920px) {
  .benefits-strip-inner {
    width: min(100% - 40px, 840px) !important;
  }

  .benefits-strip .benefits-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .info-row-inner {
    width: min(100% - 36px, 840px) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .info-card {
    min-height: 238px !important;
    padding: 18px 14px !important;
    border-radius: 20px !important;
  }

  .info-card-title {
    font-size: 19px !important;
    margin-bottom: 14px !important;
  }

  .projects-preview {
    padding: 0 26px !important;
  }

  .projects-images img {
    width: 58px !important;
    height: 72px !important;
    border-radius: 10px !important;
  }

  .projects-arrow {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Широкие планшеты: преимущества можно держать в одну линию. */
@media (min-width: 921px) and (max-width: 1180px) {
  .benefits-strip .benefits-list {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .benefit-item {
    min-height: 102px !important;
    padding: 12px 8px !important;
    border-radius: 16px !important;
  }

  .benefit-icon,
  .benefit-item img {
    width: 28px !important;
    height: 28px !important;
  }

  .benefit-title,
  .benefit-item span,
  .benefit-item small {
    max-width: 150px !important;
    font-size: 12.5px !important;
    line-height: 1.14 !important;
  }
}



/* === Tablet menu working fix === */
/* Планшеты 768–1180px: боковое меню с нормальной строкой быстрых контактов. */
/* Mobile до 767px и desktop от 1181px не затрагиваем. */

@media (min-width: 768px) and (max-width: 1180px) {
  .site-nav {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(18, 18, 18, 0.10) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.06) !important;
    cursor: pointer !important;
  }

  .mobile-menu-button span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    min-height: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #151515 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
  }

  body.tablet-menu-open .mobile-menu-button span:nth-child(1),
  .mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  body.tablet-menu-open .mobile-menu-button span:nth-child(2),
  .mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0 !important;
  }

  body.tablet-menu-open .mobile-menu-button span:nth-child(3),
  .mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  .mobile-menu-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 998 !important;
    background: rgba(18, 18, 18, 0.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.22s ease, visibility 0.22s ease !important;
  }

  .mobile-menu-panel {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 999 !important;
    width: min(390px, calc(100vw - 32px)) !important;
    max-width: 390px !important;
    height: 100vh !important;
    padding: 28px 24px 24px !important;
    background: #ffffff !important;
    border-radius: 28px 0 0 28px !important;
    box-shadow: -22px 0 60px rgba(18, 18, 18, 0.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(105%) !important;
    transition: transform 0.26s ease, opacity 0.22s ease, visibility 0.22s ease !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    overflow-y: auto !important;
  }

  body.tablet-menu-open .mobile-menu-backdrop,
  .mobile-menu-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.tablet-menu-open .mobile-menu-panel,
  .mobile-menu-panel.is-open,
  .mobile-menu-panel[aria-hidden="false"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

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

  .mobile-menu-panel__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 12px !important;
  }

  .mobile-menu-panel__head span {
    color: #151515 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
    letter-spacing: -0.04em !important;
  }

  .mobile-menu-close {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(18, 18, 18, 0.10) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #151515 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(18, 18, 18, 0.06) !important;
    cursor: pointer !important;
  }

  .mobile-menu-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .mobile-menu-nav a {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    background: #f6f5f2 !important;
    color: #151515 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .mobile-menu-nav a:hover {
    background: #f1ead8 !important;
  }

  .mobile-menu-panel__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  .mobile-menu-primary {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border-radius: 18px !important;
    background: #f6c400 !important;
    color: #151515 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    text-decoration: none !important;
  }

  .mobile-menu-contact-icons {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-menu-contact-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex: 0 0 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    background: #f6f5f2 !important;
    border: 1px solid rgba(18, 18, 18, 0.06) !important;
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.055) !important;
    text-decoration: none !important;
  }

  .mobile-menu-contact-icon img {
    width: 58px !important;
    height: 58px !important;
    display: block !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-menu-contact-icon--phone {
    background: #151515 !important;
  }

  .mobile-menu-contact-icon--phone span {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-menu-contact-icon--phone svg {
    width: 26px !important;
    height: 26px !important;
    display: block !important;
    fill: #ffffff !important;
  }

  .mobile-menu-contact-icon[aria-label="MAX"] img {
    width: 58px !important;
    height: 58px !important;
  }
}

@media (min-width: 1181px) {
  .site-nav {
    display: flex !important;
  }

  .mobile-menu-button,
  .mobile-menu-backdrop,
  .mobile-menu-panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* === Footer addresses grid === */
/* Адреса магазинов: на планшетах и desktop — 3 столбика по 2 адреса.
   Москва стоит в последнем столбике. На mobile — одним столбцом. */

.footer-addresses-grid {
  display: grid;
  gap: 14px 28px;
  margin-top: 18px;
}

.footer-address-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
}

.footer-address-item span {
  color: rgba(255, 255, 255, 0.38) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.footer-address-item strong {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.footer-address-item:hover strong {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .footer-addresses {
    grid-column: 1 / -1 !important;
  }

  .footer-addresses-grid {
    grid-template-rows: repeat(2, auto) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    max-width: 1320px !important;
    gap: 18px 48px !important;
  }
}

@media (min-width: 1181px) {
  .footer-addresses-grid {
    gap: 20px 56px !important;
  }
}

@media (max-width: 767px) {
  .footer-addresses-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
  }
}


/* === Mobile images light and compact buttons === */
/* Замечание Сергея: меньше затемнения, больше изображения, кнопки компактнее. Только mobile до 767px. */
@media (max-width: 767px) {

  /* Общая логика: изображения не затемняем чрезмерно */
  .mobile-hero-image img,
  .mobile-category-tab__photo,
  .mobile-category-tab__thumb,
  .mobile-project-card img,
  .review-media-image {
    filter: none !important;
  }

  /* HERO: ослабляем затемнение, оставляем только лёгкую подложку для читаемости текста */
  .mobile-hero-image::before,
  .mobile-hero-image::after {
    background:
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.62) 0%,
        rgba(246, 244, 239, 0.34) 48%,
        rgba(246, 244, 239, 0.08) 100%
      ) !important;
    opacity: 1 !important;
  }

  .hero > .hero-inner::before,
  .hero > .hero-inner::after,
  .hero::before,
  .hero::after {
    opacity: 0.22 !important;
  }

  .hero > .hero-inner {
    background: transparent !important;
  }

  /* HERO-кнопки: меньше и легче, чтобы не закрывали изображение */
  .hero > .hero-inner .hero-buttons {
    gap: 10px !important;
    margin-top: 18px !important;
    align-items: flex-start !important;
  }

  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    min-height: 44px !important;
    width: auto !important;
    max-width: 270px !important;
    padding: 0 20px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .hero > .hero-inner .hero-buttons .btn span,
  .hero .btn span {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    min-height: 42px !important;
    max-width: 230px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(8px) !important;
  }

  /* Категории: верхние фото-карточки делаем светлее, чтобы интерьер был виден */
  .mobile-category-tab--main .mobile-category-tab__shade {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.72) 0%,
        rgba(255,255,255,0.36) 34%,
        rgba(255,255,255,0.06) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,255,255,0.62) 0%,
        rgba(255,255,255,0.22) 54%,
        rgba(255,255,255,0.02) 100%
      ) !important;
  }

  .mobile-category-tab--main {
    background: #f7f3ec !important;
  }

  .mobile-category-tab--main .mobile-category-tab__arrow {
    width: 40px !important;
    height: 40px !important;
    left: 16px !important;
    bottom: 16px !important;
    font-size: 28px !important;
    box-shadow: 0 10px 20px rgba(216, 173, 45, 0.18) !important;
  }

  /* Проекты: фото читаются лучше, затемнение только снизу под текстом */
  .mobile-project-card__shade {
    background:
      linear-gradient(
        180deg,
        rgba(18,18,18,0.00) 0%,
        rgba(18,18,18,0.06) 42%,
        rgba(18,18,18,0.56) 100%
      ) !important;
  }

  .mobile-project-card {
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.10) !important;
  }

  /* Отзывы: уменьшаем затемнение карточек, но оставляем читаемость белого текста */
  .review-media-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(18,18,18,0.00) 0%,
        rgba(18,18,18,0.10) 42%,
        rgba(18,18,18,0.68) 100%
      ),
      linear-gradient(
        90deg,
        rgba(18,18,18,0.22) 0%,
        rgba(18,18,18,0.04) 58%,
        rgba(18,18,18,0.10) 100%
      ) !important;
  }

  .review-play,
  .review-video-card .review-play {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    left: 14px !important;
    top: 14px !important;
    box-shadow: 0 10px 20px rgba(246, 196, 0, 0.22) !important;
  }

  .review-video-card .review-play::before {
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
    border-left-width: 10px !important;
  }

  /* CTA-кнопки на mobile делаем компактнее */
  .reviews-cta-card a,
  .mobile-order-button {
    min-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
  }

  .reviews-cta-card {
    padding: 20px 18px 18px !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    min-height: 42px !important;
    max-width: 250px !important;
    padding: 0 18px !important;
    font-size: 13.5px !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    min-height: 40px !important;
    max-width: 220px !important;
  }

  .mobile-category-tab--main .mobile-category-tab__arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 26px !important;
  }
}


/* === Mobile hero text readability === */
/* Только mobile: делаем текст на hero читаемым без сильного затемнения всей фотографии. */
@media (max-width: 767px) {
  .hero > .hero-inner {
    position: relative !important;
    overflow: hidden !important;
  }

  /* Лёгкая светлая зона именно под текстом, не затемняем всю фотографию */
  .hero > .hero-inner .hero-content {
    position: relative !important;
    z-index: 3 !important;
    padding: 44px 18px 22px !important;
  }

  .hero > .hero-inner .hero-content::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 18px !important;
    width: min(94%, 520px) !important;
    height: 390px !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border-radius: 24px !important;
    background:
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.86) 0%,
        rgba(246, 244, 239, 0.68) 48%,
        rgba(246, 244, 239, 0.16) 100%
      ) !important;
    filter: blur(0px) !important;
  }

  .hero > .hero-inner .hero-content h1 {
    max-width: 520px !important;
    color: #111111 !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.62),
      0 10px 28px rgba(246, 244, 239, 0.52) !important;
  }

  .hero > .hero-inner .hero-title-accent {
    color: #9b7718 !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.48),
      0 8px 24px rgba(246, 244, 239, 0.42) !important;
  }

  .hero > .hero-inner .hero-text {
    max-width: 430px !important;
    color: rgba(17, 17, 17, 0.82) !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.52),
      0 8px 22px rgba(246, 244, 239, 0.48) !important;
  }

  /* Саму фотографию оставляем светлой и видимой */
  .mobile-hero-image::before,
  .mobile-hero-image::after {
    background:
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.38) 0%,
        rgba(246, 244, 239, 0.18) 42%,
        rgba(246, 244, 239, 0.02) 100%
      ) !important;
    opacity: 1 !important;
  }

  /* Кнопки компактнее и ниже, чтобы не закрывали важную часть изображения */
  .hero > .hero-inner .hero-buttons {
    margin-top: 16px !important;
    gap: 10px !important;
  }

  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
  }

  .hero > .hero-inner .hero-buttons .btn-yellow {
    box-shadow: 0 12px 26px rgba(246, 196, 0, 0.20) !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(17, 17, 17, 0.22) !important;
    backdrop-filter: blur(8px) !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner .hero-content {
    padding: 38px 16px 20px !important;
  }

  .hero > .hero-inner .hero-content::before {
    top: 14px !important;
    width: 96% !important;
    height: 360px !important;
    border-radius: 22px !important;
  }

  .hero > .hero-inner .hero-content h1 {
    font-size: clamp(32px, 8.8vw, 42px) !important;
    line-height: 1.04 !important;
  }

  .hero > .hero-inner .hero-text {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }

  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}


/* === Mobile hero fine tune === */
/* Только мобильная версия: делаем текст читаемым, но не душим картинку.
   Кнопки уменьшаем и выравниваем. */
@media (max-width: 767px) {
  .hero > .hero-inner .hero-content {
    padding: 42px 18px 18px !important;
  }

  /* Подложка под текстом — заметно прозрачнее, чем сейчас */
  .hero > .hero-inner .hero-content::before {
    top: 18px !important;
    left: 0 !important;
    width: min(92%, 500px) !important;
    height: 345px !important;
    border-radius: 24px !important;
    background:
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.54) 0%,
        rgba(246, 244, 239, 0.38) 48%,
        rgba(246, 244, 239, 0.10) 100%
      ) !important;
  }

  .hero > .hero-inner .hero-content h1 {
    max-width: 520px !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,.35),
      0 8px 22px rgba(246,244,239,.20) !important;
  }

  .hero > .hero-inner .hero-text {
    max-width: 420px !important;
    color: rgba(17,17,17,.84) !important;
    text-shadow:
      0 1px 0 rgba(255,255,255,.24),
      0 8px 18px rgba(246,244,239,.16) !important;
  }

  /* Кнопки: одинаковая ширина, меньше, аккуратно по центру */
  .hero > .hero-inner .hero-buttons {
    margin-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    width: min(78%, 330px) !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero > .hero-inner .hero-buttons .btn .btn-arrow,
  .hero .btn .btn-arrow,
  .hero > .hero-inner .hero-buttons .btn svg,
  .hero .btn svg {
    transform: scale(.9) !important;
  }

  .hero > .hero-inner .hero-buttons .btn-yellow {
    box-shadow: 0 10px 22px rgba(246, 196, 0, 0.16) !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    background: rgba(255,255,255,.76) !important;
    border-color: rgba(17,17,17,.24) !important;
    backdrop-filter: blur(6px) !important;
  }

  /* Чтобы кнопки не лезли слишком низко на фото */
  .hero > .hero-inner .hero-buttons + * {
    margin-top: 0 !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner .hero-content {
    padding: 36px 16px 16px !important;
  }

  .hero > .hero-inner .hero-content::before {
    width: 94% !important;
    height: 320px !important;
    border-radius: 22px !important;
    background:
      linear-gradient(
        90deg,
        rgba(246, 244, 239, 0.50) 0%,
        rgba(246, 244, 239, 0.34) 48%,
        rgba(246, 244, 239, 0.08) 100%
      ) !important;
  }

  .hero > .hero-inner .hero-buttons .btn,
  .hero .btn {
    width: min(74%, 300px) !important;
    min-height: 36px !important;
    height: 36px !important;
    font-size: 12.5px !important;
    border-radius: 13px !important;
  }
}

/* === Catalog page mobile adaptation === */
/* Только мобильная версия страницы catalog.html. Desktop и планшеты не затрагиваются. */
@media (max-width: 767px) {
  /* Верхний экран каталога */
  .catalog-page-hero {
    padding: 14px 0 10px;
  }

  .catalog-page-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-page-hero-content {
    max-width: none;
  }

  .catalog-breadcrumbs {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .catalog-page-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .catalog-page-hero p {
    max-width: 335px;
    margin: 0;
    font-size: 14px;
    line-height: 1.48;
  }

  .catalog-page-hero-image {
    height: 195px;
    border-radius: 22px;
    overflow: hidden;
  }

  .catalog-page-hero-image::before,
  .catalog-page-hero-image::after {
    display: none;
  }

  .catalog-page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Фильтры каталога */
  .catalog-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .catalog-filter-tab {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  /* Карточки категорий */
  .catalog-cards-section {
    padding: 14px 0 20px;
  }

  .catalog-cards-inner {
    display: grid;
    gap: 16px;
  }

  .catalog-top-cards,
  .catalog-small-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-top-cards {
    padding-top: 0;
  }

  .catalog-top-card,
  .catalog-small-card {
    border-radius: 24px;
    overflow: hidden;
  }

  .catalog-top-card img {
    width: 100%;
    height: 205px;
    object-fit: cover;
  }

  .catalog-small-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .catalog-top-card-body,
  .catalog-small-card-body {
    padding: 18px 18px 20px;
  }

  .catalog-top-card-body h2,
  .catalog-small-card-body h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .catalog-top-card-body p,
  .catalog-small-card-body p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .catalog-top-card-body a,
  .catalog-small-card-body a {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
  }

  /* Нижний CTA */
  .catalog-support-section {
    padding: 22px 0 34px;
  }

  .catalog-support-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
    border-radius: 26px;
  }

  .catalog-support-cta h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .catalog-support-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .catalog-support-cta a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  /* Преимущества под CTA */
  .catalog-support-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .catalog-support-feature {
    padding: 18px;
    border-radius: 22px;
  }

  .catalog-support-feature h3 {
    margin: 12px 0 7px;
    font-size: 17px;
    line-height: 1.2;
  }

  .catalog-support-feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* === Category detail pages mobile adaptation === */
/* Только мобильная версия внутренних страниц категорий: shkafy.html, kuhni.html и т.д. Desktop не затрагивается. */
@media (max-width: 767px) {
  /* Общая секция после первого экрана */
  .category-page-section {
    padding: 20px 0 34px;
  }

  .category-page-inner {
    display: grid;
    gap: 18px;
  }

  /* Информационная карточка */
  .category-info-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
  }

  .category-info-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 0;
  }

  .category-info-card p {
    margin: 0;
    padding: 18px 18px 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  /* Карточка "Что можно заказать" */
  .category-order-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px 18px;
    border-radius: 24px;
    overflow: hidden;
  }

  .category-order-card::after {
    display: none;
  }

  .category-order-card__content h2,
  .category-order-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .category-order-card__content ul,
  .category-order-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  .category-order-card__content li,
  .category-order-card li {
    min-height: 38px;
    padding: 9px 10px 9px 32px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.3;
  }

  .category-order-card__content li::before,
  .category-order-card li::before {
    left: 12px;
    top: 16px;
  }

  .category-order-card__image {
    width: 100%;
    height: 140px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
  }

  .category-order-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Примеры работ */
  .category-projects-section {
    padding: 8px 0 0;
  }

  .category-projects-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .category-projects-head h2,
  .category-projects-section h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .category-projects-all-link {
    width: max-content;
    font-size: 13px;
  }

  .category-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-project-card {
    border-radius: 24px;
    overflow: hidden;
  }

  .category-project-image {
    width: 100%;
    height: 205px;
    object-fit: cover;
  }

  .category-project-card-body {
    padding: 16px 18px 18px;
  }

  .category-project-card-body strong {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.16;
  }

  .category-project-card-body small,
  .category-project-card-body span {
    font-size: 13px;
    line-height: 1.45;
  }

  .category-project-card-body em {
    margin-top: 12px;
    font-size: 13px;
  }

  /* Нижний CTA */
  .category-page-inner > .category-page-cta,
  .category-page-inner > .category-detail-cta.category-page-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 4px;
    padding: 24px 20px;
    border-radius: 26px;
  }

  .category-page-inner > .category-page-cta::before,
  .category-page-inner > .category-detail-cta.category-page-cta::before {
    display: none;
  }

  .category-page-inner > .category-page-cta h2,
  .category-page-inner > .category-detail-cta.category-page-cta h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .category-page-inner > .category-page-cta p,
  .category-page-inner > .category-detail-cta.category-page-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .category-page-inner > .category-page-cta .btn-primary,
  .category-page-inner > .category-detail-cta.category-page-cta .btn-primary {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }
}

/* === Category projects mobile tablet fix === */
/* Исправляет блок "Примеры работ" на телефонах и узких планшетах. Desktop не затрагивается. */
@media (max-width: 900px) {
  .category-projects-section {
    padding-top: 8px;
  }

  .category-projects-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .category-projects-head h2,
  .category-projects-section h2 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .category-projects-all-link {
    width: max-content;
    font-size: 13px;
    line-height: 1.3;
  }

  .category-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-project-card {
    border-radius: 22px;
    overflow: hidden;
  }

  .category-project-image {
    height: 190px;
    object-fit: cover;
  }

  .category-project-card-body {
    padding: 14px 16px 16px;
  }

  .category-project-card-body strong {
    display: block;
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.15;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .category-project-card-body small,
  .category-project-card-body span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .category-project-card-body em {
    display: inline-flex;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.2;
  }
}

/* На телефонах примеры работ идут в одну колонку */
@media (max-width: 540px) {
  .category-projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-project-image {
    height: 205px;
  }

  .category-project-card-body strong {
    font-size: 18px;
  }
}

/* === About page mobile compact === */
/* Только мобильная версия страницы about.html. Desktop не затрагивается. */
@media (max-width: 767px) {
  .about-page-hero {
    padding: 14px 0 18px;
  }

  .about-page-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-breadcrumbs {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .about-page-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .about-title-line {
    width: 64px;
    height: 3px;
    margin: 0 0 12px;
  }

  .about-page-hero p {
    max-width: 340px;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.48;
  }

  .about-page-hero p:last-child {
    margin-bottom: 0;
  }

  .about-page-hero-image {
    height: 195px;
    border-radius: 22px;
    overflow: hidden;
  }

  .about-page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-benefits-section {
    padding: 20px 0 18px;
  }

  .about-benefits-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-benefit-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 22px;
  }

  .about-benefit-card img {
    grid-row: span 2;
    width: 42px;
    height: 42px;
  }

  .about-benefit-card h2 {
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.18;
  }

  .about-benefit-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .about-trust-section {
    padding: 20px 0 22px;
  }

  .about-trust-inner {
    display: grid;
    gap: 16px;
  }

  .about-trust-head {
    margin: 0;
  }

  .about-trust-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .about-trust-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .about-trust-list {
    display: grid;
    gap: 14px;
  }

  .about-trust-card,
  .about-trust-card-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
  }

  .about-trust-card-reverse .about-trust-image,
  .about-trust-card-reverse .about-trust-content {
    order: initial;
  }

  .about-trust-image {
    height: 180px;
    border-radius: 0;
    overflow: hidden;
  }

  .about-trust-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-trust-content {
    padding: 16px 18px 18px;
  }

  .about-trust-number {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .about-trust-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.12;
  }

  .about-trust-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .about-cta-section {
    padding: 20px 0 34px;
  }

  .about-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 26px;
  }

  .about-cta-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .about-cta-icon span {
    font-size: 22px;
    line-height: 1;
  }

  .about-cta-content h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .about-cta-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .about-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-cta-button {
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  .about-cta-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-cta-socials a {
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 999px;
    font-size: 13px;
  }

  .about-cta-socials img {
    width: 20px;
    height: 20px;
  }
}

/* === Designers page mobile compact === */
/* Только мобильная версия страницы designers.html. Desktop не затрагивается. */
@media (max-width: 767px) {
  /* Первый экран */
  .designers-hero {
    padding: 14px 0 18px;
  }

  .designers-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .designers-hero-content {
    padding: 24px 20px 22px;
    border-radius: 26px;
  }

  .designers-breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.35;
  }

  .designers-hero h1 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .designers-hero p {
    max-width: 340px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.48;
  }

  .designers-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .designers-hero-button {
    min-height: 44px;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
  }

  .designers-hero-link {
    width: max-content;
    font-size: 14px;
    line-height: 1.3;
  }

  .designers-hero-image {
    height: 210px;
    border-radius: 24px;
    overflow: hidden;
  }

  .designers-hero-image::before {
    display: none;
  }

  .designers-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Верхние преимущества */
  .designers-benefits-section {
    padding: 20px 0 18px;
  }

  .designers-benefits-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .designers-benefit-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 22px;
  }

  .designers-benefit-card img {
    width: 42px;
    height: 42px;
  }

  .designers-benefit-card h2 {
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.18;
  }

  .designers-benefit-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Почему удобно работать */
  .designers-work-section {
    padding: 20px 0 22px;
  }

  .designers-work-inner {
    display: grid;
    gap: 16px;
  }

  .designers-work-head h2,
  .designers-categories-head h2,
  .designers-steps-head h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .designers-work-list {
    display: grid;
    gap: 14px;
  }

  .designers-work-card,
  .designers-work-card-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
  }

  .designers-work-card-reverse .designers-work-image,
  .designers-work-card-reverse .designers-work-content {
    order: initial;
  }

  .designers-work-image {
    height: 180px;
    border-radius: 0;
    overflow: hidden;
  }

  .designers-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .designers-work-content {
    padding: 16px 18px 18px;
  }

  .designers-work-number {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .designers-work-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.12;
  }

  .designers-work-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  /* Что можно заказать */
  .designers-categories-section {
    padding: 20px 0 22px;
  }

  .designers-categories-inner {
    display: grid;
    gap: 16px;
  }

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

  .designers-category-card {
    border-radius: 20px;
    overflow: hidden;
  }

  .designers-category-card img {
    height: 118px;
    object-fit: cover;
  }

  .designers-category-card h3 {
    min-height: 44px;
    padding: 10px 12px 12px;
    font-size: 15px;
    line-height: 1.18;
  }

  /* Этапы сотрудничества */
  .designers-steps-section {
    padding: 20px 0 22px;
  }

  .designers-steps-inner {
    display: grid;
    gap: 16px;
  }

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

  .designers-step-card {
    padding: 16px;
    border-radius: 22px;
  }

  .designers-step-card::after {
    display: none;
  }

  .designers-step-top {
    margin-bottom: 12px;
  }

  .designers-step-top img {
    width: 38px;
    height: 38px;
  }

  .designers-step-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.15;
  }

  .designers-step-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Нижний CTA */
  .designers-final-cta-section {
    padding: 20px 0 34px;
  }

  .designers-final-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
  }

  .designers-final-cta-image {
    height: 170px;
    border-radius: 22px;
    overflow: hidden;
  }

  .designers-final-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .designers-final-cta-content h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .designers-final-cta-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .designers-final-cta-actions {
    display: grid;
    gap: 12px;
  }

  .designers-final-cta-button {
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  .designers-final-cta-note {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* === Blog page mobile compact === */
/* Только мобильная версия раздела Идеи / советы. Desktop не затрагивается. */
@media (max-width: 767px) {
  .blog-page {
    background: #f6f4ef;
  }

  /* Первый экран */
  .blog-hero {
    padding: 14px 0 10px;
  }

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

  .blog-hero__content {
    padding: 24px 20px 20px;
    border-radius: 26px 26px 0 0;
  }

  .blog-breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.35;
  }

  .blog-hero h1 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .blog-hero p {
    max-width: 340px;
    margin: 0;
    font-size: 15px;
    line-height: 1.48;
  }

  .blog-hero p br {
    display: none;
  }

  .blog-hero__image {
    height: 210px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }

  .blog-hero__image::before {
    display: none;
  }

  .blog-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Фильтры */
  .blog-filter-section {
    padding: 14px 0 18px;
  }

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

  .blog-filter__item {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  /* Главная статья */
  .blog-featured-section {
    padding: 10px 0 18px;
  }

  .blog-featured-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 24px;
    overflow: hidden;
  }

  .blog-featured-card__image {
    height: 205px;
  }

  .blog-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog-featured-card__content {
    padding: 18px 18px 20px;
  }

  .blog-card-tag {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .blog-featured-card h2 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .blog-featured-card p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .blog-read-link {
    font-size: 14px;
  }

  /* Сетка статей */
  .blog-grid-section {
    padding: 10px 0 18px;
  }

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

  .blog-card {
    border-radius: 24px;
    overflow: hidden;
  }

  .blog-card__image {
    height: 190px;
  }

  .blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog-card__body {
    padding: 16px 18px 18px;
  }

  .blog-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .blog-card p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  .blog-read-link--small {
    font-size: 13px;
  }

  /* Пагинация */
  .blog-pagination-section {
    padding: 10px 0 20px;
  }

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

  .blog-pages {
    justify-content: center;
    gap: 8px;
  }

  .blog-page-number {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 13px;
  }

  .blog-more-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  /* Нижний CTA */
  .blog-cta-section {
    padding: 20px 0 34px;
  }

  .blog-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
  }

  .blog-cta__image {
    height: 170px;
    border-radius: 22px;
    overflow: hidden;
  }

  .blog-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog-cta__content h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .blog-cta__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

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

  .blog-cta__button {
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  .blog-cta__socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .blog-cta__socials a {
    min-height: 40px;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
  }
}

/* === Delivery page mobile compact === */
/* Только мобильная версия страницы delivery.html. Desktop не затрагивается. */
@media (max-width: 767px) {
  .delivery-page {
    background: #f6f4ef;
    overflow: hidden;
  }

  /* Первый экран */
  .delivery-hero {
    padding: 14px 0 18px;
  }

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

  .delivery-hero__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px 20px;
    border-radius: 26px 26px 0 0;
    background: #ffffff;
  }

  .delivery-breadcrumbs {
    margin: 0 0 2px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(20, 20, 20, 0.55);
  }

  .delivery-hero h1 {
    max-width: 320px;
    margin: 0;
    font-size: 36px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .delivery-hero__text {
    max-width: 340px;
    margin: 0;
    font-size: 15px;
    line-height: 1.48;
  }

  .delivery-hero__text br {
    display: none;
  }

  .delivery-hero__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    overflow: visible;
  }

  .delivery-hero__feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    background: #f7f4ec;
  }

  .delivery-hero__feature img {
    grid-row: span 2;
    width: 38px;
    height: 38px;
  }

  .delivery-hero__feature h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.18;
  }

  .delivery-hero__feature p {
    margin: 0;
    font-size: 12px;
    line-height: 1.38;
  }

  .delivery-hero__visual {
    height: 205px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }

  .delivery-hero__visual::before {
    display: none;
  }

  .delivery-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Секция доставки */
  .delivery-section {
    padding: 20px 0 18px;
  }

  .delivery-section__card {
    padding: 20px;
    border-radius: 26px;
  }

  .delivery-section__card h2,
  .payment-section__head h2,
  .installment-section__content h2,
  .guarantee-section__head h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .delivery-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .delivery-section__image {
    height: 190px;
    border-radius: 22px;
    overflow: hidden;
  }

  .delivery-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .delivery-section__info {
    display: grid;
    gap: 12px;
  }

  .delivery-point {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .delivery-point__icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .delivery-point__icon svg {
    width: 20px;
    height: 20px;
  }

  .delivery-point__content h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.18;
  }

  .delivery-point__content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .delivery-point__content p br {
    display: none;
  }

  /* Оплата */
  .payment-section {
    padding: 18px 0;
  }

  .payment-section__card {
    padding: 20px;
    border-radius: 26px;
  }

  .payment-section__head {
    margin-bottom: 16px;
  }

  .payment-section__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

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

  .payment-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .payment-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .payment-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .payment-card__content h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.18;
  }

  .payment-card__content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Рассрочка */
  .installment-section {
    padding: 18px 0;
  }

  .installment-section__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
  }

  .installment-section__content p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .installment-section__content p br {
    display: none;
  }

  .installment-list {
    display: grid;
    gap: 9px;
    margin: 0 0 16px;
    padding: 0;
  }

  .installment-list li {
    padding: 10px 12px 10px 34px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.35;
  }

  .installment-list li::before {
    left: 13px;
    top: 16px;
  }

  .installment-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  .installment-section__image {
    height: 180px;
    border-radius: 22px;
    overflow: hidden;
  }

  .installment-section__image::before {
    display: none;
  }

  .installment-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Гарантия */
  .guarantee-section {
    padding: 18px 0;
  }

  .guarantee-section__card {
    padding: 20px;
    border-radius: 26px;
  }

  .guarantee-section__head {
    margin-bottom: 16px;
  }

  .guarantee-section__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

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

  .guarantee-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .guarantee-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .guarantee-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .guarantee-item h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.18;
  }

  .guarantee-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Нижний CTA */
  .delivery-cta-section {
    padding: 20px 0 34px;
  }

  .delivery-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
  }

  .delivery-cta__image {
    height: 170px;
    border-radius: 22px;
    overflow: hidden;
  }

  .delivery-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .delivery-cta__content h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .delivery-cta__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

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

  .delivery-cta__button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
  }

  .delivery-cta__socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .delivery-cta__socials a.social-brand {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
  }
}


/* === Home tablet categories two rows === */
/* Только планшетная версия главной: верхний ряд 3 карточки, нижний ряд 2 карточки на всю ширину. Mobile и desktop не затрагиваются. */
@media (min-width: 768px) and (max-width: 1180px) {
  .catalog-section .catalog-bottom {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .catalog-section .catalog-bottom .category-card-small {
    min-height: 132px !important;
  }

  /* Первые три маленькие карточки — верхний ряд по 1/3 ширины */
  .catalog-section .catalog-bottom .category-card-small:nth-child(-n + 3) {
    grid-column: span 2 !important;
  }

  /* Последние две маленькие карточки — нижний ряд по 1/2 ширины */
  .catalog-section .catalog-bottom .category-card-small:nth-child(n + 4) {
    grid-column: span 3 !important;
  }

  .catalog-section .category-card-small .category-content {
    min-height: 132px !important;
    padding: 16px 12px 14px !important;
    gap: 6px !important;
  }

  .catalog-section .category-card-small .category-title {
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  .catalog-section .category-card-small .category-text {
    font-size: 10px !important;
    line-height: 1.28 !important;
  }

  .catalog-section .category-card-small .category-link {
    min-height: 26px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
  }
}

/* === Home B2B block === */
/* B2B-блок на главной. Сохраняет стиль текущего сайта. */
.home-b2b-section {
  background: #f6f5f2;
  padding: 0 32px 40px;
}

.home-b2b-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.home-b2b-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(460px, 1.05fr) minmax(0, 1.15fr);
  gap: 18px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 24, 27, 0.075);
}

.home-b2b-content {
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-b2b-kicker {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b78b00;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.home-b2b-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: #ffc20a;
}

.home-b2b-content h2 {
  max-width: 520px;
  margin: 0 0 16px;
  color: #18191c;
  font-size: 38px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.home-b2b-content p {
  max-width: 590px;
  margin: 0;
  color: #4e5158;
  font-size: 17px;
  line-height: 1.48;
  font-weight: 650;
}

.home-b2b-benefits {
  width: 100%;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-b2b-benefit {
  min-height: 42px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  background: #f7f4ec;
  color: #18191c;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.home-b2b-benefit span {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffc20a;
}

.home-b2b-benefit span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffc20a;
}

.home-b2b-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-b2b-button-primary,
.home-b2b-button-secondary {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 14px;
  color: #111111;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-b2b-button-primary {
  background: #ffc20a;
  box-shadow: 0 12px 28px rgba(255, 194, 10, 0.25);
}

.home-b2b-button-primary:hover {
  background: #ffd13d;
  transform: translateY(-2px);
}

.home-b2b-button-primary span {
  font-size: 23px;
  line-height: 1;
}

.home-b2b-button-secondary {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.9);
}

.home-b2b-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.home-b2b-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.home-b2b-visual > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
}

.home-b2b-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.18) 28%, rgba(255,255,255,0) 48%),
    linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}

.home-b2b-audiences {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-b2b-audience {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 24, 27, 0.08);
  box-shadow: 0 12px 28px rgba(23, 24, 27, 0.08);
  backdrop-filter: blur(10px);
}

.home-b2b-audience img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
}

.home-b2b-audience span {
  color: #18191c;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
}

.home-b2b-tags {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-b2b-tags span {
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  color: #18191c;
  text-align: center;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(23, 24, 27, 0.05);
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1180px) {
  .home-b2b-section {
    padding: 0 24px 34px;
  }

  .home-b2b-card {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
  }

  .home-b2b-content {
    padding: 28px 26px 26px;
  }

  .home-b2b-content h2 {
    font-size: 32px;
  }

  .home-b2b-content p {
    max-width: 720px;
    font-size: 15px;
  }

  .home-b2b-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .home-b2b-benefit {
    min-height: 54px;
    padding: 10px;
    font-size: 12px;
  }

  .home-b2b-visual {
    min-height: 300px;
  }

  .home-b2b-visual > img {
    min-height: 300px;
  }

  .home-b2b-audiences {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 8px;
  }

  .home-b2b-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Телефоны */
@media (max-width: 767px) {
  .home-b2b-section {
    padding: 20px 0 30px;
    background: #f6f4ef;
  }

  .home-b2b-inner {
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  .home-b2b-card {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
  }

  .home-b2b-content {
    padding: 24px 20px 22px;
  }

  .home-b2b-kicker {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .home-b2b-kicker::before {
    width: 28px;
  }

  .home-b2b-content h2 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.02;
  }

  .home-b2b-content p {
    font-size: 14px;
    line-height: 1.48;
  }

  .home-b2b-benefits {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-b2b-benefit {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .home-b2b-actions {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-b2b-button-primary,
  .home-b2b-button-secondary {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
  }

  .home-b2b-visual {
    min-height: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
  }

  .home-b2b-visual > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    display: block;
    object-fit: contain;
    object-position: center top;
    border-radius: 0 0 22px 22px;
    background: #f3ede2;
  }

  .home-b2b-visual::after {
    display: none;
  }

  .home-b2b-audiences {
    position: static;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #ffffff;
  }

  .home-b2b-audience {
    min-height: 50px;
    padding: 9px 10px;
    border-radius: 15px;
    box-shadow: none;
    background: #f7f4ec;
  }

  .home-b2b-audience img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .home-b2b-audience span {
    font-size: 11px;
  }

  .home-b2b-tags {
    margin-top: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .home-b2b-tags span {
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 14px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .home-b2b-inner {
    padding: 0 12px;
  }

  .home-b2b-content h2 {
    font-size: 28px;
  }

  .home-b2b-audiences {
    grid-template-columns: 1fr;
  }
}

/* === B2B page === */
/* Страница b2b.html — Для бизнеса. Сохраняет стиль сайта Мальва Мебель. */
.b2b-page {
  background: #f6f5f2;
}

.b2b-hero,
.b2b-audience-section,
.b2b-products-section,
.b2b-benefits-section,
.b2b-steps-section,
.b2b-projects-section,
.b2b-formats-section,
.b2b-request-section {
  padding: 0 32px 40px;
  background: #f6f5f2;
}

.b2b-hero {
  padding-top: 28px;
}

.b2b-hero__inner,
.b2b-section-inner,
.b2b-request {
  max-width: 1500px;
  margin: 0 auto;
}

.b2b-hero__inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 24, 27, 0.075);
}

.b2b-hero__content {
  padding: 46px 38px 38px;
}

.b2b-breadcrumbs {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #90939a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.b2b-breadcrumbs a {
  color: #18191c;
  text-decoration: none;
}

.b2b-kicker {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b78b00;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.b2b-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: #ffc20a;
}

.b2b-hero h1 {
  max-width: 610px;
  margin: 0 0 18px;
  color: #18191c;
  font-size: 54px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.b2b-hero p {
  max-width: 650px;
  margin: 0;
  color: #4e5158;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
}

.b2b-hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.b2b-button-primary,
.b2b-button-secondary {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 15px;
  color: #111111;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.b2b-button-primary {
  background: #ffc20a;
  box-shadow: 0 12px 28px rgba(255, 194, 10, 0.25);
}

.b2b-button-secondary {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.9);
}

.b2b-button-primary span {
  font-size: 23px;
}

.b2b-hero__image {
  min-height: 520px;
  overflow: hidden;
}

.b2b-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.b2b-section-head {
  margin-bottom: 20px;
}

.b2b-section-head h2 {
  margin: 0 0 8px;
  color: #18191c;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.b2b-section-head p {
  max-width: 660px;
  margin: 0;
  color: #62656d;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.b2b-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.b2b-audience-grid,
.b2b-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.b2b-audience-card,
.b2b-benefit-card,
.b2b-step-card,
.b2b-format-card {
  padding: 20px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.055);
}

.b2b-audience-card img,
.b2b-benefit-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  object-fit: contain;
}

.b2b-audience-card h3,
.b2b-benefit-card h3,
.b2b-step-card h3,
.b2b-format-card h3 {
  margin: 0 0 8px;
  color: #18191c;
  font-size: 17px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.b2b-audience-card p,
.b2b-benefit-card p,
.b2b-step-card p,
.b2b-format-card p {
  margin: 0;
  color: #62656d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.b2b-products-grid,
.b2b-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.b2b-product-card,
.b2b-project-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.055);
}

.b2b-product-card img,
.b2b-project-card img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
}

.b2b-product-card h3,
.b2b-project-card h3 {
  min-height: 58px;
  margin: 0;
  padding: 16px 18px;
  color: #18191c;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.b2b-project-card p {
  margin: -8px 18px 18px;
  color: #62656d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.b2b-benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.b2b-step-card span {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff6d6;
  border: 1px solid #ffc20a;
  color: #b78b00;
  font-size: 13px;
  font-weight: 900;
}

.b2b-small-link {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  color: #18191c;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.b2b-formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.b2b-request {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 24, 27, 0.075);
}

.b2b-request__content h2 {
  max-width: 420px;
  margin: 0 0 14px;
  color: #18191c;
  font-size: 36px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.b2b-request__content p {
  max-width: 470px;
  margin: 0;
  color: #62656d;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 650;
}

.b2b-request__contacts {
  margin-top: 26px;
  display: grid;
  gap: 8px;
  color: #18191c;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.b2b-form {
  display: grid;
  gap: 12px;
}

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

.b2b-form input,
.b2b-form select,
.b2b-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(23, 24, 27, 0.12);
  border-radius: 14px;
  background: #f8f7f3;
  color: #18191c;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.b2b-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.b2b-form__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.b2b-form__bottom label {
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  background: #f8f7f3;
  color: #62656d;
  font-size: 13px;
  font-weight: 850;
}

.b2b-form__bottom input {
  display: none;
}

.b2b-form__bottom button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  background: #ffc20a;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .b2b-hero,
  .b2b-audience-section,
  .b2b-products-section,
  .b2b-benefits-section,
  .b2b-steps-section,
  .b2b-projects-section,
  .b2b-formats-section,
  .b2b-request-section {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 34px;
  }

  .b2b-hero__inner,
  .b2b-request {
    grid-template-columns: 1fr;
  }

  .b2b-hero h1 {
    font-size: 42px;
  }

  .b2b-hero__image,
  .b2b-hero__image img {
    min-height: 330px;
  }

  .b2b-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .b2b-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .b2b-hero,
  .b2b-audience-section,
  .b2b-products-section,
  .b2b-benefits-section,
  .b2b-steps-section,
  .b2b-projects-section,
  .b2b-formats-section,
  .b2b-request-section {
    padding: 20px 16px;
  }

  .b2b-hero {
    padding-top: 14px;
  }

  .b2b-hero__inner,
  .b2b-request {
    border-radius: 24px;
  }

  .b2b-hero__content {
    padding: 24px 20px 22px;
  }

  .b2b-breadcrumbs {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .b2b-kicker {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .b2b-kicker::before {
    width: 28px;
  }

  .b2b-hero h1 {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.02;
  }

  .b2b-hero p {
    font-size: 14px;
    line-height: 1.48;
  }

  .b2b-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .b2b-button-primary,
  .b2b-button-secondary {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
  }

  .b2b-hero__image,
  .b2b-hero__image img {
    min-height: 0;
  }

  .b2b-hero__image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .b2b-section-head h2 {
    font-size: 28px;
  }

  .b2b-section-head p {
    font-size: 14px;
  }

  .b2b-section-head-row {
    display: grid;
    gap: 12px;
  }

  .b2b-audience-grid,
  .b2b-products-grid,
  .b2b-benefits-grid,
  .b2b-steps-grid,
  .b2b-projects-grid,
  .b2b-formats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .b2b-audience-card,
  .b2b-benefit-card,
  .b2b-step-card,
  .b2b-format-card {
    padding: 16px;
    border-radius: 20px;
  }

  .b2b-products-grid,
  .b2b-projects-grid {
    grid-template-columns: 1fr;
  }

  .b2b-product-card,
  .b2b-project-card {
    border-radius: 22px;
  }

  .b2b-product-card img,
  .b2b-project-card img {
    height: 190px;
  }

  .b2b-request {
    padding: 22px 20px;
    gap: 18px;
  }

  .b2b-request__content h2 {
    font-size: 28px;
  }

  .b2b-request__content p {
    font-size: 14px;
  }

  .b2b-form__grid,
  .b2b-form__bottom {
    grid-template-columns: 1fr;
  }

  .b2b-form__bottom button {
    width: 100%;
  }
}

/* === B2B product images natural ratio === */
/* Плитки раздела «Что изготавливаем для бизнеса»: показываем новые WebP-иллюстрации без жёсткой обрезки. */
.b2b-products-grid .b2b-product-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: initial;
  object-position: center center;
}

/* === B2B project images ratio === */
/* Изображения в блоке «Примеры B2B-проектов»: сохраняем полный широкий формат иллюстраций. */
.b2b-projects-grid .b2b-project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* === B2B mobile polish === */
/* Точечная доводка мобильной версии страницы «Для бизнеса». Desktop не затрагиваем. */
@media (max-width: 767px) {
  .b2b-page {
    overflow: hidden;
  }

  .b2b-hero,
  .b2b-audience-section,
  .b2b-products-section,
  .b2b-benefits-section,
  .b2b-steps-section,
  .b2b-projects-section,
  .b2b-formats-section,
  .b2b-request-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .b2b-hero {
    padding-top: 22px;
  }

  .b2b-hero__content,
  .b2b-request {
    border-radius: 26px;
    padding: 30px 24px;
  }

  .b2b-breadcrumbs {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .b2b-kicker {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .b2b-hero h1,
  .b2b-section-head h2,
  .b2b-request__content h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .b2b-hero p,
  .b2b-section-head p,
  .b2b-request__content p {
    font-size: 18px;
    line-height: 1.45;
  }

  .b2b-hero__actions {
    gap: 12px;
    margin-top: 26px;
  }

  .b2b-button-primary,
  .b2b-button-secondary {
    width: 100%;
    min-height: 58px;
    padding: 16px 22px;
    border-radius: 999px;
    font-size: 17px;
  }

  .b2b-hero__image {
    margin-top: 22px;
    border-radius: 22px;
  }

  .b2b-hero__image img {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    object-fit: cover;
  }

  .b2b-section-head {
    margin-bottom: 26px;
  }

  .b2b-audience-grid,
  .b2b-products-grid,
  .b2b-benefits-grid,
  .b2b-steps-grid,
  .b2b-projects-grid,
  .b2b-formats-grid {
    gap: 18px;
  }

  .b2b-audience-card,
  .b2b-benefit-card,
  .b2b-step-card,
  .b2b-format-card {
    border-radius: 24px;
    padding: 26px 24px;
  }

  .b2b-audience-card img,
  .b2b-benefit-card img {
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
  }

  .b2b-audience-card h3,
  .b2b-benefit-card h3,
  .b2b-step-card h3,
  .b2b-format-card h3,
  .b2b-product-card h3,
  .b2b-project-card h3 {
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .b2b-audience-card p,
  .b2b-benefit-card p,
  .b2b-step-card p,
  .b2b-format-card p,
  .b2b-project-card p {
    font-size: 17px;
    line-height: 1.42;
  }

  .b2b-product-card,
  .b2b-project-card {
    border-radius: 24px;
    overflow: hidden;
  }

  .b2b-products-grid .b2b-product-card img,
  .b2b-projects-grid .b2b-project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
  }

  .b2b-product-card h3,
  .b2b-project-card h3 {
    padding: 20px 22px 22px;
  }

  .b2b-project-card p {
    padding: 0 22px 24px;
  }

  .b2b-section-head-row {
    align-items: flex-start;
    gap: 18px;
  }

  .b2b-small-link {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
  }

  .b2b-request {
    gap: 28px;
  }

  .b2b-request__contacts {
    gap: 12px;
    font-size: 19px;
  }

  .b2b-form__grid {
    gap: 12px;
  }

  .b2b-form input,
  .b2b-form select,
  .b2b-form textarea,
  .b2b-form__bottom label,
  .b2b-form__bottom button {
    min-height: 58px;
    border-radius: 18px;
    font-size: 16px;
  }

  .b2b-form textarea {
    min-height: 150px;
  }

  .b2b-form__bottom {
    gap: 12px;
  }
}

/* === Mobile hero restore network size === */
/* Только mobile: возвращаем размер hero-изображения как на версии в сети и оставляем кнопки внизу. */
@media (max-width: 767px) {
  /* Убираем нижнюю ленту преимуществ под первым экраном. */
  .mobile-hero-features {
    display: none !important;
  }

  /* Возвращаем высоту изображения как на сетевой версии: 500px при ширине 390px. */
  .hero > .hero-inner {
    position: relative !important;
    height: 500px !important;
    min-height: 500px !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }

  .mobile-hero-image {
    height: 500px !important;
    min-height: 500px !important;
  }

  .mobile-hero-image img {
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero > .hero-inner .hero-content {
    position: relative !important;
    z-index: 3 !important;
    height: 100% !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Кнопки закрепляем внизу изображения в одну строку. */
  .hero > .hero-inner .hero-buttons {
    position: absolute !important;
    left: 50% !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 72px) !important;
    max-width: 440px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    z-index: 10 !important;
  }

  .hero > .hero-inner .hero-buttons .btn {
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 13px !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
  }

  .hero > .hero-inner .hero-buttons .btn span {
    font-size: 14px !important;
    margin-left: 6px !important;
  }

  .hero > .hero-inner .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.92) !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner,
  .mobile-hero-image,
  .mobile-hero-image img {
    height: 500px !important;
    min-height: 500px !important;
  }

  .hero > .hero-inner .hero-buttons {
    bottom: 22px !important;
    width: calc(100% - 56px) !important;
    gap: 8px !important;
  }

  .hero > .hero-inner .hero-buttons .btn {
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
  }
}


/* === Mobile hero text plate exact size fix === */
@media (max-width: 767px) {
  .hero > .hero-inner .hero-content::before {
    inset: auto auto auto 0 !important;
    top: 18px !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: min(92%, 500px) !important;
    height: 270px !important;
  }

  .hero > .hero-inner .hero-text {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 420px) {
  .hero > .hero-inner .hero-content::before {
    top: 14px !important;
    width: 96% !important;
    height: 260px !important;
  }
}

/* === Desktop hero after trust row removal: align feature row with visual bottom === */
@media (min-width: 768px) {
  .hero .hero-content .hero-features {
    margin-top: 52px;
  }
}

/* === Hero promo link / Акции на первом экране === */
.hero-promo-link {
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 194, 10, 0.13);
  border: 1px solid rgba(255, 194, 10, 0.48);
  color: #1d1f23;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero-promo-link span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffc20a;
  color: #111111;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-promo-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 194, 10, 0.2);
  border-color: rgba(255, 194, 10, 0.72);
}

/* Корректировка после добавления плашки: ряд преимуществ остаётся ближе к низу hero */
@media (min-width: 768px) {
  .hero .hero-content .hero-features {
    margin-top: 34px;
  }
}

@media (max-width: 767px) {
  .hero-promo-link {
    display: none;
  }
}

/* === Hero promo link compact correction === */
.hero-promo-link {
  padding: 8px 12px;
  gap: 8px;
  font-size: 12px;
}

.hero-promo-link span {
  padding: 4px 7px;
  font-size: 10px;
}


/* === Компактная плашка Акции в hero === */
.hero-promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 0;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid #e6d39d;
  border-radius: 999px;
  background: #fff8e8;
  color: #1f2025;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.hero-promo-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
}

.hero-promo-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero-promo-link {
    margin-top: 14px;
    padding: 7px 12px;
    font-size: 13px;
  }
}


/* === Hero: компактная плашка "Акции" как на макете === */
.hero .hero-content .hero-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 6px 12px 6px 8px;
  border: 1px solid #ead9a4;
  border-radius: 999px;
  background: #fffaf0;
  color: #1f2025;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(205, 171, 72, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .hero-content .hero-promo-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(205, 171, 72, 0.14);
}

.hero .hero-content .hero-promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6c400;
  color: #1f2025;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero .hero-content .hero-promo-chip__icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #1f2025;
  flex-shrink: 0;
}

.hero .hero-content .hero-promo-chip__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero .hero-content .hero-promo-chip__label {
  display: inline-block;
  line-height: 1;
}

.hero .hero-content .hero-promo-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  color: #2b2d33;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero .hero-content .hero-promo-link {
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .hero .hero-content .hero-promo-link {
    padding: 6px 10px 6px 8px;
    gap: 8px;
  }

  .hero .hero-content .hero-promo-chip {
    padding: 6px 9px;
    font-size: 12px;
  }

  .hero .hero-content .hero-promo-chip__icon {
    width: 13px;
    height: 13px;
  }

  .hero .hero-content .hero-promo-text {
    font-size: 13px;
  }
}


/* === Hero promo badge: WebP sale icon === */
.hero .hero-content .hero-promo-chip__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero .hero-content .hero-promo-chip__icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

/* === Hero promo badge: final compact view === */
.hero .hero-content .hero-promo-link {
  margin-top: 16px;
  padding: 5px 13px 5px 5px;
  gap: 12px;
  border: 1px solid rgba(221, 193, 111, 0.72);
  border-radius: 999px;
  background: #fffaf0;
  box-shadow: 0 8px 20px rgba(114, 91, 27, 0.06);
}

.hero .hero-content .hero-promo-chip {
  min-height: 34px;
  padding: 0 14px 0 11px;
  gap: 8px;
  border-radius: 999px;
  background: #ffc20a;
  color: #18191c;
  font-size: 14px;
  font-weight: 900;
}

.hero .hero-content .hero-promo-chip__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18191c;
  flex: 0 0 16px;
}

.hero .hero-content .hero-promo-chip__icon img {
  display: none;
}

.hero .hero-content .hero-promo-chip__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  overflow: visible;
}

.hero .hero-content .hero-promo-chip__icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hero .hero-content .hero-promo-chip__icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.hero .hero-content .hero-promo-chip__label {
  line-height: 1;
}

.hero .hero-content .hero-promo-text {
  font-size: 15px;
  font-weight: 800;
  color: #23252a;
  line-height: 1;
}

/* === Promos section / Акции и специальные предложения === */
.promos-section {
  padding: 38px 32px 28px;
  background: #f7f3eb;
}

.promos-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}

.promos-head .section-kicker {
  margin: 0 0 8px;
  color: #a27d12;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promos-head h2 {
  max-width: 620px;
  margin: 0;
  color: #18191c;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.promos-head > p {
  margin: 0;
  color: #52555d;
  font-size: 15px;
  line-height: 1.55;
}

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

.promo-card {
  min-height: 244px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 31, 36, 0.055);
}

.promo-card--accent {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 194, 10, 0.22), transparent 34%),
    #ffffff;
  border-color: rgba(255, 194, 10, 0.38);
}

.promo-card__label {
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff6dc;
  color: #8b6a0b;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.promo-card h3 {
  max-width: 300px;
  margin: 0;
  color: #18191c;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.promo-card p {
  margin: 14px 0 0;
  color: #555861;
  font-size: 14px;
  line-height: 1.5;
}

.promo-card a {
  margin-top: auto;
  padding-top: 22px;
  color: #18191c;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.promo-card a::after {
  content: "›";
  margin-left: 8px;
  color: #c99a00;
  font-size: 20px;
  line-height: 0;
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(29, 31, 36, 0.08);
}

@media (max-width: 1024px) {
  .promos-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .promo-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .promos-section {
    padding: 28px 0 24px;
  }

  .promos-head {
    margin-bottom: 16px;
  }

  .promos-head > p {
    font-size: 14px;
  }

  .promo-card {
    padding: 20px;
    border-radius: 20px;
  }

  .promo-card h3 {
    font-size: 20px;
  }
}

/* === Promos section compact correction === */
.promos-section {
  padding: 30px 32px 18px;
}

.promos-head {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr);
  gap: 26px;
  margin-bottom: 18px;
}

.promos-head .section-kicker {
  margin-bottom: 7px;
  font-size: 12px;
}

.promos-head h2 {
  max-width: 560px;
  font-size: clamp(27px, 2.15vw, 38px);
}

.promos-head > p {
  max-width: 560px;
  align-self: center;
  font-size: 14px;
  line-height: 1.45;
}

.promos-grid {
  gap: 16px;
}

.promo-card {
  min-height: 205px;
  padding: 20px 22px;
  border-radius: 22px;
}

.promo-card__label {
  margin-bottom: 15px;
  padding: 6px 10px;
  font-size: 11px;
}

.promo-card h3 {
  max-width: 290px;
  font-size: 20px;
  line-height: 1.12;
}

.promo-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}

.promo-card a {
  padding-top: 18px;
  font-size: 13.5px;
}

.promos-section + .catalog-section,
.promos-section + section {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .promos-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promos-head > p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .promos-section {
    padding: 24px 0 22px;
  }

  .promo-card {
    padding: 18px;
  }
}

/* === Promos cards background illustrations === */
.promo-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  opacity: 0.72;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.72) 68%, rgba(255, 255, 255, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.42));
}

.promo-card--measure::before {
  background-image: url("../images/promos/measure-offer.webp");
}

.promo-card--installment::before {
  background-image: url("../images/promos/installment-offer.webp");
}

.promo-card--complex::before {
  background-image: url("../images/promos/complex-order-offer.webp");
}

.promo-card--measure,
.promo-card--installment,
.promo-card--complex {
  background: #ffffff;
}

.promo-card--accent {
  background: #ffffff;
}

.promo-card h3,
.promo-card p {
  max-width: 260px;
}

.promo-card__label,
.promo-card h3,
.promo-card p,
.promo-card a {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .promo-card::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.58) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.46));
  }
}

@media (max-width: 767px) {
  .promo-card::before {
    opacity: 0.52;
    background-position: center right;
  }

  .promo-card::after {
    background: rgba(255, 255, 255, 0.88);
  }

  .promo-card h3,
  .promo-card p {
    max-width: 100%;
  }
}

/* =========================================================
   Страница "Акции" / akcii.html
   ========================================================= */

.akcii-hero {
  padding: 34px 0 42px;
  background: #ffffff;
}

.akcii-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.page-breadcrumbs {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a8d94;
  font-size: 12px;
  font-weight: 700;
}

.page-breadcrumbs a {
  color: #6b6f78;
  text-decoration: none;
}

.akcii-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #18191c;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.akcii-hero__text {
  max-width: 470px;
  margin: 22px 0 0;
  color: #50535b;
  font-size: 17px;
  line-height: 1.55;
}

.akcii-hero__features {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.akcii-hero-feature {
  display: grid;
  gap: 8px;
}

.akcii-hero-feature__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #fff6dc;
  color: #b78a00;
  font-size: 15px;
  font-weight: 900;
}

.akcii-hero-feature strong {
  color: #18191c;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.akcii-hero-feature small {
  max-width: 180px;
  color: #62666f;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.akcii-hero__image {
  overflow: hidden;
  border-radius: 28px;
  background: #eee8dc;
  box-shadow: 0 18px 48px rgba(29, 31, 36, 0.08);
}

.akcii-hero__image img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.akcii-tabs-section {
  padding: 28px 0 22px;
  background: #f7f3eb;
}

.akcii-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.akcii-tab {
  min-height: 38px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2025;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(29, 31, 36, 0.035);
}

.akcii-tab.is-active {
  background: #ffc20a;
}

.akcii-list-section {
  padding: 0 0 32px;
  background: #f7f3eb;
}

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

.akcii-card {
  position: relative;
  min-height: 254px;
  padding: 28px 28px 24px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 31, 36, 0.055);
}

.akcii-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  opacity: 0.82;
}

.akcii-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 42%, rgba(255,255,255,0.74) 68%, rgba(255,255,255,0.22) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.42));
}

.akcii-card--measure::before {
  background-image: url("../images/promos/measure-offer.webp");
}

.akcii-card--installment::before {
  background-image: url("../images/promos/installment-offer.webp");
}

.akcii-card--complex::before {
  background-image: url("../images/promos/complex-order-offer.webp");
}

.akcii-card--shkafy::before {
  background-image: url("../images/categories/shkafy.jpg");
}

.akcii-card--kuhni::before {
  background-image: url("../images/categories/kuhni.jpg");
}

.akcii-card--delivery::before {
  background-image: url("../images/hero-slider/hero-slider-prihozhie.jpg");
}

.akcii-card--calendar::before {
  background-image: url("../images/promos/installment-offer.webp");
}

.akcii-card--storage::before {
  background-image: url("../images/categories/prihozhie.jpg");
}

.akcii-card--review::before {
  background-image: url("../images/hero-slider/hero-slider-gostinye.jpg");
}

.akcii-card__label {
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff6dc;
  color: #8b6a0b;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.akcii-card h2 {
  max-width: 300px;
  margin: 0;
  color: #18191c;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.akcii-card p {
  max-width: 250px;
  margin: 16px 0 0;
  color: #50535b;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.akcii-card a {
  margin-top: auto;
  padding-top: 24px;
  color: #18191c;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.akcii-card a::after {
  content: "›";
  margin-left: 8px;
  color: #c99a00;
  font-size: 20px;
  line-height: 0;
}

.akcii-designers {
  padding: 0 0 32px;
  background: #f7f3eb;
}

.akcii-designers__inner {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 194, 10, 0.55);
  border-radius: 22px;
  background: #fffaf0;
}

.akcii-designers__icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fff3ce;
  font-size: 30px;
}

.akcii-designers h2 {
  margin: 0;
  color: #18191c;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.akcii-designers p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #50535b;
  font-size: 15px;
  line-height: 1.45;
}

.akcii-faq-section {
  padding: 0 0 28px;
  background: #f7f3eb;
}

.akcii-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.akcii-section-head {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.akcii-section-head h2 {
  margin: 0;
  color: #18191c;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.akcii-section-head a {
  color: #18191c;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.akcii-faq {
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.akcii-faq details {
  border-bottom: 1px solid rgba(27, 29, 34, 0.08);
}

.akcii-faq details:last-child {
  border-bottom: 0;
}

.akcii-faq summary {
  padding: 20px 22px;
  cursor: pointer;
  color: #18191c;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

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

.akcii-faq summary::after {
  content: "⌄";
  float: right;
  color: #18191c;
}

.akcii-faq p {
  margin: -8px 22px 18px;
  color: #555861;
  font-size: 14px;
  line-height: 1.5;
}

.akcii-help-card {
  min-height: 218px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 31, 36, 0.045);
}

.akcii-help-card img {
  width: 100%;
  height: 100%;
  min-height: 218px;
  display: block;
  object-fit: cover;
}

.akcii-help-card > div {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.akcii-help-card h3 {
  margin: 0;
  color: #18191c;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.akcii-help-card p {
  margin: 10px 0 18px;
  color: #50535b;
  font-size: 14px;
  line-height: 1.45;
}

.akcii-help-card small {
  margin-top: 10px;
  color: #555861;
  font-size: 12px;
  font-weight: 700;
}

.akcii-subscribe {
  padding: 0 0 36px;
  background: #f7f3eb;
}

.akcii-subscribe__inner {
  padding: 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(29, 31, 36, 0.045);
}

.akcii-subscribe__inner > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.akcii-subscribe__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff3ce;
  color: #b78a00;
  font-size: 22px;
  font-weight: 900;
}

.akcii-subscribe h2 {
  max-width: 620px;
  margin: 0;
  color: #18191c;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.akcii-subscribe__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.akcii-subscribe__form input {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(27, 29, 34, 0.12);
  border-radius: 13px;
  background: #ffffff;
  color: #18191c;
  font-size: 14px;
  font-weight: 700;
}

.akcii-subscribe__form button {
  min-height: 46px;
}

/* Активный пункт меню */
.site-nav a.is-active,
.mobile-menu a.is-active {
  color: #c99a00;
}

/* Планшет */
@media (max-width: 1024px) {
  .akcii-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .akcii-hero__image img {
    height: 320px;
  }

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

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

  .akcii-designers__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .akcii-designers__inner .btn {
    grid-column: 2;
    justify-self: start;
  }
}

/* Мобильная версия */
@media (max-width: 767px) {
  .akcii-hero {
    padding: 22px 0 28px;
  }

  .page-breadcrumbs {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .akcii-hero h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .akcii-hero__text {
    margin-top: 14px;
    font-size: 15px;
  }

  .akcii-hero__features {
    margin-top: 22px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .akcii-hero-feature {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }

  .akcii-hero-feature small {
    grid-column: 2;
    max-width: none;
  }

  .akcii-hero__image {
    border-radius: 20px;
  }

  .akcii-hero__image img {
    height: 230px;
  }

  .akcii-tabs-section {
    padding: 20px 0 16px;
  }

  .akcii-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .akcii-tab {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
  }

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

  .akcii-card {
    min-height: 210px;
    padding: 22px;
    border-radius: 20px;
  }

  .akcii-card::before {
    opacity: 0.58;
  }

  .akcii-card::after {
    background: rgba(255,255,255,0.86);
  }

  .akcii-card h2,
  .akcii-card p {
    max-width: 100%;
  }

  .akcii-card h2 {
    font-size: 22px;
  }

  .akcii-designers__inner {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .akcii-designers__inner .btn {
    grid-column: auto;
  }

  .akcii-designers h2 {
    font-size: 23px;
  }

  .akcii-faq-layout {
    gap: 20px;
  }

  .akcii-help-card {
    grid-template-columns: 1fr;
  }

  .akcii-help-card img {
    height: 180px;
    min-height: 0;
  }

  .akcii-subscribe__inner {
    padding: 22px;
  }

  .akcii-subscribe__inner > div {
    grid-template-columns: 1fr;
  }

  .akcii-subscribe h2 {
    font-size: 21px;
  }

  .akcii-subscribe__form {
    grid-template-columns: 1fr;
  }
}

/* === Main promos: link to all promo page === */
.promos-head__side {
  display: grid;
  gap: 10px;
  align-self: center;
}

.promos-head__side > p {
  margin: 0;
  color: #52555d;
  font-size: 14px;
  line-height: 1.45;
}

.promos-all-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  color: #18191c;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.promos-all-link::after {
  content: "›";
  margin-left: 8px;
  color: #c99a00;
  font-size: 20px;
  line-height: 0;
}

@media (max-width: 767px) {
  .promos-head__side {
    gap: 8px;
  }
}

/* =========================================================
   Страница "Акции": мобильная версия для смартфонов
   ========================================================= */
@media (max-width: 767px) {
  body {
    background: #f7f3eb;
  }

  .akcii-hero {
    padding: 14px 0 18px;
    background: #ffffff;
  }

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

  .page-breadcrumbs {
    margin: 0 0 12px;
    gap: 6px;
    color: #7b7f88;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
  }

  .akcii-hero h1 {
    max-width: 330px;
    margin: 0;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .akcii-hero__text {
    max-width: 330px;
    margin: 11px 0 0;
    color: #4d5058;
    font-size: 14px;
    line-height: 1.42;
  }

  .akcii-hero__features {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .akcii-hero-feature {
    min-height: 50px;
    padding: 10px 11px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    border: 1px solid rgba(24, 25, 28, 0.06);
    border-radius: 16px;
    background: #fffaf0;
  }

  .akcii-hero-feature__icon {
    width: 30px;
    height: 30px;
    grid-row: 1 / 3;
    border-radius: 10px;
    background: #fff0c7;
    color: #b78a00;
    font-size: 13px;
  }

  .akcii-hero-feature strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .akcii-hero-feature small {
    grid-column: 2;
    max-width: none;
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.25;
  }

  .akcii-hero__image {
    order: -1;
    margin-top: 4px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(29, 31, 36, 0.08);
  }

  .akcii-hero__image img {
    height: 178px;
    object-fit: cover;
    object-position: center;
  }

  .akcii-tabs-section {
    position: static;
    top: auto;
    z-index: auto;
    padding: 12px 0 10px;
    background: #f7f3eb;
    backdrop-filter: none;
  }

  .akcii-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
  }

  .akcii-tabs::-webkit-scrollbar {
    display: none;
  }

  .akcii-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid rgba(24, 25, 28, 0.06);
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: none;
  }

  .akcii-tab.is-active {
    background: #ffc20a;
    border-color: #ffc20a;
  }

  .akcii-list-section {
    padding: 4px 0 18px;
    background: #f7f3eb;
  }

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

  .akcii-card {
    min-height: 154px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(29, 31, 36, 0.045);
  }

  .akcii-card::before {
    opacity: 0.48;
    background-position: center right;
  }

  .akcii-card::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 48%, rgba(255,255,255,0.72) 76%, rgba(255,255,255,0.42) 100%);
  }

  .akcii-card__label {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .akcii-card h2 {
    max-width: 250px;
    font-size: 20px;
    line-height: 1.08;
  }

  .akcii-card p {
    max-width: 245px;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.38;
  }

  .akcii-card a {
    padding-top: 14px;
    font-size: 13px;
  }

  .akcii-designers {
    padding: 2px 0 18px;
    background: #f7f3eb;
  }

  .akcii-designers__inner {
    padding: 18px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-radius: 20px;
  }

  .akcii-designers__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 21px;
  }

  .akcii-designers h2 {
    font-size: 20px;
    line-height: 1.12;
  }

  .akcii-designers p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.4;
  }

  .akcii-designers__inner .btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .akcii-faq-section {
    padding: 0 0 18px;
    background: #f7f3eb;
  }

  .akcii-faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .akcii-section-head {
    margin-bottom: 10px;
    align-items: flex-end;
  }

  .akcii-section-head h2 {
    max-width: 220px;
    font-size: 23px;
    line-height: 1.08;
  }

  .akcii-section-head a {
    font-size: 11px;
  }

  .akcii-faq {
    border-radius: 16px;
  }

  .akcii-faq summary {
    padding: 15px 16px;
    font-size: 13px;
    line-height: 1.25;
  }

  .akcii-faq p {
    margin: -4px 16px 15px;
    font-size: 12.5px;
  }

  .akcii-help-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .akcii-help-card img {
    height: 150px;
    min-height: 0;
  }

  .akcii-help-card > div {
    padding: 18px;
  }

  .akcii-help-card h3 {
    font-size: 20px;
  }

  .akcii-help-card p {
    margin: 8px 0 14px;
    font-size: 13px;
  }

  .akcii-help-card .btn {
    width: 100%;
  }

  .akcii-subscribe {
    padding: 0 0 22px;
    background: #f7f3eb;
  }

  .akcii-subscribe__inner {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 20px;
  }

  .akcii-subscribe__inner > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .akcii-subscribe__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }

  .akcii-subscribe h2 {
    font-size: 19px;
    line-height: 1.12;
  }

  .akcii-subscribe__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .akcii-subscribe__form input {
    min-height: 42px;
    border-radius: 12px;
    font-size: 13px;
  }

  .akcii-subscribe__form button {
    width: 100%;
    min-height: 42px;
  }
}

/* === Akcii mobile categories: catalog-like grid, not floating strip === */
@media (max-width: 767px) {
  .akcii-tabs-section {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    padding: 12px 0 14px !important;
    background: #f7f3eb !important;
    backdrop-filter: none !important;
  }

  .akcii-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .akcii-tab {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    flex: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(24, 25, 28, 0.06) !important;
    color: #18191c !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(29, 31, 36, 0.035) !important;
    white-space: normal !important;
  }

  .akcii-tab.is-active {
    background: #ffc20a !important;
    border-color: #ffc20a !important;
  }
}

/* === Akcii filter: скрытие карточек при переключении категорий === */
.akcii-card.is-hidden {
  display: none;
}

/* === Akcii filter: symmetric desktop grid after filtering === */
@media (min-width: 1025px) {
  .akcii-grid.akcii-grid--count-1 {
    grid-template-columns: 1fr;
  }

  .akcii-grid.akcii-grid--count-1 .akcii-card {
    min-height: 260px;
  }

  .akcii-grid.akcii-grid--count-1 .akcii-card h2,
  .akcii-grid.akcii-grid--count-1 .akcii-card p {
    max-width: 430px;
  }

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

  .akcii-grid.akcii-grid--count-2 .akcii-card {
    min-height: 270px;
  }

  .akcii-grid.akcii-grid--count-2 .akcii-card h2,
  .akcii-grid.akcii-grid--count-2 .akcii-card p {
    max-width: 360px;
  }

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

  .akcii-grid.akcii-grid--count-4 .akcii-card {
    min-height: 260px;
  }

  .akcii-grid.akcii-grid--count-4 .akcii-card h2,
  .akcii-grid.akcii-grid--count-4 .akcii-card p {
    max-width: 360px;
  }

  .akcii-grid.akcii-grid--count-3,
  .akcii-grid.akcii-grid--count-many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* На планшете 1 карточка — во всю ширину, 2 и 4 — симметрично */
@media (min-width: 768px) and (max-width: 1024px) {
  .akcii-grid.akcii-grid--count-1 {
    grid-template-columns: 1fr;
  }

  .akcii-grid.akcii-grid--count-2,
  .akcii-grid.akcii-grid--count-4,
  .akcii-grid.akcii-grid--count-3,
  .akcii-grid.akcii-grid--count-many {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* На телефоне всегда одна колонка */
@media (max-width: 767px) {
  .akcii-grid,
  .akcii-grid.akcii-grid--count-1,
  .akcii-grid.akcii-grid--count-2,
  .akcii-grid.akcii-grid--count-3,
  .akcii-grid.akcii-grid--count-4,
  .akcii-grid.akcii-grid--count-many {
    grid-template-columns: 1fr !important;
  }
}

/* === Akcii smart symmetric grid for filtered desktop cards === */
@media (min-width: 1025px) {
  .akcii-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .akcii-grid .akcii-card {
    grid-column: span 2;
  }

  /* 1 карточка — вся ширина */
  .akcii-grid.akcii-grid--smart-count-1 .akcii-card:not(.is-hidden) {
    grid-column: span 6;
  }

  /* 2 карточки — две равные половины */
  .akcii-grid.akcii-grid--smart-count-2 .akcii-card:not(.is-hidden) {
    grid-column: span 3;
  }

  /* 3 карточки — три равные карточки */
  .akcii-grid.akcii-grid--smart-count-3 .akcii-card:not(.is-hidden) {
    grid-column: span 2;
  }

  /* 4 карточки — 2×2 */
  .akcii-grid.akcii-grid--smart-count-4 .akcii-card:not(.is-hidden) {
    grid-column: span 3;
  }

  /* 5 карточек — 3 сверху, 2 снизу на всю ширину */
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-1,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-2,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-3 {
    grid-column: span 2;
  }

  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-4,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-5 {
    grid-column: span 3;
  }

  /* 7 карточек — 6 карточек по 3 в ряд, последняя на всю ширину */
  .akcii-grid.akcii-grid--smart-count-7 .akcii-card--visible-7 {
    grid-column: span 6;
  }

  /* 8 карточек — 6 карточек по 3 в ряд, последние 2 на всю ширину */
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-7,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-8 {
    grid-column: span 3;
  }

  /* У широких карточек тексту даём больше места */
  .akcii-grid.akcii-grid--smart-count-1 .akcii-card h2,
  .akcii-grid.akcii-grid--smart-count-1 .akcii-card p,
  .akcii-grid.akcii-grid--smart-count-2 .akcii-card h2,
  .akcii-grid.akcii-grid--smart-count-2 .akcii-card p,
  .akcii-grid.akcii-grid--smart-count-4 .akcii-card h2,
  .akcii-grid.akcii-grid--smart-count-4 .akcii-card p,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-4 h2,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-4 p,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-5 h2,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card--visible-5 p,
  .akcii-grid.akcii-grid--smart-count-7 .akcii-card--visible-7 h2,
  .akcii-grid.akcii-grid--smart-count-7 .akcii-card--visible-7 p,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-7 h2,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-7 p,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-8 h2,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card--visible-8 p {
    max-width: 390px;
  }
}

/* На планшете остаётся спокойная сетка 2 колонки */
@media (min-width: 768px) and (max-width: 1024px) {
  .akcii-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .akcii-grid .akcii-card {
    grid-column: auto;
  }

  .akcii-grid.akcii-grid--smart-count-1 .akcii-card:not(.is-hidden) {
    grid-column: 1 / -1;
  }
}

/* На телефоне всегда одна колонка */
@media (max-width: 767px) {
  .akcii-grid {
    grid-template-columns: 1fr !important;
  }

  .akcii-grid .akcii-card {
    grid-column: auto !important;
  }
}

/* === FIX: restore stable akcii grid after failed smart grid experiment === */
@media (min-width: 1025px) {
  .akcii-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .akcii-grid .akcii-card {
    grid-column: auto !important;
    width: auto !important;
  }

  .akcii-grid .akcii-card.is-hidden {
    display: none !important;
  }

  .akcii-grid.akcii-grid--count-1 {
    grid-template-columns: 1fr !important;
  }

  .akcii-grid.akcii-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--count-many {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--smart-count-1,
  .akcii-grid.akcii-grid--smart-count-2,
  .akcii-grid.akcii-grid--smart-count-3,
  .akcii-grid.akcii-grid--smart-count-4,
  .akcii-grid.akcii-grid--smart-count-5,
  .akcii-grid.akcii-grid--smart-count-6,
  .akcii-grid.akcii-grid--smart-count-7,
  .akcii-grid.akcii-grid--smart-count-8,
  .akcii-grid.akcii-grid--smart-count-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--smart-count-1 {
    grid-template-columns: 1fr !important;
  }

  .akcii-grid.akcii-grid--smart-count-2,
  .akcii-grid.akcii-grid--smart-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .akcii-grid.akcii-grid--smart-count-1 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-2 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-3 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-4 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-5 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-6 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-7 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-8 .akcii-card,
  .akcii-grid.akcii-grid--smart-count-9 .akcii-card {
    grid-column: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .akcii-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .akcii-grid .akcii-card {
    grid-column: auto !important;
  }

  .akcii-grid .akcii-card.is-hidden {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .akcii-grid,
  .akcii-grid.akcii-grid--count-1,
  .akcii-grid.akcii-grid--count-2,
  .akcii-grid.akcii-grid--count-3,
  .akcii-grid.akcii-grid--count-4,
  .akcii-grid.akcii-grid--count-many,
  .akcii-grid.akcii-grid--smart-count-1,
  .akcii-grid.akcii-grid--smart-count-2,
  .akcii-grid.akcii-grid--smart-count-3,
  .akcii-grid.akcii-grid--smart-count-4,
  .akcii-grid.akcii-grid--smart-count-5,
  .akcii-grid.akcii-grid--smart-count-6,
  .akcii-grid.akcii-grid--smart-count-7,
  .akcii-grid.akcii-grid--smart-count-8,
  .akcii-grid.akcii-grid--smart-count-9 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .akcii-grid .akcii-card {
    grid-column: auto !important;
    width: auto !important;
  }

  .akcii-grid .akcii-card.is-hidden {
    display: none !important;
  }
}

/* === Akcii universal symmetric layout === */
.akcii-card.is-hidden {
  display: none !important;
}

@media (min-width: 1025px) {
  .akcii-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
  }

  .akcii-grid .akcii-card {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    max-width: calc((100% - 36px) / 3) !important;
  }

  .akcii-grid.akcii-grid--visible-1 .akcii-card:not(.is-hidden) {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .akcii-grid.akcii-grid--visible-2 .akcii-card:not(.is-hidden),
  .akcii-grid.akcii-grid--visible-4 .akcii-card:not(.is-hidden),
  .akcii-grid .akcii-card.akcii-card--last-double {
    flex-basis: calc((100% - 18px) / 2) !important;
    max-width: calc((100% - 18px) / 2) !important;
  }

  .akcii-grid .akcii-card.akcii-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .akcii-grid.akcii-grid--visible-1 .akcii-card h2,
  .akcii-grid.akcii-grid--visible-1 .akcii-card p,
  .akcii-grid.akcii-grid--visible-2 .akcii-card h2,
  .akcii-grid.akcii-grid--visible-2 .akcii-card p,
  .akcii-grid.akcii-grid--visible-4 .akcii-card h2,
  .akcii-grid.akcii-grid--visible-4 .akcii-card p,
  .akcii-grid .akcii-card.akcii-card--last-single h2,
  .akcii-grid .akcii-card.akcii-card--last-single p,
  .akcii-grid .akcii-card.akcii-card--last-double h2,
  .akcii-grid .akcii-card.akcii-card--last-double p {
    max-width: 420px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .akcii-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .akcii-grid .akcii-card {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
  }

  .akcii-grid.akcii-grid--visible-1 .akcii-card:not(.is-hidden),
  .akcii-grid .akcii-card.akcii-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .akcii-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .akcii-grid .akcii-card {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }
}

/* === Desktop header menu: keep navigation in one row === */
@media (min-width: 1025px) {
  .site-header .container {
    max-width: 100%;
  }

  .site-header-inner,
  .header-inner {
    gap: 20px;
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    min-width: 0;
    padding-right: 22px;
  }

  .site-nav a,
  .site-nav__trigger {
    white-space: nowrap;
    line-height: 1;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 14px;
  }

  .measure-button,
  .order-button {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Уплотняем шапку на средних desktop-экранах и ноутбуках */
@media (min-width: 1025px) and (max-width: 1320px) {
  .site-header-inner,
  .header-inner {
    grid-template-columns: 232px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .site-nav {
    gap: 12px;
    padding-right: 0;
  }

  .site-nav a,
  .site-nav__trigger {
    font-size: 13px;
    white-space: nowrap;
    line-height: 1;
  }

  .site-nav > a:last-child {
    margin-right: 0;
  }

  .header-actions {
    gap: 0;
  }

  .header-actions .social-brand,
  .header-socials {
    display: none;
  }

  .measure-button,
  .order-button {
    min-width: 154px;
    min-height: 44px;
    padding-left: 22px;
    padding-right: 22px;
    white-space: nowrap;
  }
}

/* На очень узком desktop до включения мобильной версии — ещё компактнее */
@media (min-width: 1025px) and (max-width: 1160px) {
  .site-header-inner,
  .header-inner {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .site-nav {
    gap: 10px;
    padding-right: 0;
  }

  .site-nav a,
  .site-nav__trigger {
    font-size: 13px;
  }

  .measure-button,
  .order-button {
    min-width: 148px;
    min-height: 42px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 13px;
  }
}

/* === Blog filter: tabs and symmetric layout === */
[data-blog-category].is-hidden {
  display: none !important;
}

@media (min-width: 1025px) {
  .blog-grid,
  .blog-list,
  .blog-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
  }

  .blog-grid [data-blog-category],
  .blog-list [data-blog-category],
  .blog-cards [data-blog-category] {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    max-width: calc((100% - 36px) / 3) !important;
  }

  .blog-grid.blog-grid--visible-1 [data-blog-category]:not(.is-hidden),
  .blog-list.blog-grid--visible-1 [data-blog-category]:not(.is-hidden),
  .blog-cards.blog-grid--visible-1 [data-blog-category]:not(.is-hidden) {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .blog-grid.blog-grid--visible-2 [data-blog-category]:not(.is-hidden),
  .blog-list.blog-grid--visible-2 [data-blog-category]:not(.is-hidden),
  .blog-cards.blog-grid--visible-2 [data-blog-category]:not(.is-hidden),
  .blog-grid.blog-grid--visible-4 [data-blog-category]:not(.is-hidden),
  .blog-list.blog-grid--visible-4 [data-blog-category]:not(.is-hidden),
  .blog-cards.blog-grid--visible-4 [data-blog-category]:not(.is-hidden),
  .blog-grid .blog-card--last-double,
  .blog-list .blog-card--last-double,
  .blog-cards .blog-card--last-double {
    flex-basis: calc((100% - 18px) / 2) !important;
    max-width: calc((100% - 18px) / 2) !important;
  }

  .blog-grid .blog-card--last-single,
  .blog-list .blog-card--last-single,
  .blog-cards .blog-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .blog-grid,
  .blog-list,
  .blog-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .blog-grid [data-blog-category],
  .blog-list [data-blog-category],
  .blog-cards [data-blog-category] {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
  }

  .blog-grid .blog-card--last-single,
  .blog-list .blog-card--last-single,
  .blog-cards .blog-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .blog-grid,
  .blog-list,
  .blog-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .blog-grid [data-blog-category],
  .blog-list [data-blog-category],
  .blog-cards [data-blog-category] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }
}

/* === Blog real grid: symmetric last row === */
[data-blog-grid="true"] [data-blog-category].is-hidden {
  display: none !important;
}

@media (min-width: 1025px) {
  [data-blog-grid="true"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
  }

  [data-blog-grid="true"] > [data-blog-category] {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    max-width: calc((100% - 36px) / 3) !important;
    width: auto !important;
  }

  [data-blog-grid="true"].blog-real-grid--visible-1 > [data-blog-category]:not(.is-hidden) {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  [data-blog-grid="true"].blog-real-grid--visible-2 > [data-blog-category]:not(.is-hidden),
  [data-blog-grid="true"].blog-real-grid--visible-4 > [data-blog-category]:not(.is-hidden),
  [data-blog-grid="true"] > [data-blog-category].blog-real-card--last-double {
    flex-basis: calc((100% - 18px) / 2) !important;
    max-width: calc((100% - 18px) / 2) !important;
  }

  [data-blog-grid="true"] > [data-blog-category].blog-real-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  [data-blog-grid="true"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  [data-blog-grid="true"] > [data-blog-category] {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
    width: auto !important;
  }

  [data-blog-grid="true"].blog-real-grid--visible-1 > [data-blog-category]:not(.is-hidden),
  [data-blog-grid="true"] > [data-blog-category].blog-real-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  [data-blog-grid="true"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  [data-blog-grid="true"] > [data-blog-category] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }
}

/* === FIX blog: container must not become blog grid === */
.blog-section > .container[data-blog-grid="true"],
.blog-page > .container[data-blog-grid="true"],
.container[data-blog-grid="true"] {
  display: block !important;
}

.blog-section > .container[data-blog-grid="true"] > * {
  max-width: none;
}

/* === Blog cards stable symmetric layout === */
@media (min-width: 1025px) {
  .blog-secondary-grid,
  .blog-cards-grid,
  .blog-articles-grid,
  .blog-list-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
  }

  .blog-secondary-grid > [data-blog-category],
  .blog-cards-grid > [data-blog-category],
  .blog-articles-grid > [data-blog-category],
  .blog-list-grid > [data-blog-category] {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    max-width: calc((100% - 36px) / 3) !important;
    width: auto !important;
  }

  .blog-secondary-grid > [data-blog-category].blog-card--last-single,
  .blog-cards-grid > [data-blog-category].blog-card--last-single,
  .blog-articles-grid > [data-blog-category].blog-card--last-single,
  .blog-list-grid > [data-blog-category].blog-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .blog-secondary-grid > [data-blog-category].blog-card--last-double,
  .blog-cards-grid > [data-blog-category].blog-card--last-double,
  .blog-articles-grid > [data-blog-category].blog-card--last-double,
  .blog-list-grid > [data-blog-category].blog-card--last-double {
    flex-basis: calc((100% - 18px) / 2) !important;
    max-width: calc((100% - 18px) / 2) !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .blog-secondary-grid,
  .blog-cards-grid,
  .blog-articles-grid,
  .blog-list-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .blog-secondary-grid > [data-blog-category],
  .blog-cards-grid > [data-blog-category],
  .blog-articles-grid > [data-blog-category],
  .blog-list-grid > [data-blog-category] {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
    width: auto !important;
  }

  .blog-secondary-grid > [data-blog-category].blog-card--last-single,
  .blog-cards-grid > [data-blog-category].blog-card--last-single,
  .blog-articles-grid > [data-blog-category].blog-card--last-single,
  .blog-list-grid > [data-blog-category].blog-card--last-single {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .blog-secondary-grid,
  .blog-cards-grid,
  .blog-articles-grid,
  .blog-list-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* === FIX blog empty space: main container must stay normal === */
.blog-section > .container,
.blog-page > .container,
section.blog-section > .container {
  display: block !important;
  flex-wrap: initial !important;
}

.blog-section > .container[data-blog-grid="true"],
.blog-page > .container[data-blog-grid="true"],
section.blog-section > .container[data-blog-grid="true"],
.container[data-blog-grid="true"] {
  display: block !important;
  flex-wrap: initial !important;
}

/* Первая большая карточка блога всегда во всю доступную ширину */
.blog-featured,
.blog-main-card,
.blog-featured-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* Фильтруемые карточки не должны влиять на внешний контейнер страницы */
[data-blog-category].is-hidden {
  display: none !important;
}

/* === Mobile catalog cards: show images on all category cards === */
@media (max-width: 767px) {
  .catalog-cards-section {
    padding: 18px 0 22px !important;
  }

  .catalog-cards-inner {
    gap: 12px !important;
  }

  .catalog-top-cards,
  .catalog-small-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .catalog-top-card,
  .catalog-small-card {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
  }

  .catalog-top-card img,
  .catalog-small-card img {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 178px !important;
    min-height: 178px !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }

  .catalog-top-card::before,
  .catalog-top-card::after,
  .catalog-small-card::before,
  .catalog-small-card::after {
    display: none !important;
    content: none !important;
  }

  .catalog-top-card-body,
  .catalog-small-card-body {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 14px 14px 16px !important;
    background: #ffffff !important;
    color: #18191c !important;
  }

  .catalog-top-card-body h2,
  .catalog-small-card-body h2 {
    margin: 0 0 7px !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
    color: #18191c !important;
  }

  .catalog-top-card-body p,
  .catalog-small-card-body p {
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: rgba(24, 25, 28, 0.74) !important;
  }

  .catalog-top-card-body a,
  .catalog-small-card-body a {
    width: fit-content !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(24, 25, 28, 0.22) !important;
    background: #ffffff !important;
    color: #18191c !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }
}
/* Страница полной статьи блога */
.blog-article-page {
  background: #f6f3ee;
  padding: 28px 0 52px;
}

.blog-article {
  max-width: 980px;
  margin: 0 auto;
}

.blog-article__back {
  margin-bottom: 18px;
  font-size: 14px;
}

.blog-article__back a {
  color: #171719;
  text-decoration: none;
}

.blog-article__back a:hover {
  text-decoration: underline;
}

.blog-article__title {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  color: #171719;
}

.blog-article__date {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f0e7da;
  color: #6b5f54;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.blog-article__image {
  margin: 0 0 30px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8e2d8;
}

.blog-article__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.blog-article__content {
  max-width: 860px;
  margin: 0 auto 38px;
  font-size: 18px;
  line-height: 1.72;
  color: #242426;
}

.blog-article__content p {
  margin: 0 0 18px;
}

.blog-article-gallery {
  max-width: 980px;
  margin: 42px auto 0;
}

.blog-article-gallery__title {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: #171719;
}

.blog-article-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-article-gallery__item {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.08);
}

.blog-article-gallery__item img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.blog-article-gallery__item figcaption {
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #4a4a4d;
}

@media (max-width: 768px) {
  .blog-article-page {
    padding: 18px 0 36px;
  }

  .blog-article {
    max-width: none;
  }

  .blog-article__back {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .blog-article__title {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.12;
  }

  .blog-article__image {
    margin-bottom: 22px;
    border-radius: 16px;
  }

  .blog-article__image img {
    max-height: 360px;
  }

  .blog-article__content {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.65;
  }

  .blog-article__content p {
    margin-bottom: 16px;
  }

  .blog-article-gallery {
    margin-top: 32px;
  }

  .blog-article-gallery__title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .blog-article-gallery__grid {
    grid-template-columns: 1 fr;
    gap: 14px;
  }

  .blog-article-gallery__item {
    border-radius: 16px;
  }

  .blog-article-gallery__item img {
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #f1eee8;
  }
}
/* Просмотрщик галереи статьи */
.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.article-lightbox.is-open {
  display: flex;
}

.article-lightbox__inner {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  background: #111;
}

.article-lightbox__caption {
  margin-top: 12px;
  max-width: 900px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.article-lightbox__close,
.article-lightbox__prev,
.article-lightbox__next {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-lightbox__close:hover,
.article-lightbox__prev:hover,
.article-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.article-lightbox__close {
  top: -6px;
  right: -6px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 44px;
}

.article-lightbox__prev,
.article-lightbox__next {
  top: 50%;
  width: 52px;
  height: 72px;
  border-radius: 18px;
  font-size: 42px;
  line-height: 72px;
  transform: translateY(-50%);
}

.article-lightbox__prev {
  left: -72px;
}

.article-lightbox__next {
  right: -72px;
}

.blog-article-gallery__item img {
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .article-lightbox {
    padding: 14px;
  }

  .article-lightbox__image {
    max-height: 78vh;
    border-radius: 10px;
  }

  .article-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .article-lightbox__prev,
  .article-lightbox__next {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 34px;
    line-height: 48px;
    transform: none;
  }

  .article-lightbox__prev {
    left: 18px;
  }

  .article-lightbox__next {
    right: 18px;
  }

  .article-lightbox__caption {
    padding: 0 58px;
    font-size: 13px;
  }
}
/* Promo detail page */

.promo-detail-page {
  background: #f7f3ec;
}

.promo-detail-hero {
  padding: 24px 0 56px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 194, 32, 0.18), transparent 34%),
    linear-gradient(135deg, #fffaf0 0%, #f4eee4 100%);
}

.promo-detail-hero .page-breadcrumbs {
  margin-bottom: 34px;
}

.promo-detail-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 48px;
  align-items: center;
}

.promo-detail-hero__content {
  max-width: 760px;
}

.promo-detail-hero__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 194, 32, 0.2);
  color: #7a5200;
  font-size: 14px;
  font-weight: 700;
}

.promo-detail-hero h1 {
  margin: 0 0 18px;
  max-width: 820px;
  color: #151515;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.promo-detail-hero p {
  margin: 0;
  max-width: 680px;
  color: #343434;
  font-size: 20px;
  line-height: 1.55;
}

.promo-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.promo-detail-hero__image {
  overflow: hidden;
  min-height: 340px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(42, 31, 16, 0.12);
}

.promo-detail-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.promo-detail-hero__image img[src="/"],
.promo-detail-hero__image img[src=""] {
  display: none;
}

.promo-detail-section {
  padding: 56px 0 72px;
}

.promo-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.promo-detail-content,
.promo-detail-sidebar {
  min-width: 0;
}

.promo-detail-content {
  display: grid;
  gap: 24px;
}

.promo-detail-notice {
  padding: 28px;
  border: 1px solid rgba(255, 194, 32, 0.38);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(38, 28, 16, 0.06);
}

.promo-detail-notice span {
  display: block;
  margin-bottom: 8px;
  color: #9a6a00;
  font-size: 14px;
  font-weight: 700;
}

.promo-detail-notice strong {
  display: block;
  margin-bottom: 12px;
  color: #171717;
  font-size: 30px;
  line-height: 1.15;
}

.promo-detail-notice p {
  margin: 0;
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.55;
}

.promo-detail-text {
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  color: #242424;
  font-size: 18px;
  line-height: 1.75;
  box-shadow: 0 18px 44px rgba(38, 28, 16, 0.05);
}
.promo-detail-text p {
  margin: 0 0 18px;
}

.promo-detail-text p:last-child {
  margin-bottom: 0;
}

.promo-detail-cta {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #171717 0%, #2a241d 100%);
  color: #fff;
}

.promo-detail-cta h2 {
  margin: 0 0 12px;
  max-width: 680px;
  color: #fff;
  font-size: 30px;
  line-height: 1.16;
}

.promo-detail-cta p {
  margin: 0 0 22px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}


.promo-detail-cta .promo-detail-form {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-top: 26px;
}

.promo-detail-cta .promo-detail-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-detail-cta .promo-detail-form input,
.promo-detail-cta .promo-detail-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.promo-detail-cta .promo-detail-form input {
  min-height: 56px;
  padding: 0 18px;
}

.promo-detail-cta .promo-detail-form textarea {
  min-height: 126px;
  padding: 16px 18px;
  resize: vertical;
}

.promo-detail-cta .promo-detail-form input::placeholder,
.promo-detail-cta .promo-detail-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.promo-detail-cta .promo-detail-form input:focus,
.promo-detail-cta .promo-detail-form textarea:focus {
  border-color: rgba(255, 196, 0, 0.72);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.12);
}

.promo-detail-cta .promo-detail-form .btn {
  width: fit-content;
  min-width: 270px;
}

.promo-detail-cta .form-status {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.promo-detail-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.promo-detail-side-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(38, 28, 16, 0.05);
}

.promo-detail-side-card h3 {
  margin: 0 0 10px;
  color: #171717;
  font-size: 22px;
  line-height: 1.2;
}

.promo-detail-side-card p {
  margin: 0;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.55;
}

.promo-detail-side-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #171717;
  font-weight: 800;
  text-decoration: none;
}

.promo-detail-side-card a:hover {
  color: #c28700;
}

@media (max-width: 1024px) {
  .promo-detail-hero__layout,
  .promo-detail-layout {
    grid-template-columns: 1fr;
  }

  .promo-detail-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .promo-detail-hero {
    padding: 18px 0 36px;
  }

  .promo-detail-hero .page-breadcrumbs {
    margin-bottom: 22px;
  }

  .promo-detail-hero__layout {
    gap: 26px;
  }

  .promo-detail-hero h1 {
    font-size: 34px;
  }

  .promo-detail-hero p {
    font-size: 17px;
  }

  .promo-detail-hero__actions {
    flex-direction: column;
  }

  .promo-detail-hero__actions .btn {
    width: 100%;
  }

  .promo-detail-hero__image,
  .promo-detail-hero__image img {
    min-height: 230px;
    border-radius: 22px;
  }

  .promo-detail-section {
    padding: 34px 0 48px;
  }

  .promo-detail-notice,
  .promo-detail-text,
  .promo-detail-cta,
  .promo-detail-side-card {
    padding: 22px;
    border-radius: 22px;
  }

  .promo-detail-notice strong,
  .promo-detail-cta h2 {
    font-size: 24px;
  }
}


/* === Страница акций v2: новая структура раздела === */

.malva-promos-page {
  background: #f4f3ef;
  color: #17181c;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}

.malva-promos-page *,
.malva-promos-page *::before,
.malva-promos-page *::after {
  box-sizing: border-box;
}

.malva-promos-page .container {
  width: min(calc(100% - 96px), var(--malva-page-max, 1500px));
  max-width: none;
  margin: 0 auto;
}

.malva-promos-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin: 0 0 22px;
}

.malva-promos-section-head h2 {
  margin: 0;
  color: #17181c;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.malva-promos-section-head p {
  margin: 0;
  color: #565a63;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

/* Первый экран раздела акций */

.malva-promos-hero {
  padding: 22px 0 18px;
  background: #f4f3ef;
}

.malva-promos-hero__panel {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(560px, 1.08fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: #faf8f5;
  box-shadow: 0 12px 34px rgba(23, 24, 27, 0.04);
}

.malva-promos-hero__content {
  position: relative;
  z-index: 2;
  padding: 38px 0 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.malva-promos-hero .page-breadcrumbs {
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.malva-promos-hero .page-breadcrumbs a {
  color: #8d8d8d;
  text-decoration: none;
}

.malva-promos-hero .page-breadcrumbs a:hover {
  color: #17181c;
}

.malva-promos-hero h1 {
  max-width: 670px;
  margin: 0;
  color: #17181c;
  font-size: clamp(42px, 3.8vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.malva-promos-hero__content p {
  max-width: 520px;
  margin: 22px 0 0;
  color: #33363d;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

.malva-promos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.malva-promos-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  min-height: 430px;
  overflow: hidden;
}

.malva-promos-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 34%;
  background: linear-gradient(
    90deg,
    #faf8f5 0%,
    rgba(250, 248, 245, 0.9) 25%,
    rgba(250, 248, 245, 0.45) 62%,
    rgba(250, 248, 245, 0) 100%
  );
  pointer-events: none;
}

.malva-promos-hero__image {
  min-height: 430px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.malva-promos-hero__image--kitchen {
  background-image: url("../images/category-pages/kuhni/kuhni-s-ostrovom.webp");
}

.malva-promos-hero__image--wardrobe {
  background-image: url("../images/category-pages/shkafy/shkafy-vstroennyj-shkaf-do-potolka.webp");
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  transform: scale(1.03);
}

.malva-promos-hero__image--living {
  background-image: url("../images/hero-slider/hero-slider-gostinye.jpg");
}

/* Преимущества под первым экраном */

.malva-promos-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.malva-promos-benefit {
  min-height: 108px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.045);
}

.malva-promos-benefit > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 137, 0, 0.18);
  border-radius: 50%;
  background: #fff7dc;
  color: #9a7400;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
}

.malva-promos-benefit h2 {
  margin: 0 0 7px;
  color: #17181c;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.malva-promos-benefit p {
  margin: 0;
  color: #555963;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 500;
}

/* Главная акция месяца */

.malva-main-promo-section {
  padding: 6px 0 20px;
  background: #f4f3ef;
}

.malva-main-promo {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 28%, rgba(255, 196, 0, 0.13), transparent 34%),
    #fffdf8;
  border: 1px solid rgba(23, 24, 28, 0.055);
  box-shadow: 0 14px 38px rgba(23, 24, 27, 0.055);
}

.malva-main-promo__image {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #eee8dc;
}

.malva-main-promo__image::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  background: linear-gradient(
    90deg,
    rgba(255, 253, 248, 0) 0%,
    rgba(255, 253, 248, 0.72) 72%,
    #fffdf8 100%
  );
  pointer-events: none;
}

.malva-main-promo__image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.malva-main-promo__content {
  position: relative;
  padding: 44px 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.malva-main-promo__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  color: #9a7400;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.malva-main-promo h2 {
  max-width: 670px;
  margin: 0 0 20px;
  color: #17181c;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.malva-main-promo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.malva-main-promo__meta span {
  min-height: 32px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff4cf;
  color: #725500;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.malva-main-promo p {
  max-width: 590px;
  margin: 0 0 28px;
  color: #3f434b;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.malva-main-promo .btn {
  width: fit-content;
}

/* Таблички категорий акций */
.malva-promos-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.malva-promos-tabs a {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(29, 26, 22, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.malva-promos-tabs a:hover {
  transform: translateY(-1px);
  background: #fff8df;
}

.malva-promos-tabs a.is-active {
  border-color: #ffc400;
  background: #ffc400;
  box-shadow: 0 12px 28px rgba(255, 196, 0, 0.22);
}

.malva-promos-tabs span {
  color: rgba(23, 24, 28, 0.52);
  font-weight: 800;
}

.malva-promos-tabs a.is-active span {
  color: rgba(23, 24, 28, 0.7);
}

@media (max-width: 767px) {
  .malva-promos-tabs {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .malva-promos-tabs a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
}

/* Сетка действующих акций */

.malva-promos-list-section {
  padding: 0 0 26px;
  background: #f4f3ef;
}

.malva-promos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.malva-promo-card {
  position: relative;
  min-height: 268px;
  height: 100%;
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  border: 1px solid rgba(23, 24, 28, 0.055);
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.045);
}

.malva-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.72) 60%,
      rgba(255, 255, 255, 0.18) 100%
    );
  pointer-events: none;
}

.malva-promo-card__body {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 268px;
  height: 100%;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.malva-promo-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.malva-promo-card__date,
.malva-promo-card__category {
  min-height: 28px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff4cf;
  color: #725500;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.malva-promo-card__category {
  background: #f4f1ea;
  color: #595247;
}

.malva-promo-card h3 {
  max-width: 360px;
  margin: 0 0 14px;
  color: #17181c;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.malva-promo-card p {
  max-width: 340px;
  margin: 0 0 10px;
  color: #4f535c;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 500;
}

.malva-promo-card strong {
  max-width: 340px;
  margin: 0 0 18px;
  display: block;
  color: #9a7400;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.malva-promo-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17181c;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.malva-promo-card a span {
  color: #d39a00;
  font-size: 20px;
  line-height: 1;
}

.malva-promos-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  color: #5b6068;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

/* Бесплатно в каждом проекте */

.malva-promos-included {
  padding: 0 0 26px;
  background: #f4f3ef;
}

.malva-promos-included__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.malva-promos-included__item {
  min-height: 118px;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 24, 27, 0.04);
}

.malva-promos-included__item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 137, 0, 0.18);
  border-radius: 12px;
  background: #fff8df;
  color: #8f6a00;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.malva-promos-included__item h3 {
  margin: 0 0 6px;
  color: #17181c;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.malva-promos-included__item p {
  margin: 0;
  color: #5b6068;
  font-size: 12px;
  line-height: 1.38;
  font-weight: 500;
}

/* Блок подбора акции и дизайнеров */

.malva-promos-helper {
  padding: 0 0 26px;
  background: #f4f3ef;
}

.malva-promos-helper__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.malva-promos-picker,
.malva-promos-designers {
  min-height: 236px;
  padding: 30px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.045);
}

.malva-promos-designers {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.94) 48%, rgba(255,255,255,0.72) 64%, rgba(255,255,255,0.1) 100%),
    url("../images/promos/complex-order-offer.webp") center right / cover no-repeat,
    #ffffff;
}

.malva-promos-picker h2,
.malva-promos-designers h2,
.malva-promos-faq h2,
.malva-promos-request h2 {
  margin: 0 0 12px;
  color: #17181c;
  font-size: 30px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.malva-promos-picker p,
.malva-promos-designers p,
.malva-promos-request p {
  max-width: 570px;
  margin: 0 0 20px;
  color: #4f535c;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.malva-promos-picker__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.malva-promos-picker__tags span {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  background: #f8f5ee;
  color: #292b30;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.malva-promos-designers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.malva-promos-designers li {
  position: relative;
  padding-left: 22px;
  color: #282b30;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.malva-promos-designers li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #9a7400;
  font-weight: 900;
}

/* FAQ и форма */

.malva-promos-bottom {
  padding: 0 0 34px;
  background: #f4f3ef;
}

.malva-promos-bottom__layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.malva-promos-faq,
.malva-promos-request {
  padding: 30px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 24, 27, 0.045);
}

.malva-promos-faq details {
  border-bottom: 1px solid rgba(23, 24, 28, 0.08);
}

.malva-promos-faq details:first-of-type {
  border-top: 1px solid rgba(23, 24, 28, 0.08);
}

.malva-promos-faq summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #17181c;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.malva-promos-faq summary::after {
  content: "⌄";
  margin-left: 16px;
  color: #9a7400;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.malva-promos-faq details[open] summary::after {
  transform: rotate(180deg);
}

.malva-promos-faq details p {
  margin: 0 0 16px;
  color: #565a63;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.malva-promos-request .promo-detail-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.malva-promos-request .promo-detail-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.malva-promos-request .promo-detail-form input,
.malva-promos-request .promo-detail-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 24, 28, 0.1);
  border-radius: 10px;
  background: #faf8f5;
  color: #17181c;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.malva-promos-request .promo-detail-form input {
  min-height: 48px;
  padding: 0 14px;
}

.malva-promos-request .promo-detail-form textarea {
  min-height: 98px;
  padding: 14px;
  resize: vertical;
}

.malva-promos-request .promo-detail-form input::placeholder,
.malva-promos-request .promo-detail-form textarea::placeholder {
  color: #83858a;
}

.malva-promos-request .promo-detail-form .btn {
  width: 100%;
}

.malva-promos-request .form-status {
  margin: 0;
  color: #5b6068;
  font-size: 13px;
  line-height: 1.35;
}

/* Адаптация новой страницы акций */

@media (max-width: 1180px) {
  .malva-promos-hero__panel,
  .malva-main-promo,
  .malva-promos-helper__layout,
  .malva-promos-bottom__layout {
    grid-template-columns: 1fr;
  }

  .malva-promos-hero__visual {
    min-height: 320px;
  }

  .malva-promos-hero__image {
    min-height: 320px;
  }

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

  .malva-promos-included__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .malva-main-promo__image {
    min-height: 280px;
  }

  .malva-main-promo__image img {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .malva-promos-page .container {
    width: min(calc(100% - 32px), 100%);
  }

  .malva-promos-section-head,
  .malva-promos-benefits,
  .malva-promos-grid,
  .malva-promos-included__grid {
    grid-template-columns: 1fr;
  }

  .malva-promos-hero {
    padding-top: 18px;
  }

  .malva-promos-hero__panel {
    border-radius: 18px;
  }

  .malva-promos-hero__content {
    padding: 28px 22px;
  }

  .malva-promos-hero .page-breadcrumbs {
    margin-bottom: 28px;
  }

  .malva-promos-hero h1 {
    font-size: 38px;
  }

  .malva-promos-hero__content p {
    font-size: 16px;
  }

  .malva-promos-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .malva-promos-hero__actions .btn {
    width: 100%;
  }

  .malva-promos-hero__visual {
    grid-template-columns: 1fr;
    min-height: 240px;
  }

  .malva-promos-hero__visual::before {
    display: none;
  }

  .malva-promos-hero__image {
    min-height: 240px;
  }

  .malva-promos-hero__image--wardrobe,
  .malva-promos-hero__image--living {
    display: none;
  }

  .malva-promos-benefit,
  .malva-promos-included__item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .malva-main-promo__content,
  .malva-promos-picker,
  .malva-promos-designers,
  .malva-promos-faq,
  .malva-promos-request {
    padding: 24px 20px;
  }

  .malva-main-promo h2,
  .malva-promos-picker h2,
  .malva-promos-designers h2,
  .malva-promos-faq h2,
  .malva-promos-request h2 {
    font-size: 26px;
  }

  .malva-main-promo .btn,
  .malva-promos-picker .btn,
  .malva-promos-designers .btn {
    width: 100%;
  }

  .malva-promo-card,
  .malva-promo-card__body {
    min-height: 248px;
  }

  .malva-promos-request .promo-detail-form__grid {
    grid-template-columns: 1fr;
  }
}

