/* RW Why Choose */
.rw-sec--why{ background:#ffffff; }

.rw-sec .rw-why{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  margin:0 auto;
}

/* ---------- reason ---------- */
.rw-sec .rw-why__item{
  --rw-why-icon-gap:24px;
  --rw-why-justify:flex-start;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:var(--rw-why-justify);
  min-width:0;
  text-align:left;
  border:0 solid transparent;
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.rw-sec .rw-why__body{ width:100%; min-width:0; }

/* style: cards */
.rw-sec :where(.rw-why--cards) .rw-why__item{
  padding:36px 32px;
  border-radius:16px;
  background:var(--rw-beige);
  border:1px solid rgba(182,175,161,.35);
}
.rw-sec :where(.rw-why--cards) .rw-why__item:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(22,41,31,.08);
}

/* style: plain with dividers */
/* dividers: every item draws one, pulled 1px outside its cell; the grid clips the outer edge, so only in-between lines show on any column count */
.rw-sec :where(.rw-why--plain){ gap:0; overflow:hidden; }
.rw-sec :where(.rw-why--plain) .rw-why__item{
  padding:8px 40px;
  margin-left:-1px;
  border-left:1px solid var(--rw-why-divider, var(--rw-line));
}

/* style: minimal */
.rw-sec :where(.rw-why--minimal) .rw-why__item{ padding:0; }

/* icon on the left */
.rw-sec :where(.rw-why--icon-left) .rw-why__item{
  flex-direction:row;
  align-items:flex-start;
  gap:var(--rw-why-icon-gap);
  text-align:left;
}

/* ---------- icon box ---------- */
.rw-sec .rw-why__icon{
  --rw-why-glyph:28px;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  margin-bottom:var(--rw-why-icon-gap);
  border-radius:16px;
  background:var(--rw-yellow);
  color:var(--rw-dark);
  overflow:hidden;
  transition:background-color .2s ease, color .2s ease;
}
.rw-sec :where(.rw-why--icon-left) .rw-why__icon{ margin-bottom:0; }
.rw-sec .rw-why__icon svg,
.rw-sec .rw-why__icon i{
  width:var(--rw-why-glyph);
  height:var(--rw-why-glyph);
  font-size:var(--rw-why-glyph);
  line-height:1;
  display:block;
}
.rw-sec .rw-why__icon svg{ fill:none; }
.rw-sec .rw-why__icon--library svg{ fill:currentColor; }
.rw-sec .rw-why__icon img{
  width:var(--rw-why-glyph);
  height:var(--rw-why-glyph);
  object-fit:contain;
  display:block;
}
.rw-sec .rw-why__num{
  font-family:var(--rw-head-font);
  font-size:26px;
  font-weight:400;
  line-height:1;
}

/* shapes (widget wrapper gets rw-why-shape-*) */
:where(.rw-why-shape-circle) .rw-sec .rw-why__icon{ border-radius:50%; }
:where(.rw-why-shape-square) .rw-sec .rw-why__icon{ border-radius:0; }
:where(.rw-why-shape-none) .rw-sec .rw-why__icon{
  width:auto;
  height:auto;
  border-radius:0;
  background:transparent !important;
  overflow:visible;
  --rw-why-glyph:40px;
}

/* ---------- text ---------- */
.rw-sec .rw-why__title{
  margin:0;
  padding:0;
  font-family:var(--rw-head-font);
  font-weight:300;
  font-size:28px;
  line-height:1.25;
  color:var(--rw-dark);
}
.rw-sec .rw-why__text{
  margin:12px 0 0;
  font-size:16px;
  line-height:24px;
  color:var(--rw-dark);
  opacity:.85;
}
.rw-sec .rw-why__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  font-size:15px;
  font-weight:600;
  color:var(--rw-green);
  text-decoration:none;
}
.rw-sec .rw-why__link:hover{ color:var(--rw-green-hover); }
.rw-sec .rw-why__link svg{ width:16px; height:16px; transition:transform .2s ease; }
.rw-sec .rw-why__link:hover svg{ transform:translateX(3px); }

/* ---------- bottom button ---------- */
.rw-sec .rw-why-cta{ margin-top:56px; text-align:center; }

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .rw-sec :where(.rw-why--plain) .rw-why__item{ padding:8px 24px; }
  .rw-sec .rw-why__title{ font-size:24px; }
}
@media (max-width:767px){
  .rw-sec .rw-why{ grid-template-columns:minmax(0, 1fr); }
  .rw-sec :where(.rw-why--cards) .rw-why__item{ padding:28px 24px; }
  /* dividers turn horizontal when stacked */
  .rw-sec :where(.rw-why--plain) .rw-why__item{
    padding:28px 0;
    margin-left:0;
    margin-top:-1px;
    border-left:0;
    border-top:1px solid var(--rw-why-divider, var(--rw-line));
  }
  .rw-sec :where(.rw-why--plain) .rw-why__item:first-child{ padding-top:0; }
  .rw-sec .rw-why-cta{ margin-top:40px; }
}
