/* ================================ */
/* COMPARISON COMPETITOR PAGE       */
/* ================================ */

/* ===== HERO ===== */

.cp-hero {
  background: #fff;
  padding-top: 160px;
  padding-bottom: 80px;
}

.cp-hero__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cp-hero__info {
  flex: 1;
}

.cp-hero__badge {
  color: #E5214C;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  display: inline-block;
  text-transform: uppercase;
  padding: 10px 16px;
  margin-bottom: 24px;
  border-radius: 50px;
  background: rgba(229, 33, 73, 0.10);
}

.cp-hero__info h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
  color: #212121;
  margin-bottom: 24px;
}

.cp-hero__subtitle {
  color: #212121;
  font-size: 20px;
  line-height: normal;
  font-family: "Inter", sans-serif;
  margin-bottom: 24px;
  max-width: 480px;
}


.cp-hero__image--desktop {
  flex: 1;
  max-width: 680px;
}

.cp-hero__image--desktop img {
  width: 100%;
  height: auto;
}

/* ===== SECTION HEADERS ===== */

.cp-section-title {
  color: #131B2E;
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.844px;
  margin-bottom: 8px;
}

.cp-section-subtitle {
  color: #586377;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  font-family: "Inter", sans-serif;
  margin-bottom: 70px;
}

/* ===== QUICK SUMMARY ===== */

.cp-qs {
  background: rgba(229, 33, 76, 0.05);
  padding: 80px 0;
}

/* ===== TABLE (shared) ===== */

.cp-table {
  border-radius: 12px;
}

.cp-table__header {
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin-bottom: 10px;
}

