/* =========================
   INSIGHTS & STORIES SECTION
========================= */

.insights-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.12), transparent 28%),
    linear-gradient(180deg, #070707 0%, #0c0c0c 100%);
  color: #ffffff;
}

.insights-container {
  width: min(100% - 96px, 1440px);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.insights-bg-word {
  position: absolute;
  top: -32px;
  left: 52%;
  transform: translateX(-18%);
  font-size: clamp(130px, 18vw, 310px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -9px;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.insights-red-line {
  position: absolute;
  width: 160px;
  height: 1px;
  background: #e53935;
  opacity: 0.7;
  z-index: 2;
}

.line-top-left {
  top: 0;
  left: 70px;
  transform: rotate(110deg);
  transform-origin: left center;
}

.line-top-left::after {
  content: "";
  position: absolute;
  right: -7px;
  top: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e53935;
}

.line-bottom-right {
  right: 0;
  bottom: 42px;
  width: 270px;
  border-top-left-radius: 30px;
}

.insights-dot-pattern {
  position: absolute;
  width: 170px;
  height: 170px;
  opacity: 0.28;
  background-image: radial-gradient(#e53935 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  z-index: 1;
  pointer-events: none;
}

.dots-right {
  top: 218px;
  right: 76px;
}

.dots-left {
  bottom: 120px;
  left: 0;
}

.insights-header {
  max-width: 880px;
  margin-bottom: 40px;
}

.insights-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: #e53935;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.insights-header h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(46px, 4.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -2.4px;
  font-weight: 900;
}

.insights-header p {
  margin: 0;
  max-width: 850px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 18px;
  line-height: 1.55;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.insights-more-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.5s ease;
}

.insights-section.insights-expanded .insights-more-wrap {
  max-height: 2400px;
  margin-top: 26px;
}

.insight-card {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.insight-card:hover {
  transform: translateY(-7px);
  border-color: rgba(229, 57, 53, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.insight-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.insight-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.5));
  z-index: 1;
}

.insight-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.insight-content {
  position: relative;
  min-height: 330px;
  padding: 34px 32px 32px;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(9, 9, 9, 0.98));
}

.insight-category {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.insight-category.red { color: #e53935; }
.insight-category.green { color: #2e7d32; }
.insight-category.blue { color: #004aad; }
.insight-category.white { color: #ffffff; }

.insight-content h3 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.7px;
  font-weight: 900;
  max-width: 420px;
}

.insight-content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.55;
  max-width: 400px;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.insight-link span {
  color: #e53935;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.insight-link:hover span {
  transform: translateX(5px);
}

.insight-watermark {
  position: absolute;
  right: 30px;
  bottom: 26px;
  width: 112px;
  height: 112px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.insight-watermark svg {
  width: 100%;
  height: 100%;
}

.insights-footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.insights-carousel-dots {
  display: none;
}

.insights-main-btn {
  min-width: 320px;
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #e53935;
  color: #ffffff;
  border-radius: 7px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(229, 57, 53, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.insights-main-btn span {
  font-size: 26px;
  line-height: 1;
}

.insights-main-btn:hover {
  transform: translateY(-3px);
  background: #cf2f2c;
  box-shadow: 0 22px 54px rgba(229, 57, 53, 0.32);
}

.insight-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.insight-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .insights-container {
    width: min(100% - 48px, 900px);
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid-main .insight-card:last-child,
  .insights-grid-more .insight-card:last-child {
    grid-column: span 2;
  }

  .insight-content {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .insights-section {
    padding: 82px 0 74px;
  }

  .insights-container {
    width: min(100% - 34px, 520px);
  }

  .insights-bg-word {
    top: -18px;
    left: 20px;
    transform: none;
    font-size: 90px;
    letter-spacing: -3px;
  }

  .line-top-left,
  .line-bottom-right {
    display: none;
  }

  .dots-right {
    top: 80px;
    right: 10px;
    width: 110px;
    height: 110px;
  }

  .dots-left {
    bottom: 80px;
    width: 110px;
    height: 110px;
  }

  .insights-eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 18px;
  }

  .insights-header {
    margin-bottom: 32px;
  }

  .insights-header h2 {
    font-size: 39px;
    line-height: 1.07;
    letter-spacing: -1.3px;
  }

  .insights-header p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .insights-grid-main {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .insights-grid-main::-webkit-scrollbar {
    display: none;
  }

  .insights-section.insights-carousel-active .insights-grid-main .insight-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 1;
    transform: none;
  }

  .insights-section.insights-carousel-active .insights-grid-main .insight-card:last-child {
    grid-column: auto;
  }

  .insights-grid-more .insight-card:last-child {
    grid-column: auto;
  }

  .insights-grid-more {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
  }

  .insights-more-wrap {
    max-height: 0;
    overflow: hidden;
  }

  .insights-section.insights-expanded .insights-more-wrap {
    max-height: 4200px;
    margin-top: 20px;
  }

  .insight-image {
    height: 210px;
  }

  .insight-content {
    min-height: auto;
    padding: 28px 24px 30px;
  }

  .insight-category {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }

  .insight-content h3 {
    font-size: 24px;
  }

  .insight-content p {
    font-size: 14.5px;
  }

  .insight-watermark {
    width: 86px;
    height: 86px;
    right: 22px;
    bottom: 22px;
  }

  .insights-main-btn {
    width: 100%;
    min-width: 0;
  }

  .insights-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .insights-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  }

  .insights-dot.red { background: rgba(229, 57, 53, 0.35); }
  .insights-dot.green { background: rgba(46, 125, 50, 0.35); }
  .insights-dot.white { background: rgba(255, 255, 255, 0.45); }

  .insights-dot.is-active {
    transform: scale(1.22);
    opacity: 1;
  }

  .insights-dot.red.is-active { background: #e53935; }
  .insights-dot.green.is-active { background: #2e7d32; }
  .insights-dot.white.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
  }
}
