/* ========== О СЕРИИ ========== */

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about h2 {
  margin-bottom: 18px;
}

.about .lead {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
}

.features {
  list-style: none;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}

.features li {
  display: flex;
  gap: clamp(10px, 1.5vw, 16px);
  align-items: flex-start;
  padding-bottom: clamp(12px, 2vw, 18px);
  border-bottom: 1px solid var(--greige);
}

.features li:last-child {
  border-bottom: none;
}

.features .qmark {
  margin-top: 7px;
  color: var(--ink);
}

.features b {
  display: block;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
}

.features span.desc {
  font-size: clamp(12.5px, 1.4vw, 14px);
  color: var(--muted);
}

/* ========== ЦВЕТА (интерактив) ========== */

.colors {
  background: var(--white);
  border-top: 1px solid var(--greige-light);
  border-bottom: 1px solid var(--greige-light);
}

.colors-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.colors-head p {
  color: var(--muted);
  margin-top: 10px;
  font-size: clamp(13px, 1.5vw, 15px);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-bottom: clamp(28px, 5vw, 60px);
  padding: clamp(40px, 6vw, 80px) 0 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1140px;
  justify-items: center;
}

.color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.5vw, 16px);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  transition: all .2s ease;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
}

.color-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.color-card img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(43, 38, 34, .18));
  transition: transform .3s ease;
  margin-bottom: 8px;
}

.color-card:hover img {
  transform: scale(1.1);
}

.color-name {
  display: block;
  text-align: center;
  line-height: 1.4;
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 600;
  padding: clamp(2px, 0.8vw, 8px) 2px;
  border-radius: 14px;
  border: 1.5px solid var(--greige);
  background: var(--bg);
  transition: all .2s ease;
  width: min(100%, max(70%, 110px));
  margin: 0 auto;
}

.color-card:hover .color-name {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(43, 38, 34, .12);
}

/* ========== INLINE СЛАЙДЕР ЦВЕТОВ ========== */

.color-slider-section {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: clamp(20px, 5vw, 40px);
}

.color-slider-section.active {
  display: flex;
  animation: zoomIn .5s cubic-bezier(.34, .1, .68, 1) forwards;
}

.color-slider-section.active > * {
  pointer-events: auto;
}

.color-slider-section > div {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(43, 38, 34, .3);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.slider-header h3 {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0;
}

.slider-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-close:hover {
  background: var(--greige);
  transform: rotate(90deg);
}

/* ========== CAROUSEL ========== */

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  margin-bottom: 20px;
}

.carousel-viewport {
  flex: 1;
  background: linear-gradient(135deg, #F2EDE4 0%, #E5DCCD 100%);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.34, .1, .68, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(43, 38, 34, .15));
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--greige);
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
  transition: all .2s ease;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.carousel-caption {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--greige);
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 999px;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    background: transparent;
  }

  to {
    opacity: 1;
    background: rgba(43, 38, 34, .4);
  }
}

.color-slider-section.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 38, 34, .4);
  z-index: -1;
  animation: fadeBackdrop .5s ease-out forwards;
}

@keyframes fadeBackdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ========== 4 ПРИЧИНЫ ========== */

.details {
  background: var(--greige-light);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 36px);
  margin-top: 36px;
}

.detail-card b {
  display: block;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-top: 12px;
}

.detail-card p {
  font-size: clamp(12.5px, 1.4vw, 14px);
  color: var(--muted);
  margin-top: 4px;
}

.detail-card .num {
  font-family: 'Tenor Sans', serif;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--accent);
  display: none;
}

/* ========== КОНСУЛЬТАЦИЯ ========== */

.consultation {
  background: var(--greige-light);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.consultation-text h2 {
  margin-bottom: 18px;
  color: var(--ink);
}

.consultation-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  margin-bottom: 24px;
}

.consultation-benefits {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.consultation-benefits li {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 12px);
  font-size: clamp(13.5px, 1.5vw, 15px);
  color: var(--ink);
  font-weight: 500;
}

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.consultation-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(43, 38, 34, .08);
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
  border: 1.5px solid var(--greige);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(13px, 1.4vw, 14px);
  color: var(--ink);
  transition: all .2s ease;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
  color: var(--muted);
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 118, 74, .1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-top: 4px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.consultation-form button {
  margin-top: 8px;
}

/* ========== ДИЗАЙНЕРЫ РЕКОМЕНДУЮТ ========== */

