/**
 * Химчистка мебели — контент шорткода [.chisto-dfn-ref] (dfn / chisto-dfn).
 */
.chisto-dfn-ref {
  --dfn-navy-dark: #0f2240;
  font-family: var(--font);
  color: var(--text);
}

.chisto-dfn-ref *,
.chisto-dfn-ref *::before,
.chisto-dfn-ref *::after {
  box-sizing: border-box;
}

.chisto-dfn-ref a {
  text-decoration: none;
  color: inherit;
}

.chisto-dfn-ref .chisto-dfn-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.chisto-dfn-ref .page-hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, var(--dfn-navy-dark) 0%, var(--navy) 60%, #1c3f75 100%);
}

.chisto-dfn-ref .page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.012) 40px,
    rgba(255, 255, 255, 0.012) 41px
  );
  pointer-events: none;
}

.chisto-dfn-ref .page-hero__glow {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.chisto-dfn-ref .page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(380px, 100%);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 88px) 0;
  width: 100%;
}

.chisto-dfn-ref .page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 22px;
}

.chisto-dfn-ref .page-hero__title {
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 20px;
}

.chisto-dfn-ref .page-hero__title .accent {
  color: var(--gold);
}

.chisto-dfn-ref .page-hero__desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 32px;
  max-width: 540px;
}

.chisto-dfn-ref .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chisto-dfn-ref .page-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chisto-dfn-ref .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.chisto-dfn-ref .hero-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.chisto-dfn-ref .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: var(--tr);
  border: 2px solid transparent;
  font-family: var(--font);
  cursor: pointer;
}

.chisto-dfn-ref .btn--gold {
  background: var(--gold);
  color: var(--dfn-navy-dark);
  box-shadow: var(--sh-gold);
}

.chisto-dfn-ref .btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.chisto-dfn-ref .section {
  padding: clamp(64px, 10vw, 96px) 0;
}

.chisto-dfn-ref .section--gray {
  background: var(--off);
}

.chisto-dfn-ref .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.chisto-dfn-ref .section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.chisto-dfn-ref .section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}

.chisto-dfn-ref .section-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.chisto-dfn-ref .dfn-img-ph {
  background: var(--g100);
  border: 2px dashed var(--g200);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.chisto-dfn-ref .dfn-img-ph__icon {
  font-size: 28px;
  opacity: 0.45;
}

.chisto-dfn-ref .dfn-img-ph__text {
  font-size: 11px;
  font-weight: 600;
  color: var(--g500);
  padding: 0 12px;
}

.chisto-dfn-ref .dfn-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.chisto-dfn-ref .dfn-cat-card {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--tr);
}

.chisto-dfn-ref .dfn-cat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--sh-sm);
  transform: translateY(-3px);
}

.chisto-dfn-ref .dfn-cat-card__image {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off);
  font-size: 42px;
}

.chisto-dfn-ref .dfn-cat-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--dfn-navy-dark);
}

.chisto-dfn-ref .dfn-cat-card__body {
  padding: 20px 18px 22px;
}

.chisto-dfn-ref .dfn-cat-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.chisto-dfn-ref .dfn-cat-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
}

.chisto-dfn-ref .dfn-cat-card__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}

.chisto-dfn-ref .dfn-hsteps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.chisto-dfn-ref .dfn-hstep {
  text-align: center;
  padding: 12px 8px;
}

.chisto-dfn-ref .dfn-hstep__circle {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--g200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--sh-sm);
}

.chisto-dfn-ref .dfn-hstep__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chisto-dfn-ref .dfn-hstep__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}

.chisto-dfn-ref .dfn-hstep__desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.chisto-dfn-ref .dfn-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.chisto-dfn-ref .dfn-rev {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r-md);
  padding: 24px 20px;
  position: relative;
}

.chisto-dfn-ref .dfn-rev__stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 10px;
}

.chisto-dfn-ref .dfn-rev__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 10px;
}

.chisto-dfn-ref .dfn-rev__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--off);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.chisto-dfn-ref .dfn-rev__author {
  display: flex;
  gap: 11px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--g100);
}

.chisto-dfn-ref .dfn-rev__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.chisto-dfn-ref .dfn-rev__name {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.chisto-dfn-ref .dfn-rev__meta {
  font-size: 11px;
  color: var(--g500);
  margin-top: 2px;
}

.chisto-dfn-ref .dfn-faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.chisto-dfn-ref .dfn-faq-i {
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.chisto-dfn-ref .dfn-faq-i.dfn-faq-i--open {
  border-color: var(--navy);
}

.chisto-dfn-ref .dfn-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-align: left;
  background: var(--white);
  border: none;
  font-family: var(--font);
  cursor: pointer;
}

.chisto-dfn-ref .dfn-faq-i.dfn-faq-i--open .dfn-faq-q {
  background: #fff8e6;
}

.chisto-dfn-ref .dfn-faq-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.chisto-dfn-ref .dfn-faq-i.dfn-faq-i--open .dfn-faq-ico {
  background: var(--gold);
  transform: rotate(45deg);
}

.chisto-dfn-ref .dfn-faq-a {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.chisto-dfn-ref .dfn-faq-a[hidden] {
  display: none !important;
}

.chisto-dfn-ref .dfn-faq-a p {
  margin: 0;
}

.chisto-dfn-ref .cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, #c4941f 100%);
  padding: 72px 0;
}

.chisto-dfn-ref .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.chisto-dfn-ref .cta-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: var(--dfn-navy-dark);
  margin: 0;
}

.chisto-dfn-ref .cta-sub {
  font-size: 16px;
  color: rgba(15, 34, 64, 0.7);
  margin: 10px 0 0;
}

.chisto-dfn-ref .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chisto-dfn-ref .cta-phone {
  font-size: 28px;
  font-weight: 900;
  color: var(--dfn-navy-dark);
  text-align: center;
}

.chisto-dfn-ref .cta-note {
  font-size: 12px;
  text-align: center;
  color: rgba(15, 34, 64, 0.6);
  margin: 0;
}

.chisto-dfn-ref .chisto-dfn-floating-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.chisto-dfn-ref .chisto-dfn-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.chisto-dfn-ref .chisto-dfn-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.chisto-dfn-ref .chisto-dfn-reveal--d1 {
  transition-delay: 0.1s;
}
.chisto-dfn-ref .chisto-dfn-reveal--d2 {
  transition-delay: 0.2s;
}
.chisto-dfn-ref .chisto-dfn-reveal--d3 {
  transition-delay: 0.3s;
}
.chisto-dfn-ref .chisto-dfn-reveal--d4 {
  transition-delay: 0.4s;
}

@media (max-width: 1100px) {
  .chisto-dfn-ref .page-hero__inner {
    grid-template-columns: 1fr;
  }
  .chisto-dfn-ref .dfn-hsteps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .chisto-dfn-ref .dfn-catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .chisto-dfn-ref .dfn-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .chisto-dfn-ref .dfn-hsteps {
    grid-template-columns: 1fr 1fr;
  }
  .chisto-dfn-ref .dfn-catalog-grid {
    grid-template-columns: 1fr;
  }
  .chisto-dfn-ref .dfn-reviews-grid {
    grid-template-columns: 1fr;
  }
  .chisto-dfn-ref .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .chisto-dfn-ref .chisto-dfn-floating-cta {
    display: flex;
    justify-content: center;
  }
  .chisto-dfn-ref .chisto-dfn-container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .chisto-dfn-ref .dfn-hsteps {
    grid-template-columns: 1fr;
  }
}
