/* ══════════════════════════════
   Smart Retail — prefix: sr2-
   Root: #redia-sr
   ══════════════════════════════ */

#redia-sr { background: #ffffff; font-family: 'Mulish', sans-serif; }

/* ── label ── */
#redia-sr .sr2-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: rgba(18,28,39,.45); margin-bottom: 20px;
}
#redia-sr .sr2-label::before,
#redia-sr .sr2-label::after { content: ''; width: 32px; height: 1px; background: rgba(18,28,39,.3); flex-shrink: 0; }
#redia-sr .sr2-label--light { color: rgba(255,255,255,.45); }
#redia-sr .sr2-label--light::before,
#redia-sr .sr2-label--light::after { background: rgba(255,255,255,.2); }

/* ── button ── */
#redia-sr .sr2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 14px 38px; background: #121c27; color: #ffffff;
  text-decoration: none; border: 1px solid #121c27; border-radius: 0;
  transition: all .35s ease;
}
#redia-sr .sr2-btn:hover { background: transparent; color: #121c27; box-shadow: 0 8px 28px rgba(18,28,39,.12); }
#redia-sr .sr2-btn i { transition: transform .35s ease; }
#redia-sr .sr2-btn:hover i { transform: translateX(5px); }

/* ── 2. SPLIT ── */
#redia-sr .sr2-split { background: #ffffff; padding: 110px 0; }
@media (max-width: 991px) { #redia-sr .sr2-split { padding: 70px 0; } }
@media (max-width: 767px)  { #redia-sr .sr2-split { padding: 56px 0; } }
#redia-sr .sr2-split__text { padding-right: 20px; }
@media (max-width: 991px) { #redia-sr .sr2-split__text { padding-right: 0; } }
#redia-sr .sr2-split h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(28px,3.2vw,50px);
  font-weight: 700; color: #121c27; line-height: 1.15; margin: 0 0 24px;
}
#redia-sr .sr2-split p {
  font-family: 'Mulish', sans-serif; font-size: 16px; line-height: 1.85;
  color: #4b535d; margin: 0 0 40px;
}
#redia-sr .sr2-split__img-col { position: sticky; top: 100px; height: fit-content; align-self: flex-start; }
@media (max-width: 991px) { #redia-sr .sr2-split__img-col { position: static; margin-top: 44px; } }
#redia-sr .sr2-split__img-wrap {
  height: 540px; overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(18,28,39,.16);
}
#redia-sr .sr2-split__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s ease;
}
#redia-sr .sr2-split__img-wrap:hover img { transform: scale(1.04); }
@media (max-width: 991px) { #redia-sr .sr2-split__img-wrap { height: 380px; } }

/* ── 3. FEATURE CARDS ── */
#redia-sr .sr2-features { background: #f5f5f5; padding: 90px 0; }
@media (max-width: 767px) { #redia-sr .sr2-features { padding: 60px 0; } }
#redia-sr .sr2-features__header { text-align: center; margin-bottom: 60px; }
#redia-sr .sr2-features__header h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(24px,2.8vw,42px);
  font-weight: 700; color: #121c27; margin: 0; line-height: 1.2;
}

#redia-sr .sr2-card {
  position: relative; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(18,28,39,.07); border-radius: 0;
  border-top: 3px solid transparent;
  padding: 44px 36px 40px; height: 100%;
  transition: background .4s ease, box-shadow .4s ease, transform .4s ease, border-color .4s ease, border-top-color .3s ease;
}
#redia-sr .sr2-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: #121c27; transition: width .4s ease;
}
#redia-sr .sr2-card:hover::before { width: 100%; }
#redia-sr .sr2-card .bg-line {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90%; z-index: 0; opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease; pointer-events: none;
}
#redia-sr .sr2-card .bg-line img { width: 100%; height: 100%; }
#redia-sr .sr2-card:hover { background: #121c27; border-color: #121c27; box-shadow: 0 28px 70px rgba(18,28,39,.22); transform: translateY(-8px); }
#redia-sr .sr2-card:hover .bg-line { opacity: 1; visibility: visible; }
#redia-sr .sr2-card__body { position: relative; z-index: 1; }
#redia-sr .sr2-card__icon {
  width: 60px; height: 60px; border-radius: 50%; background: #121c27;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; flex-shrink: 0;
  transition: background .4s ease, box-shadow .4s ease, transform .35s ease;
}
#redia-sr .sr2-card:hover .sr2-card__icon { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.2); transform: scale(1.08); }
#redia-sr .sr2-card__icon i { color: #ffffff; font-size: 22px; line-height: 1; }
#redia-sr .sr2-card h4 { font-family: 'Urbanist', sans-serif; font-size: 19px; font-weight: 700; color: #121c27; margin: 0 0 14px; transition: color .4s ease; }
#redia-sr .sr2-card:hover h4 { color: #ffffff; }
#redia-sr .sr2-card p { font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.8; color: #4b535d; margin: 0; transition: color .4s ease; }
#redia-sr .sr2-card:hover p { color: rgba(255,255,255,.65); }

