/*-------------------------------------------------
  Insight Area: The Insight
--------------------------------------------------*/

.clarity-insight-section {
  --ci-bg: #000000;
  --ci-card-bg: #121212;
  --ci-card-border: rgba(255, 255, 255, 0.08);
  --ci-card-border-hover: rgba(255, 255, 255, 0.16);
  --ci-gold: var(--color-gold, #d4af37);
  --ci-gold-soft: rgba(212, 175, 55, 0.12);
  --ci-heading: #f5f4ef;
  --ci-copy: rgba(223, 221, 215, 0.75);
  position: relative;
  background: var(--ci-bg);
  padding: clamp(94px, 10vw, 128px) 0;
}

.clarity-insight-section.ca-surface::before,
.clarity-insight-section.ca-surface::after {
  display: none;
}

.clarity-insight-section.ca-surface-divider {
  border-top: 0;
}

.clarity-insight-section .container {
  position: relative;
}

.clarity-insight-head {
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 52px);
}

.clarity-insight-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  color: rgba(245, 217, 122, 0.94);
  font-family: var(--tp-ff-unbounded);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clarity-insight-title {
  margin: 0;
  color: var(--ci-heading);
  font-family: var(--tp-ff-unbounded);
  font-size: clamp(36px, 4.9vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.clarity-insight-title-em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: 0;
}

.clarity-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.clarity-insight-card {
  min-height: 0;
  padding: 24px 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--ci-card-border);
  background: var(--ci-card-bg);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transition-delay: calc(var(--ci-stagger, 0) * 80ms);
}

.clarity-insight-section.is-inview .clarity-insight-card {
  opacity: 1;
  transform: translateY(0);
}

.clarity-insight-card:hover {
  transform: translateY(-4px);
  border-color: var(--ci-card-border-hover);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.clarity-insight-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: var(--ci-gold-soft);
  color: var(--ci-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clarity-insight-icon i {
  font-size: 20px;
  line-height: 1;
  animation: ciIconFloat 5.4s ease-in-out infinite;
  animation-delay: calc(var(--ci-stagger, 0) * 0.16s);
}

.clarity-insight-card-title {
  margin: 0 0 8px;
  color: var(--ci-heading);
  font-family: var(--tp-ff-unbounded);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.clarity-insight-card p {
  margin: 0 0 8px;
  color: var(--ci-copy);
  font-size: 15px;
  line-height: 1.65;
}

@keyframes ciIconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@media (max-width: 1199px) {
  .clarity-insight-title {
    font-size: clamp(34px, 4.6vw, 56px);
  }
}

@media (max-width: 991px) {
  .clarity-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .clarity-insight-section {
    padding-top: clamp(82px, 14vw, 106px);
    padding-bottom: clamp(88px, 15vw, 112px);
  }

  .clarity-insight-section .container {
    padding-left: clamp(24px, 8vw, 28px);
    padding-right: clamp(24px, 8vw, 28px);
  }

  .clarity-insight-head {
    margin-bottom: 34px;
  }

  .clarity-insight-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .clarity-insight-card {
    width: 100%;
    max-width: 330px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 20px 18px;
    border-width: 0.8px;
    border-color: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 575px) {
  .clarity-insight-label {
    min-height: 32px;
    margin-bottom: 14px;
    font-size: 10px;
  }

  .clarity-insight-title {
    font-size: clamp(30px, 9.2vw, 42px);
  }

  .clarity-insight-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .clarity-insight-icon i {
    font-size: 18px;
  }

  .clarity-insight-card-title {
    font-size: clamp(18px, 6vw, 21px);
  }

  .clarity-insight-card p {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clarity-insight-card {
    transition: none;
  }

  .clarity-insight-icon i {
    animation: none;
  }
}
