/* =========================================================
   DANA — промо пілотної програми
   Файл: /assets/css/dana-pilot-promo.css
   ========================================================= */

.dana-category-pilot,
.dana-product-pilot,
.dana-category-pilot *,
.dana-product-pilot * {
  box-sizing: border-box;
}

/* Банер у категорії */
.dana-category-pilot {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  margin-top: 34px;
  margin-bottom: 48px;
  padding: 32px 34px;
  border: 1px solid rgba(12, 118, 224, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(35, 151, 255, 0.16), transparent 31%),
    linear-gradient(135deg, #f3f9ff 0%, #ffffff 58%, #f7fbff 100%);
  box-shadow: 0 22px 60px rgba(8, 46, 84, 0.10);
}

.dana-category-pilot::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(13, 126, 235, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.dana-category-pilot__number {
  position: relative;
  z-index: 1;
  display: flex;
  width: 116px;
  height: 116px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 24px;
  background: linear-gradient(145deg, #0b86f4, #075ea8);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(7, 94, 168, 0.28);
}

.dana-category-pilot__number strong {
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.dana-category-pilot__number span {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dana-category-pilot__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.dana-category-pilot__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #075ea8;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dana-category-pilot h2 {
  max-width: 760px;
  margin: 0;
  color: #0c213a;
  font-size: clamp(25px, 2.7vw, 37px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.dana-category-pilot p {
  max-width: 800px;
  margin: 14px 0 0;
  color: #4b6077;
  font-size: 15px;
  line-height: 1.65;
}

.dana-category-pilot__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.dana-category-pilot__facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d4e6f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #34506d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.dana-category-pilot__facts span::before {
  content: "✓";
  color: #0879dd;
  font-weight: 900;
}

.dana-category-pilot__actions {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 230px;
  gap: 10px;
}

.dana-category-pilot__btn {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dana-category-pilot__btn:hover {
  transform: translateY(-2px);
}

.dana-category-pilot__btn--primary {
  background: linear-gradient(135deg, #0b86f4, #075ea8);
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(7, 94, 168, 0.25);
}

.dana-category-pilot__btn--primary:hover {
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(7, 94, 168, 0.33);
}

.dana-category-pilot__btn--secondary {
  border-color: #cbdbea;
  background: #ffffff;
  color: #17324e !important;
}

/* Компактний блок у картці DANA Classic / DANA D-600 */
.dana-product-pilot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(10, 126, 235, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(22, 145, 255, 0.13), transparent 38%),
    #f6fbff;
}

.dana-product-pilot__mark {
  display: flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 17px;
  background: #0879dd;
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(8, 121, 221, 0.24);
}

.dana-product-pilot__mark strong {
  font-size: 28px;
  line-height: 0.95;
}

.dana-product-pilot__mark span {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dana-product-pilot__body {
  min-width: 0;
}

.dana-product-pilot__body strong {
  display: block;
  color: #102b46;
  font-size: 18px;
  line-height: 1.25;
}

.dana-product-pilot__body p {
  margin: 6px 0 0;
  color: #50657b;
  font-size: 13px;
  line-height: 1.55;
}

.dana-product-pilot__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 11px;
  background: #0879dd;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .dana-category-pilot {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .dana-category-pilot__number {
    width: 96px;
    height: 96px;
  }

  .dana-category-pilot__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dana-category-pilot {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 17px;
    margin-top: 24px;
    margin-bottom: 34px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .dana-category-pilot__number {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .dana-category-pilot__number strong {
    font-size: 32px;
  }

  .dana-category-pilot__number span {
    margin-top: 4px;
    font-size: 9px;
  }

  .dana-category-pilot h2 {
    font-size: 23px;
  }

  .dana-category-pilot p {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .dana-category-pilot__facts {
    grid-column: 1 / -1;
  }

  .dana-category-pilot__facts span {
    width: 100%;
    border-radius: 10px;
  }

  .dana-category-pilot__actions {
    grid-template-columns: 1fr;
  }

  .dana-product-pilot {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .dana-product-pilot__mark {
    width: 58px;
    height: 58px;
  }

  .dana-product-pilot__link {
    grid-column: 1 / -1;
    width: 100%;
    white-space: normal;
  }
}
