/* Ebadi Home — v3.25.8
 * Rebuilt Home around the new Design System: compact promo slider, 3x3 service
 * grid, conditional user insight cards and a second slider. Scoped to Home only.
 */
body.ebadi-home-body{margin:0;background:var(--eb-surface);color:var(--eb-text);font-family:var(--eb-font);overflow-x:hidden}
.ebadi-home-v3,.ebadi-home-v3 *{box-sizing:border-box}
.ebadi-home-v3 .mobile-app{
  display:block;width:min(100%,560px);max-width:560px;margin-inline:auto;
  min-height:100dvh;padding-bottom:calc(92px + env(safe-area-inset-bottom));
  background:var(--eb-surface);color:var(--eb-text)
}
.ebadi-home-v3 .home-shell{
  display:flex;flex-direction:column;gap:var(--eb-space-5);
  width:100%;margin:0 auto;padding:var(--eb-space-4);
  color:var(--eb-text);background:var(--eb-surface)
}
.ebadi-home-v3 .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.ebadi-home-v3 .eb-home-slider{position:relative;display:flex;flex-direction:column;gap:10px}
.ebadi-home-v3 .eb-home-slider__track{position:relative;overflow:hidden;border-radius:26px;border:1px solid var(--eb-border);background:#f7f4ef}
.ebadi-home-v3 .eb-home-slide{display:none;position:relative}
.ebadi-home-v3 .eb-home-slide.is-active{display:block}
.ebadi-home-v3 .eb-home-slide__link{position:relative;display:block;overflow:hidden;color:inherit;text-decoration:none}
.ebadi-home-v3 .eb-home-slide__media,
.ebadi-home-v3 .eb-home-slide__media img{display:block;width:100%;height:100%}
.ebadi-home-v3 .eb-home-slide__media img{object-fit:cover}
.ebadi-home-v3 .eb-home-slide__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,18,23,.04) 0%,rgba(16,18,23,.12) 35%,rgba(16,18,23,.56) 100%)}
.ebadi-home-v3 .eb-home-slide__copy{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;
  gap:4px;padding:14px 18px;color:#fff;text-align:right
}
.ebadi-home-v3 .eb-home-slide__copy p{margin:0;color:rgba(255,255,255,.88);font:600 11px/1.5 var(--eb-font)}
.ebadi-home-v3 .eb-home-slide__copy h2{margin:0;max-width:70%;font:900 16px/1.6 var(--eb-font);text-shadow:0 1px 2px rgba(0,0,0,.15)}
.ebadi-home-v3 .eb-home-slide__cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:30px;margin-top:6px;padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.94);color:#1A1E24;font:800 11px/1 var(--eb-font);box-shadow:0 8px 20px rgba(0,0,0,.1)
}
/* The compact promotional banner has a real fixed height (images must not expand it). */
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slider__track{height:80px;min-height:0}
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide,
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide__link,
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide__media{height:100%}
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide__copy{padding:8px 14px;gap:0}
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide__copy h2{font-size:14px;line-height:1.4}
.ebadi-home-v3 .eb-home-slider--compact .eb-home-slide__cta{min-height:24px;margin-top:2px;padding:4px 10px}
.ebadi-home-v3 .eb-home-slider--wide .eb-home-slider__track{min-height:152px}
.ebadi-home-v3 .eb-home-slider__dots{display:flex;justify-content:center;align-items:center;gap:6px}
.ebadi-home-v3 .eb-home-slider__dots button{width:10px;height:10px;border:0;border-radius:999px;background:#ddd4c6;cursor:pointer;transition:all .2s ease}
.ebadi-home-v3 .eb-home-slider__dots button.is-active{width:24px;background:var(--eb-primary)}

.ebadi-home-v3 .home-services__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
/* The whole service cell is transparent; only the small icon container has a surface. */
.ebadi-home-v3 .home-service-tile{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;
  padding:0;border:0;background:transparent;color:var(--eb-text);text-decoration:none
}
.ebadi-home-v3 .home-service-tile__visual{
  display:grid;place-items:center;width:90px;height:90px;border-radius:22px;
  background:var(--eb-service-tile-surface);border:1px solid var(--eb-service-tile-border)
}
.ebadi-home-v3 .home-service-tile__visual img{display:block;width:85px;height:85px;object-fit:contain}
.ebadi-home-v3 .home-service-tile__visual svg{width:35px;height:35px;fill:none;stroke:#B8862E;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ebadi-home-v3 .home-service-tile__label{
  display:block;max-width:100%;min-height:36px;color:var(--eb-text);
  font:800 13px/1.55 var(--eb-font);text-align:center;overflow-wrap:anywhere
}
.ebadi-home-v3 .home-service-tile.is-more .home-service-tile__visual{background:linear-gradient(180deg,#f7f4ef 0%,#f5efe4 100%)}
.ebadi-home-v3 .home-service-tile:active{transform:translateY(1px);opacity:.86}
.ebadi-home-v3 .home-service-tile:focus-visible{outline:2px solid var(--eb-primary);outline-offset:2px}

@media (max-width:430px){
  .ebadi-home-v3 .home-shell{padding-inline:14px}
  .ebadi-home-v3 .home-services__grid{gap:12px}
}
@media (max-width:389px){
  .ebadi-home-v3 .home-service-tile__label{font-size:12px}
  .ebadi-home-v3 .eb-home-slide__copy h2{max-width:74%;font-size:15px}
}
@media (max-width:360px){
  .ebadi-home-v3 .home-shell{padding-inline:12px}
  .ebadi-home-v3 .home-services__grid{gap:10px}
}
@media (prefers-reduced-motion:reduce){
  .ebadi-home-v3 .eb-home-slider__dots button{transition:none}
}