/* ── 4. APPLICATIONS — image accordion ── */
#redia-sr .sr2-apps { background: #f7f8fa; padding: 110px 0; }
@media (max-width: 991px) { #redia-sr .sr2-apps { padding: 70px 0; } }

/* header row */
#redia-sr .sr2-apps__hrow { margin-bottom: 64px; align-items: flex-end; }
#redia-sr .sr2-apps__hrow h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px);
  font-weight: 700; color: #121c27; line-height: 1.18; margin: 0;
}
#redia-sr .sr2-apps__lead {
  font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.75;
  color: #6b7480; margin: 0; padding-bottom: 4px;
}
@media (max-width: 991px) { #redia-sr .sr2-apps__lead { margin-top: 20px; padding-bottom: 0; } }

/* image frame — sticky */
#redia-sr .sr2-apps__imgs { position: sticky; top: 110px; height: fit-content; align-self: flex-start; }
@media (max-width: 991px) { #redia-sr .sr2-apps__imgs { position: static; margin-bottom: 44px; } }
#redia-sr .sr2-apps__frame {
  position: relative; height: 530px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(18,28,39,.18);
}
@media (max-width: 991px) { #redia-sr .sr2-apps__frame { height: 300px; } }
#redia-sr .sr2-apps__img {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
}
#redia-sr .sr2-apps__img.active { opacity: 1; z-index: 1; }
#redia-sr .sr2-apps__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* counter overlay */
#redia-sr .sr2-apps__counter {
  position: absolute; bottom: 20px; left: 20px; z-index: 4;
  display: flex; align-items: baseline; gap: 5px;
  background: rgba(18,28,39,.72); backdrop-filter: blur(10px);
  padding: 8px 18px;
}
#redia-sr .sr2-apps__counter-curr {
  font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700; color: #fff;
}
#redia-sr .sr2-apps__counter-sep,
#redia-sr .sr2-apps__counter-total {
  font-family: 'Urbanist', sans-serif; font-size: 13px; color: rgba(255,255,255,.4);
}

/* accordion list */
#redia-sr .sr2-acc-list { display: flex; flex-direction: column; gap: 6px; }

/* accordion item — card style */
#redia-sr .sr2-acc-item {
  padding: 26px 28px;
  cursor: pointer;
  background: #ffffff;
  border: none;
  position: relative; overflow: hidden;
  transition: background .4s ease, box-shadow .35s ease, transform .25s ease;
}
#redia-sr .sr2-acc-item:hover {
  box-shadow: 0 8px 28px rgba(18,28,39,.08);
  transform: translateX(5px);
}
#redia-sr .sr2-acc-item.active {
  background: #121c27;
  box-shadow: 0 16px 48px rgba(18,28,39,.2);
  transform: translateX(0);
}
/* sweep top border on active */
#redia-sr .sr2-acc-item::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 3px; width: 0; background: rgba(255,255,255,.4);
  transition: width .5s ease; z-index: 2;
}
#redia-sr .sr2-acc-item.active::before { width: 100%; }

