
/* v296 — case section redesigned like reference */
.home-case-section{padding-top:72px;padding-bottom:72px;background:#f7f4ef !important}
.home-case-showcase{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:32px;align-items:start;margin-top:18px;padding:28px;border:1px solid #e1d6c9;border-radius:30px;background:#fbf8f4;box-shadow:0 20px 46px rgba(38,25,15,.06)}
.home-case-showcase__compare{min-width:0}
.home-case-showcase__split{position:relative;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:26px;background:#ece4d8;min-height:590px}
.home-case-shot{position:relative;min-width:0}
.home-case-shot img{display:block;width:100%;height:100%;object-fit:cover;min-height:590px}
.home-case-shot figcaption{position:absolute;top:16px;left:16px;display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:10px 18px;border-radius:999px;background:rgba(21,19,17,.88);color:#fff;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.home-case-shot--after figcaption{left:auto;right:16px}
.home-case-showcase__handle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:72px;height:72px;border-radius:50%;background:#fff;border:1px solid #e2d4c1;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(72,47,25,.14)}
.home-case-showcase__handle span{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#bf9352;font-size:36px;line-height:1;font-weight:600;letter-spacing:-.08em}
.home-case-showcase__aside{display:flex;flex-direction:column;gap:12px}
.home-case-stat,.home-case-note{display:grid;grid-template-columns:50px minmax(0,1fr);gap:14px;align-items:start;padding:18px 20px;border:1px solid #e7dccd;border-radius:20px;background:#fff}
.home-case-note{padding:20px 22px}
.home-case-stat__icon,.home-case-note__icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:16px;border:1px solid #ecd8b8;color:#c99647;font-size:22px;font-weight:700;background:#fffaf2}
.home-case-stat strong,.home-case-note strong{display:block;margin:0;color:#151311;font-size:19px;line-height:1.2;font-weight:700}
.home-case-stat span,.home-case-note span{display:block;margin-top:6px;color:#4d433b;font-size:15px;line-height:1.45}
.home-case-note ul{margin:0;padding-left:18px;color:#4d433b}
.home-case-note li+li{margin-top:8px}
.home-case-showcase__actions{display:grid;gap:12px;margin-top:8px}
.home-case-showcase__actions .btn{width:100%;justify-content:center;border-radius:16px;padding:16px 24px;font-size:16px}
.home-case-showcase__actions .btn--line{background:#fff;border:1px solid #caa062;color:#151311}
@media (max-width:1199.98px){
  .home-case-showcase{grid-template-columns:1fr;gap:24px}
  .home-case-showcase__split,.home-case-shot img{min-height:520px}
}
@media (max-width:991.98px){
  .home-case-section{padding-top:56px;padding-bottom:56px}
  .home-case-showcase{padding:22px;border-radius:24px}
  .home-case-showcase__split,.home-case-shot img{min-height:420px}
}
@media (max-width:767.98px){
  .home-case-showcase{padding:16px;gap:18px;border-radius:20px}
  .home-case-showcase__split{grid-template-columns:1fr;min-height:unset;border-radius:18px}
  .home-case-shot img{min-height:260px;max-height:340px}
  .home-case-shot--before{border-bottom:1px solid #efe5da}
  .home-case-shot figcaption{top:12px;left:12px;min-width:64px;padding:8px 14px;font-size:12px}
  .home-case-shot--after figcaption{right:12px}
  .home-case-showcase__handle{width:58px;height:58px;top:50%;left:50%}
  .home-case-showcase__handle span{width:40px;height:40px;font-size:30px}
  .home-case-stat,.home-case-note{grid-template-columns:42px minmax(0,1fr);padding:15px 16px;border-radius:16px}
  .home-case-stat__icon,.home-case-note__icon{width:42px;height:42px;border-radius:12px;font-size:18px}
  .home-case-stat strong,.home-case-note strong{font-size:18px}
  .home-case-stat span,.home-case-note span,.home-case-note li{font-size:14px}
  .home-case-showcase__actions .btn{padding:14px 18px;font-size:15px}
}


.home-case-stat__icon svg,.home-case-note__miniicon svg{display:block;width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.home-case-note{display:grid;grid-template-columns:1fr;gap:14px}
.home-case-note__row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;align-items:start}
.home-case-note__row + .home-case-note__row{padding-top:8px;border-top:1px solid #efe3d4}
.home-case-note__miniicon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:#c99647;margin-top:1px}
.home-case-note ul{display:none!important}
@media (max-width:767.98px){
  .home-case-stat__icon svg,.home-case-note__miniicon svg{width:21px;height:21px}
  .home-case-note__row{grid-template-columns:21px minmax(0,1fr);gap:12px}
}


/* v300 — restore interactive before/after in the redesigned case */
.home-case-showcase__split{
  --position:50%;
  position:relative!important;
  display:block!important;
  min-height:590px!important;
  overflow:hidden!important;
  border-radius:26px!important;
  background:#ece4d8!important;
  isolation:isolate;
}
.home-case-showcase__after-img,
.home-case-showcase__before-img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  min-height:0!important;
  object-fit:cover;
  user-select:none;
  pointer-events:none;
}
.home-case-showcase__after-img{z-index:1}
.home-case-showcase__before-layer{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  overflow:hidden;
  clip-path:inset(0 calc(100% - var(--position)) 0 0);
  will-change:clip-path;
}
.home-case-showcase__before-img{
  width:100%!important;
  max-width:none!important;
}
.home-case-showcase__label{
  position:absolute;
  top:16px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(21,19,17,.88);
  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  pointer-events:none;
}
.home-case-showcase__label--before{left:16px}
.home-case-showcase__label--after{right:16px}
.home-case-showcase__divider{
  position:absolute;
  top:0;
  bottom:0;
  left:var(--position);
  z-index:6;
  width:2px;
  transform:translateX(-50%);
  background:rgba(255,255,255,.88);
  pointer-events:none;
}
.home-case-showcase__divider span{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  border-radius:50%;
  background:#fff;
  border:1px solid #e2d4c1;
  color:#c99647;
  box-shadow:0 12px 30px rgba(72,47,25,.14);
}
.home-case-showcase__divider svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.home-case-showcase__range{
  position:absolute;
  inset:0;
  z-index:10;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:ew-resize;
  appearance:none;
  -webkit-appearance:none;
  touch-action:none;
}
.home-case-showcase__range::-webkit-slider-thumb{width:1px;height:100%;appearance:none;-webkit-appearance:none}
.home-case-showcase__range::-moz-range-thumb{width:1px;height:100%;border:0;background:transparent}
@media(max-width:1199.98px){
  .home-case-showcase__split{min-height:520px!important}
}
@media(max-width:991.98px){
  .home-case-showcase__split{min-height:420px!important}
}
@media(max-width:767.98px){
  .home-case-showcase__split{min-height:330px!important;border-radius:18px!important}
  .home-case-showcase__label{top:12px;min-width:64px;padding:8px 14px;font-size:12px}
  .home-case-showcase__label--before{left:12px}
  .home-case-showcase__label--after{right:12px}
  .home-case-showcase__divider span{width:58px;height:58px}
  .home-case-showcase__divider svg{width:28px;height:28px}
}

/* v302 — exact user-supplied PNG icons in case stats */
.home-case-stat__icon{overflow:visible!important;}
.home-case-stat__icon .home-case-icon-img{display:block;width:30px;height:30px;object-fit:contain;}
.home-case-note__miniicon .home-case-note-icon-img{display:block;width:24px;height:24px;object-fit:contain;}
@media (max-width:767.98px){
  .home-case-stat__icon .home-case-icon-img{width:26px;height:26px;}
  .home-case-note__miniicon .home-case-note-icon-img{width:21px;height:21px;}
}


/* v303 — lower case icons match the upper metric icons */
.home-case-note__row{
  grid-template-columns:50px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:start !important;
}
.home-case-note__miniicon{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  margin-top:0 !important;
  padding:0 !important;
  border:1px solid #ecd8b8 !important;
  border-radius:16px !important;
  background:#fffaf2 !important;
  color:#c99647 !important;
  box-sizing:border-box !important;
  overflow:visible !important;
}
.home-case-note__miniicon .home-case-note-icon-img{
  display:block !important;
  width:30px !important;
  height:30px !important;
  max-width:none !important;
  object-fit:contain !important;
}
@media (max-width:767.98px){
  .home-case-note__row{
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:12px !important;
  }
  .home-case-note__miniicon{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    border-radius:12px !important;
  }
  .home-case-note__miniicon .home-case-note-icon-img{
    width:26px !important;
    height:26px !important;
  }
}

/* v304 — requested lower case icon size */
.home-case-note__miniicon .home-case-note-icon-img {
  display: block !important;
  width: 45px !important;
  height: 45px !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* v307 — case columns aligned on one level like reference */
.home-case-showcase{
  align-items:stretch !important;
}
.home-case-showcase__compare{
  min-width:0 !important;
  display:flex !important;
  align-self:stretch !important;
}
.home-case-showcase__split{
  flex:1 1 auto;
  height:100% !important;
}
.home-case-showcase__aside{
  height:100% !important;
  align-self:stretch !important;
}
.home-case-showcase__actions{
  margin-top:auto !important;
}
@media (max-width:1199.98px){
  .home-case-showcase{
    align-items:start !important;
  }
  .home-case-showcase__compare,
  .home-case-showcase__aside{
    height:auto !important;
  }
}
