:root {
  --accent: #e98cbf;    /* фирменный розовый Pandora */
  --main: #191919;
  --light-bg: #fff;
  --border: #e4e6ed;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --brand: #fff;
  --radius-lg: 22px;
  --radius-md: 14px;
}

/* --- Hero Section --- */
.case-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11rem 6vw 3.5rem;
  gap: 4vw;
  background: var(--light-bg);
}
.case-hero__content {
  max-width: 800px;
}
.case-hero__content h1 {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  line-height: 1.35;
}
.case-hero__subtitle {
  font-size: 1.33rem;
  color: #ad5d93;
  margin-bottom: 2.2rem;
}
.case-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.case-tags span {
  background: var(--accent);
  color: var(--brand);
  border-radius: 1.1rem;
  padding: 0.32rem 1.15rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0,0,0,.03);
}
.case-hero__image img {
  width: 600px;
  height: 400px;
  border-radius: 50px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(153, 6, 121, 0.158);
  background: #fff0f8;
}
@media (max-width: 900px) {
  .case-hero {
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 4vw 2rem;
  }
  .case-hero__image img {
    width: 180px;
    height: 180px;
  }
}

/* --- Client & Task --- */
.case-info {
  display: flex;
  gap: 4vw;
  padding: 2.6rem 6vw 1rem;
  background: #fff;
}
.case-info__col {
  flex: 1;
  background: #fff7fa;
  border-radius: var(--radius-lg);
  padding: 2rem 2.3rem;
  min-width: 220px;
}
.case-info__col h2 {
  font-size: 1.37rem;
  font-weight: 600;
  margin-bottom: 1.02rem;
}
.case-info__col p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .case-info {
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.3rem 3vw 0.5rem;
  }
  .case-info__col {
    padding: 1.2rem 1rem;
  }
}

/* --- Решение (Solution) --- */
.case-solution {
  display: flex;
  align-items: center;
  gap: 2vw;
  padding: 3.5rem 6vw 2.5rem;
  background: #fff;
  position: relative;
}
.case-solution__graphic {
  position: absolute;
  left: 0; top: 0;
  width: 70px; height: 70px;
  background: url('../img/cases/pandora-bg.svg') no-repeat center/cover;
  opacity: 0.07;
  pointer-events: none;
}
.case-solution__content {
  z-index: 1;
}
.case-solution h2 {
  font-size: 1.55rem;
  margin-bottom: 1.05rem;
}
.case-solution ul {
  margin: 0 0 1.3rem 1.1rem;
  padding: 0;
  color: #242424;
  font-size: 1.07rem;
  line-height: 1.6;
}
.case-solution .accent {
  color: var(--accent);
  font-weight: bold;
}
.case-solution__action {
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--brand);
  background: var(--accent);
  border-radius: 2rem;
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.2rem 1.15rem;
}
.case-solution__date {
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0.7rem;
}
@media (max-width: 900px) {
  .case-solution {
    flex-direction: column;
    gap: 1rem;
    padding: 2.2rem 3vw 1.3rem;
  }
}

/* --- Результат (Impact) --- */
.case-impact {
  padding: 4.3rem 0vw 0rem;
  background: var(--light-bg);
  text-align: center;
}
.case-impact__title {
  font-size: 1.6rem;
  margin-bottom: 2.2rem;
}
.case-impact__counters {
  display: flex;
  justify-content: center;
  gap: 3vw;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.case-counter {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  min-width: 120px;
}
.counter-num {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--accent);
}
.counter-label {
  margin-top: 0.8rem;
  font-size: 0.98rem;
  color: #444;
}
@media (max-width: 900px) {
  .case-impact__counters {
    gap: 0.9rem;
  }
  .case-counter {
    padding: 1rem 0.8rem;
  }
}

/* --- Финал (Outcome) --- */
.case-outcome {
  padding: 3rem 6vw 5rem;
  text-align: center;
  background: #fff;
}
.case-outcome h2 {
  font-size: 1.35rem;
  margin-bottom: 1.8rem;
  font-weight: 600;
}
.case-outcome blockquote {
  font-size: 1.19rem;
  color: #ad5d93;
  font-style: italic;
  margin: 0 auto 1.5rem;
  max-width: 480px;
  line-height: 1.44;
  background: #fbe9f4;
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  border-left: 6px solid var(--accent);
}
.case-outcome blockquote span {
  font-size: 1.01rem;
  color: #888;
  display: block;
  margin-top: 1rem;
}
.case-outcome__btn {
  margin-top: 2.3rem;
}
.case-outcome__btn .btn-discuss {
  font-size: 1.1rem;
  padding: 0.7rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
}

@media (max-width: 700px) {
  .case-hero,
  .case-info,
  .case-solution,
  .case-impact,
  .case-outcome {
    padding-left: 3vw;
    padding-right: 3vw;
  }
}

/* --- Мелкие детали --- */
.accent {
  color: var(--accent);
  font-weight: 500;
}

.footer {
  text-align: left;
}
.bth_footer {
  display: inline-block;
  background: #101010;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 0.8em 2.4em;
  border-radius: 2em;
  margin-top: 1vw;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s, border .2s;
}
@media (max-width: 700px) {
  .case-hero__content {
    padding: 5rem 2rem 0;
    max-width: 100%;
  }
  
  .case-hero__content h1 {
    font-size: 2.2rem;
  }
  .case-hero__image {
    padding: 0 2rem;
  }
  .case-hero__image  img{
    width: 100%;
    height: 100%;
  }
  .case-info  {
    padding: 0 2rem;
  }
  .case-solution {
    padding: 2rem 2rem;
  }
  .case-solution__action {
    text-align: center;
  }
  .case-solution__date {
    font-size: 0.8rem;
  }
  .case-outcome {
    padding: 2rem 2rem 8rem;
  }
  .case-solution__action span {
    font-weight: 400;
    font-size: 1rem;
  }
}