/* decorative shape — appears on hover & active */
#redia-sr .sr2-acc-item::after {
  content: ''; position: absolute; right: -10px; bottom: -10px;
  width: 160px; height: 160px; pointer-events: none;
  background: url('../images/shapes/feature-item-shape.png') center/contain no-repeat;
  opacity: 0; transition: opacity .45s ease; z-index: 0;
}
#redia-sr .sr2-acc-item:hover::after { opacity: .07; }
#redia-sr .sr2-acc-item.active::after { opacity: .18; }

#redia-sr .sr2-acc-item__hd { display: flex; align-items: center; gap: 14px; position: relative; z-index: 4; }

/* number */
#redia-sr .sr2-acc-num {
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(18,28,39,.35); flex-shrink: 0; min-width: 20px;
  transition: color .35s ease;
}
#redia-sr .sr2-acc-item.active .sr2-acc-num { color: rgba(255,255,255,.6); }
#redia-sr .sr2-acc-item:hover .sr2-acc-num { color: rgba(18,28,39,.75); }
#redia-sr .sr2-acc-item.active:hover .sr2-acc-num { color: rgba(255,255,255,.85); }

/* icon */
#redia-sr .sr2-acc-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(18,28,39,.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #121c27;
  transition: background .4s ease, color .4s ease, transform .3s ease;
}
#redia-sr .sr2-acc-item.active .sr2-acc-item__icon { background: rgba(255,255,255,.12); color: #fff; }
#redia-sr .sr2-acc-item:hover .sr2-acc-item__icon {
  background: #121c27; color: #fff; transform: scale(1.08);
}
#redia-sr .sr2-acc-item.active:hover .sr2-acc-item__icon {
  background: rgba(255,255,255,.18); color: #fff; transform: scale(1.04);
}

/* title */
#redia-sr .sr2-acc-item h4 {
  font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600;
  color: rgba(18,28,39,.55); margin: 0; flex: 1;
  transition: color .35s ease;
}
#redia-sr .sr2-acc-item.active h4 { color: #ffffff; font-weight: 700; }
#redia-sr .sr2-acc-item:hover h4 { color: #121c27; font-weight: 700; }
#redia-sr .sr2-acc-item.active:hover h4 { color: #ffffff; font-weight: 700; }

/* arrow */
#redia-sr .sr2-acc-item__arrow {
  flex-shrink: 0; font-size: 13px;
  color: rgba(18,28,39,.25); transition: color .35s ease, transform .35s ease;
}
#redia-sr .sr2-acc-item.active .sr2-acc-item__arrow { color: rgba(255,255,255,.55); transform: rotate(45deg); }
#redia-sr .sr2-acc-item:hover .sr2-acc-item__arrow { color: #121c27; transform: rotate(45deg); }
#redia-sr .sr2-acc-item.active:hover .sr2-acc-item__arrow { color: rgba(255,255,255,.8); transform: rotate(45deg); }

/* body */
#redia-sr .sr2-acc-item__bd {
  max-height: 0; overflow: hidden; opacity: 0;
  position: relative; z-index: 4;
  transition: max-height .45s ease, opacity .4s ease, margin .45s ease;
}
#redia-sr .sr2-acc-item.active .sr2-acc-item__bd { max-height: 200px; opacity: 1; margin-top: 16px; }
#redia-sr .sr2-acc-item p {
  font-family: 'Mulish', sans-serif; font-size: 14px; line-height: 1.84;
  color: #4b535d; margin: 0; padding-left: 68px;
}
#redia-sr .sr2-acc-item.active p { color: rgba(255,255,255,.62); }

