/* =============================================
   NRR — Sticky Scroll Section
============================================= */

.nrr-scroll-section *,
.nrr-scroll-section *::before,
.nrr-scroll-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nrr-scroll-section {
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  padding: 0 24px;
}

/* --- Two-column layout --- */
.nrr-scroll__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* --- LEFT: sticky panel --- */
.nrr-scroll__left {
  position: sticky;
  top: 0;
  width: 45%;
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

/* Content panels — only active one is visible */
.nrr-scroll__content {
  position: absolute;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.nrr-scroll__content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.nrr-scroll__eyebrow {
  display: inline-block;
  background: rgba(255, 51, 23, 0.08);
  border: 1px solid rgba(255, 51, 23, 0.25);
  color: #ff3317;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.nrr-scroll__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: #0f1721;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.nrr-scroll__desc {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
}

/* Button — same as hero primary */
.nrr-scroll__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  background: #ff3317;
  color: #ffffff;
  border: 2px solid #ff3317;
  transition: all 0.2s ease;
}

.nrr-scroll__btn:hover {
  background: #e02a10;
  border-color: #e02a10;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 51, 23, 0.35);
}

/* Progress dots */
.nrr-scroll__dots {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.nrr-scroll__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nrr-scroll__dot.is-active {
  background: #ff3317;
  transform: scale(1.3);
}

/* --- RIGHT: scrolling images --- */
.nrr-scroll__right {
  flex: 1;
  padding: 80px 0;
}

.nrr-scroll__item {
  height: 100vh;
  display: flex;
  align-items: center;
}

.nrr-scroll__img {
  width: 100%;
  height: 75vh;
  border-radius: 16px;
  background: #f0f1f3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

/* Badge on image */
.nrr-scroll__img-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffffff;
  color: #0f1721;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* Hide mobile content on desktop */
.nrr-scroll__item-content {
  display: none;
}

/* Mobile nav dots — hidden on desktop */
.nrr-scroll__mobile-nav {
  display: none;
}

.nrr-scroll__mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nrr-scroll__mobile-dot.is-active {
  background: #ff3317;
  transform: scale(1.3);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nrr-scroll-section {
    padding: 56px 0 64px;
  }

  .nrr-scroll__inner {
    flex-direction: column;
    gap: 0;
  }

  /* Hide sticky left panel */
  .nrr-scroll__left {
    display: none;
  }

  /* Native scroll snap container */
  .nrr-scroll__right {
    width: 100%;
    padding: 0;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nrr-scroll__right::-webkit-scrollbar {
    display: none;
  }

  /* Track: horizontal flex row */
  .nrr-scroll__track {
    display: flex;
    flex-direction: row;
    width: 100%;
  }

  /* Each slide snaps to start */
  .nrr-scroll__item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px 32px;
    align-items: stretch;
  }

  /* Show embedded text content */
  .nrr-scroll__item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
  }

  .nrr-scroll__item-content .nrr-scroll__title {
    font-size: clamp(24px, 6vw, 34px);
    margin-bottom: 12px;
  }

  .nrr-scroll__item-content .nrr-scroll__desc {
    font-size: 14px;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .nrr-scroll__item-content .nrr-scroll__btn {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* Image — always anchored at top regardless of text length below */
  .nrr-scroll__img {
    order: -1;
    width: 100%;
    height: 72vw;
    min-height: 300px;
    max-height: 520px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  /* Navigation dots */
  .nrr-scroll__mobile-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    padding: 0 20px;
  }
}
