/* BTP Core Values — base structural styles.
   Colors, fonts, spacing set here are DEFAULT fallbacks only.
   Elementor's Style tab controls override these per-instance. */

.btp-cv-wrapper * {
  box-sizing: border-box;
}

.btp-cv-wrapper {
  width: 100%;
  background: #fdf9f2;
  font-family: 'Poppins', sans-serif;
  padding: 60px;
}

.btp-cv-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btp-cv-header-line {
  width: 90px;
  height: 1px;
  background: #c99b3a;
  position: relative;
  flex-shrink: 0;
}

.btp-cv-header-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c99b3a;
  transform: translateY(-50%);
}

.btp-cv-header-line--left::after { right: -3px; }
.btp-cv-header-line--right::after { left: -3px; }

.btp-cv-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  color: #3d1a5b;
  white-space: nowrap;
  margin: 0;
}

.btp-cv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.btp-cv-card {
  background: #fdfaf3;
  border: 1px solid #eeddb8;
  border-radius: 14px;
  padding: 34px 18px;
  text-align: center;
  display: block;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.btp-cv-card.btp-cv-in-view {
  opacity: 1;
  transform: translateY(0);
}

.elementor-editor-active .btp-cv-card {
  opacity: 1;
  transform: translateY(0);
}

.btp-cv-card:hover {
  box-shadow: 0 16px 32px rgba(61, 26, 91, 0.14);
  border-color: #c99b3a;
  transform: translateY(-8px);
}

.btp-cv-card:nth-child(1) { transition-delay: 0s; }
.btp-cv-card:nth-child(2) { transition-delay: 0.08s; }
.btp-cv-card:nth-child(3) { transition-delay: 0.16s; }
.btp-cv-card:nth-child(4) { transition-delay: 0.24s; }
.btp-cv-card:nth-child(5) { transition-delay: 0.32s; }
.btp-cv-card:nth-child(6) { transition-delay: 0.4s; }
.btp-cv-card:nth-child(n+7) { transition-delay: 0.4s; }

.btp-cv-icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ece3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, background 0.35s ease;
}

.btp-cv-card:hover .btp-cv-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.btp-cv-icon-wrap i {
  font-size: 44px;
  color: #4a1f6b;
}

.btp-cv-icon-wrap svg {
  width: 44px;
  height: 44px;
  fill: #4a1f6b;
}

.btp-cv-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  color: #3d1a5b;
  margin: 0 0 10px;
}

.btp-cv-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 90px;
  margin: 0 auto 16px;
}

.btp-cv-divider .btp-cv-line {
  flex: 1;
  height: 1px;
  background: #c99b3a;
}

.btp-cv-divider svg {
  width: 11px;
  height: 11px;
  fill: #c99b3a;
  flex-shrink: 0;
}

.btp-cv-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #333;
  margin: 0;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .btp-cv-grid {
    row-gap: 26px;
  }
}

@media (max-width: 640px) {
  .btp-cv-wrapper {
    padding: 45px 24px;
  }
  .btp-cv-title {
    font-size: 24px;
    white-space: normal;
    text-align: center;
  }
  .btp-cv-header {
    flex-wrap: wrap;
  }
  .btp-cv-header-line {
    width: 40px;
  }
}