/* ── 5. TECHNOLOGIES ── */
#redia-sr .sr2-tech { background: #f5f5f5; padding: 110px 0; }
@media (max-width: 991px) { #redia-sr .sr2-tech { padding: 70px 0; } }
#redia-sr .sr2-tech__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: #121c27; padding: 56px 70px; margin-bottom: 80px;
  position: relative; overflow: hidden;
}
#redia-sr .sr2-tech__banner::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: rgba(255,255,255,.15);
}
@media (max-width: 991px) { #redia-sr .sr2-tech__banner { padding: 48px 40px; gap: 32px; } }
@media (max-width: 767px)  {
  #redia-sr .sr2-tech__banner { flex-direction: column; text-align: center; padding: 40px 28px; margin-bottom: 56px; }
  #redia-sr .sr2-tech__banner::before { width: 100%; height: 3px; }
}
#redia-sr .sr2-tech__banner-text { flex: 1; }
#redia-sr .sr2-tech__banner h2 { font-family: 'Urbanist', sans-serif; font-size: clamp(22px,2.6vw,38px); font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.22; }
#redia-sr .sr2-tech__banner p { font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.55); margin: 0; }
#redia-sr .sr2-tech__banner .sr2-btn { flex-shrink: 0; background: #fff; color: #121c27; border-color: #fff; }
#redia-sr .sr2-tech__banner .sr2-btn:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }

/* ── 6. CHALLENGES ── */
#redia-sr .sr2-challenges { background: #121c27; padding: 110px 0; }
@media (max-width: 991px) { #redia-sr .sr2-challenges { padding: 70px 0; } }
#redia-sr .sr2-challenges__header { margin-bottom: 60px; }
#redia-sr .sr2-challenges__header h2 { font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px); font-weight: 700; color: #fff; line-height: 1.18; margin: 0; }

#redia-sr .sr2-challenge {
  padding: 44px 36px; height: 100%;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid rgba(255,255,255,.1);
  transition: background .35s ease, border-color .35s ease, border-top-color .35s ease, transform .35s ease;
}
#redia-sr .sr2-challenge:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
  border-top-color: rgba(255,255,255,.5);
  transform: translateY(-5px);
}
#redia-sr .sr2-challenge__icon {
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: rgba(255,255,255,.65); margin-bottom: 26px;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}
#redia-sr .sr2-challenge:hover .sr2-challenge__icon {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35);
  color: #ffffff; transform: scale(1.08);
}
#redia-sr .sr2-challenge h4 { font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 14px; }
#redia-sr .sr2-challenge p { font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.82; color: rgba(255,255,255,.5); margin: 0; }

/* ── 7. USE CASES ── */
#redia-sr .sr2-cases { background: #f5f5f5; padding: 110px 0; }
@media (max-width: 991px) { #redia-sr .sr2-cases { padding: 70px 0; } }
#redia-sr .sr2-cases__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
@media (max-width: 767px) { #redia-sr .sr2-cases__header { flex-direction: column; align-items: flex-start; } }
#redia-sr .sr2-cases__header h2 { font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px); font-weight: 700; color: #121c27; line-height: 1.18; margin: 0; max-width: 600px; }
#redia-sr .sr2-case { overflow: hidden; background: #fff; height: 100%; transition: box-shadow .4s ease, transform .4s ease; }
#redia-sr .sr2-case:hover { box-shadow: 0 24px 60px rgba(18,28,39,.13); transform: translateY(-6px); }
#redia-sr .sr2-case__img { overflow: hidden; height: 240px; position: relative; }
#redia-sr .sr2-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
#redia-sr .sr2-case:hover .sr2-case__img img { transform: scale(1.07); }
#redia-sr .sr2-case__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,28,39,.6) 100%);
  opacity: 0; transition: opacity .4s ease;
}
#redia-sr .sr2-case:hover .sr2-case__img::after { opacity: 1; }
#redia-sr .sr2-case__badge {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  font-family: 'Urbanist', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  background: rgba(18,28,39,.55); backdrop-filter: blur(8px); padding: 6px 12px;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease;
}
#redia-sr .sr2-case:hover .sr2-case__badge { opacity: 1; transform: translateY(0); }
#redia-sr .sr2-case__body { padding: 32px 30px 36px; }
#redia-sr .sr2-case__org { font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(18,28,39,.38); margin-bottom: 10px; }
#redia-sr .sr2-case h4 { font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700; color: #121c27; margin: 0 0 14px; }
#redia-sr .sr2-case p { font-family: 'Mulish', sans-serif; font-size: 14px; line-height: 1.82; color: #4b535d; margin: 0; }