.cp-table__header,
.cp-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.cp-table__row {
  margin-top: 10px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* Label column */
.cp-table__label-col {
  color: #424656;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 142.857%;
  letter-spacing: 1.575px;
  text-transform: uppercase;
  border-radius: 9px 0 0 9px;
  background: rgba(255, 255, 255, 0.70);
  padding: 20px 22px;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
}

.cp-table__label-col.empty {
  background: transparent;
}

/* TYP column */
.cp-table__typ-col {
  background: #fff;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Competitor column */
.cp-table__comp-col {
  background: #EAEDFF;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Column header cells */
.cp-table__col-header {
  padding: 22px 28px !important;
}

.cp-table__feature-header {
  background: #f8f8f8;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #69788E !important;
  letter-spacing: 1px !important;
}

/* Brand name/tag in header */
.cp-col-name {
  display: block;
  color: #E5214C;
  font-family: "Inter", sans-serif;
  font-size: 22.5px;
  font-style: normal;
  font-weight: 900;
  line-height: 140%;
}

.cp-col-name--comp {
  color: #424656;
}

.cp-col-tag {
  display: block;
  color: rgba(229, 33, 76, 0.40);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 133.333%;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  margin-top: 4px;
}

.cp-col-tag--comp {
  color: rgba(88, 99, 119, 0.60);
}

/* Rating row */
.cp-rating__stars {
  display: block;
  font-size: 18px;
  color: #E5214C;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.cp-rating__stars--comp {
  color: #aaa;
}

.cp-rating__half {
  display: inline-block;
  position: relative;
  color: #ddd;
  letter-spacing: 0;
}

.cp-rating__half::before {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #E5214C;
}

.cp-rating__score {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #212F43;
}

.cp-rating__meta {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #69788E;
  margin-top: 2px;
}

/* Quick summary values */
.cp-val--highlight {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #E5214C;
}

.cp-val--text {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #212F43;
}

.cp-val--detail {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #69788E;
  margin-top: 3px;
}

/* ===== DEEP DIVE ===== */

.cp-deep {
  background: #fdeef2;
  padding: 80px 0;
}

.cp-table--deep .cp-table__typ-col {
  background: #fff;
}

.cp-table--deep .cp-table__comp-col {
  background: #f0f2ff;
}

.cp-table__typ-value {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #212F43;
}

.cp-table__comp-value {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #4E5C71;
}

/* ===== CTA SECTION ===== */

.cp-cta-section {
  background: #FFF;
  padding: 120px 0;
}

.cp-cta-box {
  position: relative;
  background: linear-gradient(135deg, #131B2E 0%, #545F73 100%);
  border-radius: 18px;
  padding: 90px 60px;
  text-align: center;
  overflow: hidden;
}

.cp-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(154.49% 52.84% at 50% 50%, #DBE1FF 0%, rgba(219, 225, 255, 0.00) 100%);
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.cp-cta-box > * {
  position: relative;
  z-index: 1;
}

.cp-cta-box__title {
  color: #FFF;
  font-size: 54px;
  font-style: normal;
  font-weight: 800;
  line-height: 100%;
  letter-spacing: -1.35px;
  font-family: "Inter", sans-serif;
  margin-bottom: 26px;
}

.cp-cta-box__text {
  color: rgba(180, 197, 255, 0.80);
  font-family: "Inter", sans-serif;
  font-size: 22.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 162.5%;
  max-width: 790px;
  margin: 0 auto 36px;
}

/* ===== TESTIMONIALS ===== */

.cp-reviews {
  background: rgba(218, 226, 253, 0.30);
  padding: 100px 0;
}

.cp-reviews__header {
  margin-bottom: 48px;
}

.cp-reviews__title {
  color: #131B2E;
  font-family: "Inter", sans-serif;
  font-size: 33.75px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.844px;
  max-width: 625px;
  margin-bottom: 18px;
}

.cp-reviews__subtitle {
  margin-bottom: 0;
  color: #586377;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  font-family: "Inter", sans-serif;
  max-width: 620px;
}

.cp-reviews__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cp-review-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.cp-review-card__stars {
  color: #F5A623;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.cp-review-card__text {
  color: #131B2E;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 162.5%;
  font-family: "Inter", sans-serif;
  flex: 1;
  margin-bottom: 20px;
}

.cp-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-review-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.cp-review-card__name {
  color: #131B2E;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 142.857%;
  display: block;
  font-family: "Inter", sans-serif;
}

.cp-review-card__gym {
  color: #586377;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 133.333%;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  display: block;
  font-family: "Inter", sans-serif;
  margin-top: 2px;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */

@media (max-width: 1024px) {
  .cp-section-title {
    font-size: 28px;
  }
  .cp-cta-box__title {
    font-size: 40px;
  }
  .cp-cta-box__text {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  /* Hero */
  .cp-hero__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .cp-hero__info {
    width: 100%;
  }
  .cp-hero__image--desktop {
    max-width: 100%;
    width: 100%;
  }
  .cp-hero__info h1 {
    font-size: 32px;
  }

  /* Sections */
  .cp-qs,
  .cp-deep {
    padding: 60px 0;
  }
  .cp-cta-section {
    padding: 60px 0;
  }
  .cp-cta-box {
    padding: 60px 30px;
  }
  .cp-cta-box__title {
    font-size: 32px;
    letter-spacing: 0;
  }
  .cp-cta-box__text {
    font-size: 16px;
  }

  /* Reviews */
  .cp-reviews {
    padding: 60px 0;
  }
  .cp-reviews__cards {
    grid-template-columns: 1fr;
  }
  .cp-reviews__title {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  /* Hero */
  .cp-hero {
    padding-top: 130px;
    padding-bottom: 50px;
  }
  .cp-hero__info h1 {
    font-size: 26px;
  }
  .cp-hero__subtitle {
    font-size: 16px;
  }
  .cp-section-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
  }

  /* Table header — два стовпці без label */
  .cp-table__header {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .cp-table__header .cp-table__label-col {
    display: none;
  }
  .cp-table__header .cp-table__typ-col {
    border-radius: 9px 0 0 9px;
  }
  .cp-table__header .cp-table__comp-col {
    border-radius: 0 9px 9px 0;
  }

  /* Table row — label на всю ширину, значення поруч */
  .cp-table__row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }
  .cp-table__row .cp-table__label-col {
    grid-column: 1 / -1;
    grid-row: 1;
    border-radius: 0;
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: 1px;
  }
  .cp-table__row .cp-table__typ-col {
    grid-column: 1;
    grid-row: 2;
    padding: 12px 14px;
    border-radius: 0 0 0 9px;
  }
  .cp-table__row .cp-table__comp-col {
    grid-column: 2;
    grid-row: 2;
    padding: 12px 14px;
    border-radius: 0 0 9px 0;
  }

  .cp-col-name {
    font-size: 16px;
  }
  .cp-col-tag {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .cp-hero__info h1 {
    font-size: 22px;
  }
  .cp-val--highlight,
  .cp-val--text {
    font-size: 12px;
  }
  .cp-val--detail,
  .cp-table__typ-value,
  .cp-table__comp-value {
    font-size: 12px;
  }
  .cp-table__row .cp-table__label-col {
    font-size: 10px;
    padding: 6px 10px;
  }
  .cp-table__row .cp-table__typ-col,
  .cp-table__row .cp-table__comp-col {
    padding: 10px 10px;
  }
  .cp-cta-box {
    padding: 50px 20px;
  }
  .cp-cta-box__title {
    font-size: 26px;
  }
  .cp-reviews__title {
    font-size: 22px;
  }
}
