/* ICV FAQ Section */
.icv-faq {
  --icv-faq-primary: #007dc5;
  --icv-faq-dark: #0b1f33;
  --icv-faq-muted: #5f6f82;
  --icv-faq-row: #f5f7f9;
  --icv-faq-border: #e6ebf0;

  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
}

.icv-faq__content .icv-faq__accordion {
  background: transparent;
}

.icv-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(28px, 4.5vw, 64px);
}

.icv-faq--list-only .icv-faq__grid {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

.icv-faq__content {
  min-width: 0;
}

.icv-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--icv-faq-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.icv-faq__eyebrow-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
}

.icv-faq__eyebrow-icon::before,
.icv-faq__eyebrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 14px;
  background: currentColor;
  border-radius: 1px;
  transform: skewX(-18deg);
}

.icv-faq__eyebrow-icon::before {
  left: 0;
}

.icv-faq__eyebrow-icon::after {
  left: 8px;
}

.icv-faq__title {
  margin: 0 0 28px;
  color: var(--icv-faq-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.icv-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icv-faq__item {
  background: #f4f6f8;
  border-radius: 4px;
  overflow: hidden;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.icv-faq.is-animation-ready .icv-faq__item {
  opacity: 0;
  transform: translateY(80px) scale(0.97);
}

.icv-faq.is-animation-ready .icv-faq__item.is-visible {
  animation: icv-faq-card-rise 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes icv-faq-card-rise {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.icv-faq__item.is-open {
  border-bottom-color: var(--icv-faq-primary);
}

.icv-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--icv-faq-dark);
}

.icv-faq__question-text {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.icv-faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ffffff;
  color: var(--icv-faq-primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.icv-faq__icon-minus {
  display: none;
}

.icv-faq__item.is-open .icv-faq__icon-plus {
  display: none;
}

.icv-faq__item.is-open .icv-faq__icon-minus {
  display: inline;
}

.icv-faq__answer {
  padding: 0 22px 18px;
}

.icv-faq__answer[hidden] {
  display: none;
}

.icv-faq__answer-inner {
  padding-top: 2px;
  color: var(--icv-faq-muted);
  font-size: 15px;
  line-height: 1.7;
}

.icv-faq__answer-inner p {
  margin: 0 0 10px;
}

.icv-faq__answer-inner p:last-child {
  margin-bottom: 0;
}

.icv-faq__more {
  margin-top: 28px;
}

.icv-faq__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 4px;
  background: var(--icv-faq-primary);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.icv-faq__more-btn:hover,
.icv-faq__more-btn:focus {
  background: #0069a8;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.icv-faq__media {
  min-width: 0;
  position: sticky;
  top: 100px;
}

.icv-faq__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e8eef4;
  box-shadow: 0 18px 48px rgba(11, 31, 51, 0.12);
  aspect-ratio: 1 / 1.05;
}

.icv-faq__figure::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 125, 197, 0.7);
  transform: translateX(101%);
  pointer-events: none;
}

.icv-faq__figure.is-in-view::after {
  animation: icv-faq-image-sweep 1s ease-in-out;
}

@keyframes icv-faq-image-sweep {
  0% {
    transform: translateX(101%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-101%);
  }
}

.icv-faq__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .icv-faq__grid {
    grid-template-columns: 1fr;
  }

  .icv-faq__media {
    position: static;
    order: -1;
  }

  .icv-faq__figure {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575px) {
  .icv-faq__question {
    padding: 16px;
  }

  .icv-faq__question-text {
    font-size: 15px;
  }

  .icv-faq__answer {
    padding: 0 16px 16px;
  }

  .icv-faq__icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .icv-faq__accordion {
    gap: 12px;
  }
}