/* ── 8. STATS ── */
#redia-sr .sr2-stats { background: #121c27; padding: 80px 0; }
#redia-sr .sr2-stats__grid { display: grid; grid-template-columns: repeat(4,1fr); }
@media (max-width: 767px) { #redia-sr .sr2-stats__grid { grid-template-columns: repeat(2,1fr); } }
#redia-sr .sr2-stat { text-align: center; padding: 36px 24px; border-right: 1px solid rgba(255,255,255,.08); transition: background .35s ease, transform .35s ease; }
#redia-sr .sr2-stat:last-child { border-right: none; }
#redia-sr .sr2-stat:hover { background: rgba(255,255,255,.04); transform: scale(1.03); }
@media (max-width: 767px) {
  #redia-sr .sr2-stat:nth-child(2) { border-right: none; }
  #redia-sr .sr2-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,.08); }
  #redia-sr .sr2-stat { border-bottom: 1px solid rgba(255,255,255,.06); }
  #redia-sr .sr2-stat:hover { transform: none; }
}
#redia-sr .sr2-stat__value { font-family: 'Urbanist', sans-serif; font-size: clamp(28px,3.5vw,48px); font-weight: 800; color: #ffffff; line-height: 1; margin-bottom: 12px; letter-spacing: -.5px; }
#redia-sr .sr2-stat__label { font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,.4); }

/* ── 9. FINAL CTA ── */
#redia-sr .sr2-cta {
  background: #ffffff; padding: 110px 0;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(18,28,39,.07);
}
#redia-sr .sr2-cta::before { display: none; }
#redia-sr .sr2-cta::after { display: none; }
@media (max-width: 767px) { #redia-sr .sr2-cta { padding: 72px 0; } }
#redia-sr .sr2-cta__inner { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
#redia-sr .sr2-cta h2 { font-family: 'Urbanist', sans-serif; font-size: clamp(24px,3vw,48px); font-weight: 700; color: #121c27; line-height: 1.18; margin: 0 0 38px; }
#redia-sr .sr2-cta .sr2-btn { background: #121c27; border-color: #121c27; color: #fff; }
#redia-sr .sr2-cta .sr2-btn:hover { background: #1e2d3d; border-color: #1e2d3d; color: #fff; box-shadow: 0 12px 40px rgba(18,28,39,.2); }

/* ── MOBILE RESPONSIVE FIXES ── */
@media (max-width: 767px) {
  #redia-sr .sr2-features__header { margin-bottom: 40px; }
  #redia-sr .sr2-card        { padding: 32px 24px 28px; }
  #redia-sr .sr2-acc-item    { padding: 18px 20px; }
  #redia-sr .sr2-acc-item p  { padding-left: 44px; }
  #redia-sr .sr2-apps        { padding: 60px 0; }
  #redia-sr .sr2-apps__hrow  { margin-bottom: 40px; }
  #redia-sr .sr2-challenges  { padding: 60px 0; }
  #redia-sr .sr2-challenges__header { margin-bottom: 40px; }
  #redia-sr .sr2-challenge   { padding: 32px 24px; }
  #redia-sr .sr2-tech        { padding: 60px 0; }
}
@media (max-width: 575px) {
  #redia-sr .sr2-split__img-wrap           { height: 260px; }
  #redia-sr .sr2-apps__frame               { height: 240px; }
  #redia-sr .sr2-tech__banner              { padding: 28px 20px; gap: 20px; }
  #redia-sr .sr2-tech__banner .sr2-btn     { width: 100%; justify-content: center; }
  #redia-sr .sr2-cta                       { padding: 56px 0; }
  #redia-sr .sr2-cta h2                    { margin-bottom: 28px; }
}