.designers {
  background: var(--white);
  border-top: 1px solid var(--greige-light);
  border-bottom: 1px solid var(--greige-light);
}

.designers h2 {
  margin-bottom: 36px;
}

.designers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.designer-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9/16;
  cursor: pointer;
  background: #000;
  box-shadow: 0 8px 24px rgba(43, 38, 34, .15);
  transition: all .3s ease;
  text-decoration: none;
  display: block;
}

.designer-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43, 38, 34, .2);
}

.designer-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ========== КАК ЗАКАЗАТЬ - ШАГИ ========== */

.steps-container {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  margin-top: 36px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  flex: 1;
  min-width: 0;
}

.step-card {
  padding: clamp(20px, 2.5vw, 40px) clamp(12px, 1.6vw, 40px);
  min-width: 0;
  background: var(--white);
  border: 1.5px solid var(--greige);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 38, 34, .12);
}

.step-card .num {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

.step-card b {
  display: block;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Tenor Sans', serif;
  letter-spacing: .02em;
  overflow-wrap: break-word;
  max-width: 100%;
}

.step-card p {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--muted);
  line-height: 1.6;
}


/* ========== КОМУ ПОДХОДИТ ========== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 36px;
}

.aud-card {
  background: var(--white);
  border: 1px solid var(--greige);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 26px) clamp(20px, 3.2vw, 28px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.aud-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43, 38, 34, .10);
}

.aud-card .qmark {
  color: var(--ink);
  margin-bottom: 16px;
}

.aud-card b {
  display: block;
  font-size: clamp(16px, 1.8vw, 18px);
  font-family: 'Tenor Sans', serif;
  font-weight: 400;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.aud-card p {
  font-size: clamp(13px, 1.5vw, 14.5px);
  color: var(--muted);
}

/* ========== КАТАЛОГ ========== */

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.catalog-head p {
  color: var(--muted);
  max-width: 460px;
  font-size: 15px;
}

.price-note {
  font-size: 14px;
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
  display: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--greige);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43, 38, 34, .10);
}

.card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.badge-hit {
  background: var(--ink);
  color: var(--white);
}

.badge-new {
  background: var(--accent);
  color: var(--white);
}

.badge-room {
  background: var(--greige-light);
  color: var(--ink);
  border: 1px solid var(--greige);
}

.card-visual {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F2EDE4 0%, #E5DCCD 100%);
  overflow: hidden;
}

.card-visual img {
  width: 62%;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(43, 38, 34, .16));
  transition: transform .3s ease;
}

.card:hover .card-visual img {
  transform: scale(1.05);
}

.card-body {
  padding: clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 22px) clamp(16px, 3vw, 22px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-body b {
  display: block;
  font-size: clamp(15px, 1.7vw, 17px);
  margin-top: 6px;
  line-height: 1.35;
}

.card-body p {
  font-size: clamp(12.5px, 1.4vw, 13.5px);
  color: var(--muted);
  margin-top: 6px;
}

.card-specs {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: .02em;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  display: none;
}

.card-price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  letter-spacing: .02em;
}

.card-go {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
}

.catalog-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 5vw, 48px);
  text-align: center;
}

.catalog-cta .hint {
  font-size: clamp(12.5px, 1.4vw, 14px);
  color: var(--muted);
  max-width: 520px;
}

/* ========== АДАПТИВ ========== */

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

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

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

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

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

  .carousel-viewport {
    min-height: 280px;
  }

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

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

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

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

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

  .steps-container {
    position: relative;
    overflow: hidden;
  }

  .steps-grid {
    display: flex;
    grid-template-columns: unset;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .steps-grid::-webkit-scrollbar {
    height: 4px;
  }

  .steps-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .steps-grid::-webkit-scrollbar-thumb {
    background: rgba(181, 118, 74, 0.3);
    border-radius: 4px;
  }

  .step-card {
    min-width: calc(100% - 32px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .trust-facts {
    grid-template-columns: 1fr 1fr;
  }

  .color-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .color-card {
    min-height: 280px;
    margin: 0;
  }

  .color-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1;
  }

  .carousel-container {
    flex-direction: column;
    gap: 12px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-viewport {
    min-height: 240px;
  }

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

  .step-card {
    padding: 24px 20px;
  }

  .step-card .num {
    font-size: 48px;
  }

  .step-card b {
    font-size: 20px;
  }

  .step-card p {
    font-size: 14px;
  }
}
