/* דיור גל - דף הבית (ווידג'טים של אלמנטור בקטגוריה "דיור גל").
   מבוסס 1:1 על הסקיצה המאושרת home/index.html (פיגמה 119:827). מסגרת תוכן 1175px.
   הכל תחת .dgh כדי לא לגעת בשאר האתר. */
.dgh{--purple:#805EF1;--purple-b:#7B5CFF;--violet:#5E35AB;--lime:#94D500;--coral:#FF9899;--cyan:#2ED8E6;--sky:#7DD8FA;
  --tint:#FAF7FC;--lav:#F1ECFB;--ink:#000;--ink2:#2A2A30;--card-title:#1C1430;--card-sub:#6B6480;--grey:#B9B9C2;
  --r-box:69px;--shadow:0 14px 28px 0 rgba(0,0,0,.15);
  /* הסגול של האתר = צבעי הקיט של אלמנטור ("סגול ראשי" / "סגול כהה") - שינוי שם משנה גם כאן */
  --site-purple:var(--e-global-color-primary,#805EF1);--site-purple-d:var(--e-global-color-secondary,#7348CE);
  position:relative;font-family:"Plinko FS",system-ui,Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;text-align:right}
.dgh *,.dgh *:before,.dgh *:after{box-sizing:border-box}
.dgh h1,.dgh h2,.dgh h3,.dgh p,.dgh figure,.dgh blockquote{margin:0;padding:0;border:0;font-family:inherit;letter-spacing:normal}
.dgh a{color:inherit;text-decoration:none}
.dgh img{display:block;max-width:100%;height:auto}
.dgh [hidden]{display:none!important}
.dgh-box{width:1175px;max-width:calc(100% - 32px);margin-inline:auto}
.dgh .dgh-dots{display:flex;justify-content:center;line-height:0}
.dgh .dgh-dots img{width:104px;height:28px;max-width:none}
.dgh .dgh-h2{font-weight:700;font-size:70px;line-height:70px;text-align:center;color:var(--ink)}
.dgh .dgh-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--lime);color:#000;font-size:20px;line-height:25px;font-weight:400;padding:13px 26px;border-radius:28px;white-space:pre;transition:transform .2s,box-shadow .2s}
.dgh .dgh-btn:hover,.dgh .dgh-btn:focus-visible{color:#000;transform:translateY(-2px);box-shadow:0 10px 22px -10px rgba(148,213,0,.9)}
.dgh .dgh-btn.w330{width:330px}
.dgh .deco{position:absolute;pointer-events:none;max-width:none}
.dgh .empty{text-align:center;font-size:18px;color:var(--card-sub);padding:24px}
.dgh button:focus-visible,.dgh a:focus-visible,.dgh summary:focus-visible{outline:3px solid var(--violet);outline-offset:3px}

/* ===== HERO ===== */
.dgh-hero{isolation:isolate;height:475px;border-radius:0 0 40px 40px;border-bottom:16px solid var(--cyan);overflow:hidden;color:#fff;text-align:center;padding-top:79px}
.dgh-hero .bg{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--violet)}
.dgh-hero .bg img,.dgh-hero .bg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.dgh-hero .bg iframe{position:absolute;top:50%;left:50%;width:max(100%,845px);height:max(100%,56.25vw);transform:translate(-50%,-50%);border:0;pointer-events:none}
.dgh-hero .bg .slide{opacity:0;transition:opacity 1.2s ease}
.dgh-hero .bg .slide.is-on{opacity:1}
.dgh-hero.has-overlay .bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(128,94,241,.6) 0%,rgba(59,0,255,.6) 100%)}
.dgh-hero .in{position:relative}
.dgh .dgh-h1{width:837px;max-width:92%;margin-inline:auto;font-weight:700;font-size:65px;line-height:65px;color:#fff;text-align:center}
.dgh .dgh-h1 .l1{display:block;font-weight:400;font-size:41px}
.dgh .dgh-h1 .hl{display:block;color:var(--coral)}
.dgh-hero .sub{width:837px;max-width:92%;margin:-6px auto 0;font-size:49px;line-height:65px;color:#fff;text-align:center}
/* 16.09: בלי שורה עליונה - התוכן ממורכז בגובה; תת-כותרת ארוכה יותר ("דיור גל, ...") בשורה אחת במחשב */
.dgh-hero{padding-top:100px}
.dgh-hero .sub{width:1120px;font-size:clamp(24px,2.4vw,34px);line-height:1.45;margin-top:8px;white-space:nowrap}  /* 16.09 גלית: קטן יותר */
.dgh-hero .m-br{display:none}
@media (max-width:767px){
  .dgh-hero .m-br{display:inline}
  .dgh .dgh-h1 .hl{display:inline}           /* "מכל אדם" ממשיך את "והמיטב" */
  .dgh-hero .sub{width:auto;white-space:normal}
}
/* אודות בדף הבית: תמונה במקום סרטון / בלי מדיה (16.09) */
.dgh-about.no-media{justify-content:center}
.dgh-about.no-media .txt{width:760px;max-width:100%;margin-inline:16px;text-align:center}
.dgh-about.no-media .dgh-dots{justify-content:center}
.dgh-hero .dgh-btn{margin-top:21px}
.dgh-hero .d-left{left:max(20px,calc(50% - 567px));top:37px;width:94px;height:103px;display:grid;place-items:center}
.dgh-hero .d-left img{width:56.8px;height:86.2px;transform:rotate(31.73deg);max-width:none}
.dgh-hero .d-right{right:max(20px,calc(50% - 552px));top:185px;width:75px;height:110px}

/* ===== ABOUT ===== */
.dgh-about{margin-top:110px;display:flex;justify-content:space-between;align-items:flex-start}
.dgh-about .txt{width:472px;margin-inline-start:29px}
.dgh-about .dgh-dots{justify-content:flex-start}
.dgh .dgh-h2a{font-weight:700;font-size:70px;line-height:70px;margin-top:11px;white-space:nowrap;color:var(--ink)}
.dgh-about .p{font-size:20px;line-height:25px;margin-top:29px}
.dgh-about .p p+p{margin-top:12px}
.dgh-about .dgh-btn{margin-top:19px}
/* 16.09: שני כפתורים באודות + כפתור "לכל ההמלצות" מתחת לכותרת */
.dgh-about .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:19px}
.dgh-about .btns .dgh-btn{margin-top:0}
.dgh-about .p .nowrap{white-space:nowrap}  /* "ב – 17 בתים" לא נשבר (המקף מאפשר ירידת שורה) */
.dgh .dgh-btn-2{background:transparent;color:var(--violet);box-shadow:inset 0 0 0 2px var(--violet)}
.dgh .dgh-btn-2:hover,.dgh .dgh-btn-2:focus-visible{background:var(--violet);color:#fff}
.dgh-about.no-media .btns{justify-content:center}
.dgh-testi .head-btn{text-align:center;margin:14px 0 6px}
@media (max-width:1000px){.dgh-about .btns{justify-content:center}}
.dgh-video{position:relative;width:608px;height:351px;margin-top:5px;margin-inline-end:20px;border-radius:40px;border-right:16px solid var(--lime);box-shadow:var(--shadow);flex:none;overflow:hidden;background:#CFCFD6}
.dgh .dgh-video .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.dgh-video iframe,.dgh-video video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.dgh .dgh-video .play{position:absolute;left:50%;top:50%;width:48px;height:49px;transform:translate(-50%,-50%);padding:0;margin:0;border:0;border-radius:50%;background:none;cursor:pointer;transition:transform .2s}
.dgh .dgh-video button.play:hover,.dgh .dgh-video button.play:focus{background:none;transform:translate(-50%,-50%) scale(1.1)}
.dgh-video span.play{cursor:default}
.dgh-video .play .ring{position:absolute;inset:0;border:.5px solid #fff;border-radius:150px;display:grid;place-items:center}
.dgh .dgh-video .play .ring img,.dgh .dgh-video .play .red img{display:none}
.dgh-video .play .red{position:absolute;inset:12.24% 12.5%;background:red url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M11.4 6.13 1.8.34A1 1 0 0 0 .3 1.2v11.6a1 1 0 0 0 1.5.86l9.6-5.79a1 1 0 0 0 0-1.74z' fill='%23fff'/%3E%3C/svg%3E") 54% center/34% no-repeat;border-radius:150px}

/* כפתור הסאונד - הסרטון נפתח מושתק (דפדפנים חוסמים הפעלה אוטומטית עם קול), הכפתור מדליק ונעלם */

/* ===== VALUES ===== */
.dgh-values{margin-top:106px;background:var(--tint);border-radius:var(--r-box);border-bottom:16px solid var(--purple-b);padding:60px 0 111px}
.dgh-values .dgh-h2{margin-top:40px}
.dgh-values .vcards{display:flex;justify-content:center;gap:21px;margin-top:52px}
.dgh-values .vc{width:250px;height:410px;background:#fff;border-radius:14.48px;border-bottom:9px solid;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11.58px;padding:1px 24.13px 24.13px;text-align:center;filter:drop-shadow(0 13.5px 13.5px rgba(0,0,0,.25))}
.dgh.dgh-values .vc .ico{width:92px;height:92px;max-width:none;object-fit:contain}
.dgh.dgh-values .vc.cyan .ico{width:95px;height:95px}
.dgh.dgh-values .vc h3{font-weight:700;font-size:25px;line-height:25px;width:202px;color:var(--ink);text-align:center}
.dgh.dgh-values .vc p{font-size:19.3px;line-height:24.13px;width:202px;text-align:center}
.dgh-values .vc.coral{border-color:var(--coral)}.dgh-values .vc.lime{border-color:var(--lime)}
.dgh-values .vc.purple{border-color:var(--purple);border-bottom-width:10px}.dgh-values .vc.cyan{border-color:var(--sky)}
.dgh-values .d-val{left:111px;top:45px;width:75px;height:110px}

/* ===== TESTIMONIAL ===== */
.dgh-testi{margin-top:59px}
.dgh-testi .d-heart{left:21px;top:63px;width:73px;height:115px}
.dgh-testi .card{position:relative;margin-top:24px;min-height:535px;background:var(--tint);border-radius:var(--r-box);border-bottom:16px solid var(--coral);display:flex;align-items:center;padding:40px 0;overflow:hidden}  /* hidden: ההחלקה של ההמלצות הנסתרות לא יוצרת גלילה אופקית במובייל */
.dgh-testi .photo{position:absolute;top:0;right:8px;width:644px;height:524px;border-radius:0 52px 52px 0;overflow:hidden}
.dgh.dgh-testi .photo img{width:100%;height:100%;object-fit:cover;max-width:none}
/* סליידר המלצות: כל הכרטיסים באותו תא בגריד - הגובה = הכרטיס הכי ארוך, בלי קפיצות */
.dgh-testi .quotes{position:relative;z-index:2;width:577px;margin-left:39px;margin-right:auto;display:grid}
.dgh-testi .quote{grid-area:1/1;background:#fff;border:1.8px solid #D7D7DD;border-radius:21.6px;padding:43.2px;display:flex;flex-direction:column;align-items:flex-start;gap:22px;
  transition:opacity .7s ease,translate .7s cubic-bezier(.16,1,.3,1),visibility 0s linear .7s}
.dgh-testi .quote:not(.is-on){opacity:0;translate:-36px 0;visibility:hidden}
.dgh-testi .quote.is-on{transition-delay:0s}
.dgh-testi .quote .mark{font-weight:700;font-size:128px;line-height:50px;color:var(--grey);height:50px;padding-top:44px;overflow:visible}
.dgh.dgh-testi .quote p{font-size:24px;line-height:34px;white-space:normal}
.dgh-testi .who{display:flex;align-items:center;gap:18px}
.dgh-testi .who .av{width:72px;height:72px;border-radius:36px;background:#CFCFD6;overflow:hidden;flex:none}
.dgh.dgh-testi .who .av img{width:100%;height:100%;object-fit:cover}
.dgh-testi .who .meta{display:flex;flex-direction:column;gap:2px}
.dgh-testi .who .nm{font-weight:700;font-size:23.4px;line-height:1.2;color:var(--ink2)}
.dgh-testi .who .rl{font-size:16px;line-height:1.3;color:var(--card-sub)}
.dgh.dgh-testi .letter{font-weight:700;font-size:16px;color:var(--violet);text-decoration:underline}
.dgh-testi .tnav{grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;direction:ltr}
.dgh.dgh-testi .tnav .tdot{width:11px;height:11px;padding:0;border:0;border-radius:50%;background:var(--grey);cursor:pointer;transition:background .2s,scale .2s}
.dgh.dgh-testi .tnav .tdot[aria-current="true"]{background:var(--site-purple);scale:1.25}
.dgh.dgh-testi .tnav .tdot:hover{background:var(--site-purple)}
.dgh.dgh-testi .tnav .tarr,.dgh.dgh-testi .tnav .tpause{width:38px;height:38px;padding:0;border:0;border-radius:19px;background:var(--site-purple);color:#fff;font:700 17px/38px Arial,sans-serif;cursor:pointer;transition:background .2s}
.dgh.dgh-testi .tnav .tpause{background:#fff;color:var(--site-purple);border:1.5px solid #D7D7DD;font-size:12px}
.dgh.dgh-testi .tnav .tarr:hover,.dgh.dgh-testi .tnav .tarr:focus{background:var(--site-purple-d);color:#fff}

/* ===== NEWS (סליידר) ===== */
.dgh-news{margin-top:132px;padding-top:35px;isolation:isolate}
.dgh-news:before{content:"";position:absolute;inset:0 0 auto 0;height:419px;border-radius:var(--r-box);background:linear-gradient(180deg,#E6F8FF 0%,#2ED8E6 100%);z-index:-1}
.dgh-news .dgh-h2{margin-top:5px}
.dgh .slider{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.dgh .slider::-webkit-scrollbar{display:none}
.dgh .slider .track{display:flex}
.dgh .slider .track>:first-child{margin-inline-start:auto}
.dgh .slider .track>:last-child{margin-inline-end:auto}
.dgh-news .slider{width:1117px;max-width:100%;margin:18px auto 0;padding:0 14px 30px;--m:14px;-webkit-mask-image:linear-gradient(to right,transparent 0 var(--m),#000 var(--m) calc(100% - var(--m)),transparent calc(100% - var(--m)) 100%);mask-image:linear-gradient(to right,transparent 0 var(--m),#000 var(--m) calc(100% - var(--m)),transparent calc(100% - var(--m)) 100%)}
.dgh-news .track{gap:24px}
.dgh-news .ncard{flex:0 0 347px;height:352px;scroll-snap-align:start;background:#fff;border-radius:12px;border-bottom:5px solid var(--purple-b);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.dgh-news .ncard .img{height:170px;background:#CFCFD6;overflow:hidden;flex:none}
.dgh.dgh-news .ncard .img img,.dgh-news .ncard .img video,.dgh-news .ncard .img iframe{width:100%;height:100%;object-fit:cover;border:0;display:block;max-width:none}
.dgh-news .ncard .dg-embed{height:100%}
.dgh-news .ncard .t{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;text-align:center}
.dgh.dgh-news .ncard h3{font-weight:500;font-size:19px;line-height:1.3;color:var(--ink2);text-align:center}
.dgh.dgh-news .ncard .dg-news-btn{color:var(--violet);font-weight:800;font-size:15px}
.dgh.dgh-news .ncard .dg-news-btn:after{content:" \2190"}
.dgh.dgh-news .ncard .dg-news-btn:hover{text-decoration:none}
/* כל הכרטיס לחיץ (16.09) */
.dgh-news .ncard{position:relative;cursor:pointer}
.dgh-news .ncard .dg-news-stretch:after{content:"";position:absolute;inset:0;z-index:1}
.dgh-news .ncard .dg-embed,.dgh-news .ncard video{position:relative;z-index:2}
.dgh-news .dgh-arrows{margin:0 0 24px}
.dgh-news .more{margin-top:-12px;text-align:center}

/* חצים משותפים (חדשות + בתים) */
.dgh .dgh-arrows{display:flex;justify-content:center;gap:10px;direction:ltr}  /* ltr: אחרת ‹ › מתהפכים ב-RTL */
.dgh .dgh-arrows button{width:44px;height:44px;padding:0;border-radius:22px;border:0;color:#fff;font:700 18px/44px Arial,sans-serif;background:var(--site-purple);cursor:pointer;transition:background .2s}
.dgh .dgh-arrows button:hover,.dgh .dgh-arrows button:focus{background:var(--site-purple-d);color:#fff}
.dgh .dgh-arrows button[disabled]{background:var(--grey);cursor:default}

/* ===== GALLERY ===== */
.dgh-gallery{margin-top:88px}
.dgh-gallery .dgh-h2{margin-top:5px}
.dgh-gallery .ggrid{display:flex;justify-content:space-between;align-items:flex-start;margin-top:48px}
.dgh-gallery .gcol{width:356px;display:flex;flex-direction:column}
.dgh-gallery .gi{display:block;border-radius:25px;overflow:hidden;background:var(--lav)}
.dgh.dgh-gallery .gi img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .5s}
.dgh-gallery a.gi{cursor:zoom-in}
.dgh-gallery .gi:hover img{transform:scale(1.05)}
.dgh-gallery .gcol.r .gi:nth-child(1){height:596px}.dgh-gallery .gcol.r .gi:nth-child(2){height:190px;margin-top:54px}
.dgh-gallery .gcol.m .gi{height:840px}
.dgh-gallery .gcol.l .gi:nth-child(1){height:421px}.dgh-gallery .gcol.l .gi:nth-child(2){height:371px;margin-top:48px}
/* פסיפס רחב: 3 לרוחב בכל צד, באותו גובה כולל כמו העמודה המרכזית (840px) */
.dgh-gallery .ggrid.wide .gcol.r .gi,.dgh-gallery .ggrid.wide .gcol.l .gi{height:248px!important;margin-top:0}
.dgh-gallery .ggrid.wide .gcol.r .gi + .gi,.dgh-gallery .ggrid.wide .gcol.l .gi + .gi{margin-top:48px}
.dgh-gallery .ggrid.wide .gcol.m .gi{height:840px}
/* גריד אחיד: מתאים לכל כמות תמונות */
.dgh-gallery .ggrid.even{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin-top:48px}
.dgh-gallery .ggrid.even .gi{flex:0 1 356px;min-width:0;height:auto;aspect-ratio:4/3}
/* בנטו: 3 עמודות, התמונה הראשונה בכל מחזור תופסת 2x2.
   כל המשבצות יוצאות ~4:3 (הגדולה 796x586, הרגילה 378x283) - בלי חיתוך שחותך ראשים. */
.dgh-gallery .ggrid.bento{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:283px;gap:20px;margin-top:48px}
.dgh-gallery .ggrid.bento .gi{height:100%;width:100%}
.dgh-gallery .ggrid.bento .gi:nth-child(6n+1){grid-column:span 2;grid-row:span 2}
.dgh-gallery .ggrid.rest{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.dgh-gallery .ggrid.rest .gi{height:360px;flex:0 1 356px;min-width:0}
/* אזור הסרטונים - מתחת לתמונות, ביחס 16:9 כדי שלא ייחתכו. שם ולא במשבצות הפורטרט של הגלריה. */
.dgh-gallery .dgh-vids{margin-top:48px}
.dgh.dgh-gallery .dgh-h3v{font-weight:700;font-size:34px;line-height:40px;text-align:center;color:var(--ink);margin-bottom:28px}
.dgh-gallery .dgh-vidrow{display:flex;gap:24px;align-items:stretch}
/* כל סרטון = מסגרת + כיתוב מתחתיו */
.dgh-gallery .dgh-vidrow .vitem{flex:1 1 0;min-width:0;margin:0;display:flex;flex-direction:column}
.dgh-gallery .dgh-vidrow .gi.is-video{position:relative;flex:none;width:100%;height:auto;aspect-ratio:16/9;border-radius:25px;overflow:hidden;background:#000;cursor:pointer;border:2px solid var(--lime);box-shadow:var(--shadow)}
.dgh.dgh-gallery .vcap{margin-top:14px;text-align:center;font-family:inherit;font-style:normal;font-weight:700;font-size:22px;line-height:1.3;color:var(--card-title)}
.dgh-gallery .gi.is-video iframe,.dgh-gallery .gi.is-video video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.dgh.dgh-gallery .gi.is-video img.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .5s}
.dgh-gallery .gi.is-video:hover img.cover{transform:scale(1.05)}
/* חשוב: .dgh.dgh-gallery .gi img מותח כל תמונה ל-100% - כאן מאפסים את זה לאייקון ההפעלה */
.dgh.dgh-gallery .gi.is-video .play{filter:drop-shadow(0 2px 10px rgba(0,0,0,.45));position:absolute;z-index:2;left:50%;top:50%;width:64px;height:64px;transform:translate(-50%,-50%);padding:0;margin:0;border:0;border-radius:50%;background:none;cursor:pointer;transition:transform .2s}
.dgh.dgh-gallery .gi.is-video .play:hover,.dgh.dgh-gallery .gi.is-video .play:focus-visible{background:none;transform:translate(-50%,-50%) scale(1.1)}
.dgh-gallery .gi.is-video .play .ring{position:absolute;inset:0;border:1px solid rgba(255,255,255,.9);border-radius:50%;display:grid;place-items:center}
.dgh.dgh-gallery .gi.is-video .play .ring img,.dgh.dgh-gallery .gi.is-video .play .red img{display:none!important}
.dgh-gallery .gi.is-video .play .red{position:absolute;inset:12.5%;background:red url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M11.4 6.13 1.8.34A1 1 0 0 0 .3 1.2v11.6a1 1 0 0 0 1.5.86l9.6-5.79a1 1 0 0 0 0-1.74z' fill='%23fff'/%3E%3C/svg%3E") 54% center/34% no-repeat;border-radius:50%}

@media (max-width:900px){
  .dgh-gallery .dgh-vidrow{flex-direction:column}
  .dgh-gallery .dgh-vidrow .gi.is-video{border-radius:18px}
  .dgh.dgh-gallery .vcap{font-size:18px;margin-top:10px}
  .dgh-gallery .dgh-vids{margin-top:24px}
  .dgh.dgh-gallery .dgh-h3v{font-size:28px;line-height:34px}
}
@media (max-width:600px){
  .dgh.dgh-gallery .gi.is-video .play{width:48px;height:48px}
}
.dgh-gallery .d-heart-l{left:-45px;top:92px;width:128px;height:132px;z-index:3}
.dgh-gallery .d-heart-r{right:-29px;top:676px;width:75px;height:110px;z-index:3}

/* ===== HOUSES (סליידר) ===== */
.dgh-houses{margin-top:77px;background:var(--tint);border-radius:var(--r-box);border-bottom:16px solid var(--cyan);padding:44px 0 35px;text-align:center}
.dgh-houses .dgh-h2{margin-top:50px}
.dgh-houses .lead{width:1064px;max-width:92%;margin:9px auto 0;font-size:20px;line-height:25px;text-align:center}
.dgh-houses .lead p{margin:0}
.dgh-houses .slider{width:1107px;max-width:100%;margin:91px auto 0;padding-bottom:4px}
.dgh-houses .track{gap:27px}
.dgh-houses .hcard{position:relative;flex:0 0 351px;min-height:453.7px;scroll-snap-align:start;background:#fff;border:.96px solid #EAE5F5;border-radius:21.12px;overflow:hidden;box-shadow:0 9.6px 28.8px -19.2px rgba(60,30,120,.4);text-align:right;display:flex;flex-direction:column;transition:transform .25s}
.dgh-houses .hcard:hover{transform:translateY(-3px)}
.dgh-houses .hcard .bar{display:block;height:5.76px;flex:none}
.dgh-houses .hcard .ph{position:relative;display:block;aspect-ratio:4/3;background:var(--lav);overflow:hidden;flex:none}
.dgh.dgh-houses .hcard .ph img{width:100%;height:100%;object-fit:cover;max-width:none}
.dgh-houses .hcard .noimg{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:700;font-size:28px}
.dgh-houses .pill{position:absolute;top:13.44px;right:13.43px;display:flex;align-items:center;gap:4.8px;padding:4.8px 12.48px 5.85px 10.56px;border-radius:28.8px;background:rgba(255,255,255,.95);box-shadow:0 5.76px 15.36px -7.68px rgba(0,0,0,.35);color:var(--violet);font-weight:700;font-size:12.48px;line-height:21.2px;white-space:nowrap}
.dgh.dgh-houses .pill img{width:13.44px;height:13.44px}
.dgh-houses .hcard .body{padding:21.12px 21.12px 23px;display:flex;flex-direction:column;gap:9.6px}
.dgh-houses .hcard .h3{font-weight:700;font-size:22.08px;line-height:37.5px;letter-spacing:-.19px;color:var(--card-title)}
.dgh-houses .hcard .desc{font-size:16.5px;line-height:26px;color:var(--card-sub)}
.dgh-houses .hcard .go{display:flex;align-items:center;gap:7.68px;padding-top:5.76px;color:var(--violet);font-weight:800;font-size:14.4px;line-height:24.5px}
.dgh-houses .hcard .go i{width:28.8px;height:28.8px;border-radius:14.4px;background:var(--lav);display:grid;place-items:center;font-style:normal;font-weight:900}
/* קישור הכותרת מכסה את כל הכרטיס; טלפון/מייל מעליו (15.09) */
.dgh-houses .hcard .body{flex:1}
.dgh-houses .hcard .h3:after{content:"";position:absolute;inset:0;z-index:1}
.dgh-houses .hcard .h3:focus-visible{outline:none}
.dgh-houses .hcard:has(.h3:focus-visible){outline:3px solid var(--violet);outline-offset:2px}
.dgh-houses .hcard .go{margin-top:auto}
.dgh-houses .dg-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.dgh-houses .dg-contact li{display:flex;align-items:flex-start;gap:8px;font-size:15px;line-height:22px;color:var(--card-sub)}
.dgh-houses .dg-contact svg{flex:0 0 16px;width:16px;height:16px;margin-top:3px;color:var(--violet)}
.dgh-houses .dg-contact a{position:relative;z-index:2;word-break:break-word}
.dgh-houses .dg-contact a:hover{color:var(--violet);text-decoration:underline}
.dgh-houses .dgh-arrows{margin-top:18px}
.dgh-houses .dgh-btn{margin-top:74px}

/* ===== FAQ ===== */
.dgh-faq{margin-top:141px;background:var(--tint);border-radius:var(--r-box);border-bottom:16px solid var(--purple-b);padding:35px 0 134px}
.dgh-faq.no-title{margin-top:40px;padding:56px 0 64px}
.dgh.dgh-faq .faqdots{gap:11.5px;direction:ltr}  /* סגול משמאל, תכלת מימין - כמו בפיגמה */
.dgh.dgh-faq .faqdots img{height:28px;width:27px}
.dgh.dgh-faq .faqdots img.p{width:28px}
.dgh-faq .dgh-h2{margin-top:18px}
.dgh-faq .qlist{width:1030px;max-width:92%;margin:35px auto 0;display:flex;flex-direction:column;gap:12px}
.dgh-faq.no-title .qlist{margin-top:0}
.dgh-faq .qa{background:#fff;border-radius:10px;box-shadow:var(--shadow);overflow:hidden}
.dgh-faq .qa summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px}
.dgh-faq .qa summary::-webkit-details-marker{display:none}
.dgh.dgh-faq .qa .q{font-size:20px;line-height:25px;font-weight:400;color:var(--ink2);text-align:right}
.dgh-faq .qa summary b{font:700 22px Arial,sans-serif;color:var(--grey);transition:transform .2s;flex:none}
.dgh-faq .qa[open] summary b{transform:rotate(45deg)}
.dgh-faq .qa .a{padding:0 24px 18px;font-size:20px;line-height:30px;color:var(--card-sub)}
.dgh-faq .qa .a p+p{margin-top:10px}
.dgh-faq .qa .a a{color:var(--violet);text-decoration:underline}
.dgh-faq .more{margin-top:36px;text-align:center}

/* ===== תמונה עגולה מעל כרטיס הטופס (תבנית 204) ===== */
.dgh.dgh-avatar-wrap{width:1040px;max-width:100%;height:241px;margin:0 auto -60px;pointer-events:none}  /* -60 = חפיפה 40 + ה-20 של הקיט */
.dgh-avatar-wrap .avatar{position:absolute;left:50%;top:0;width:232px;height:241px;transform:translateX(-50%)}
.dgh.dgh-avatar-wrap .avatar .ring{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.dgh-avatar-wrap .face{position:absolute;top:17.81%;right:15.63%;bottom:8.04%;left:10.21%;overflow:hidden}
.dgh.dgh-avatar-wrap .face img{width:100%;height:100%;object-fit:cover;max-width:none}
.dgh-avatar-wrap .d-heart{left:0;top:85px;width:128px;height:132px}
.dgh-avatar-wrap .d-right{right:13px;top:120px;width:94px;height:103px;display:grid;place-items:center}
.dgh.dgh-avatar-wrap .d-right img{width:56.8px;height:86.2px;transform:rotate(31.73deg);max-width:none}

/* ===== רספונסיבי (הפיגמה היא דסקטופ בלבד - כמו בסקיצה) ===== */
@media (max-width:1240px){
  .dgh-houses .hcard{flex-basis:calc((100vw - 32px - 54px)/3);min-width:290px}
  .dgh-houses .slider{width:100%;padding-inline:16px}
  .dgh-gallery .ggrid{gap:24px}.dgh-gallery .gcol{width:auto;flex:1}
  .dgh-testi .photo{width:52%}.dgh-testi .quotes{width:52%}
  .dgh.dgh-testi .quote p{font-size:22px;line-height:31px}
}
@media (max-width:1000px){
  .dgh .dgh-h2,.dgh .dgh-h2a{font-size:44px;line-height:48px;white-space:normal}
  .dgh-hero{height:auto;padding:60px 20px 50px}
  .dgh .dgh-h1{font-size:42px;line-height:48px}.dgh .dgh-h1 .l1{font-size:26px;line-height:36px}
  .dgh-hero .sub{font-size:28px;line-height:38px;margin-top:10px}
  .dgh-about{flex-direction:column;align-items:center;gap:36px;margin-top:70px}
  .dgh-about .txt{width:auto;margin:0 16px;text-align:center}.dgh-about .dgh-dots{justify-content:center}
  .dgh-about .p br,.dgh-houses .lead br{display:none}  /* ירידות השורה של הדסקטופ שוברות משפטים במובייל */
  .dgh-video{width:100%;max-width:608px;height:auto;aspect-ratio:608/351;margin:0}
  .dgh-values{padding:44px 0 60px}.dgh-values .d-val{display:none}
  .dgh-values .vcards{flex-wrap:wrap}
  .dgh-testi .card{min-height:0;flex-direction:column;align-items:stretch;padding:0 0 30px}
  .dgh-testi .photo{position:relative;right:0;width:100%;height:320px;border-radius:69px 69px 0 0}
  .dgh-testi .quotes{width:auto;margin:-40px 16px 0}  /* הכרטיס עולה קצת על התמונה */
  .dgh-gallery .ggrid{flex-wrap:wrap}.dgh-gallery .gcol{flex:1 1 45%}
  .dgh-gallery .gcol.m .gi{height:520px}
  .dgh-gallery .deco{display:none}
}
@media (max-width:600px){
  .dgh .dgh-h2,.dgh .dgh-h2a{font-size:34px;line-height:40px}
  .dgh-hero{border-radius:0 0 26px 26px}
  .dgh-values,.dgh-testi .card,.dgh-houses,.dgh-faq,.dgh-news:before{border-radius:36px}
  .dgh .dgh-h1{font-size:32px;line-height:38px}.dgh .dgh-h1 .l1{font-size:20px;line-height:28px}.dgh-hero .sub{font-size:22px;line-height:30px}
  .dgh .dgh-btn{font-size:17px;white-space:normal;text-align:center}.dgh .dgh-btn.w330{width:auto}
  .dgh-hero .deco{display:none}  /* במובייל הדודלים עולים על הכותרת */
  .dgh-values .vc{width:100%;max-width:320px;height:auto;padding:28px 20px}
  .dgh.dgh-testi .quote p{font-size:19px;line-height:28px}.dgh-testi .quote .mark{font-size:90px}
  .dgh-testi .quote{padding:28px 22px}
  .dgh-news .ncard{flex-basis:84vw}
  .dgh-gallery .gcol{flex-basis:100%}.dgh-gallery .gcol .gi{height:260px!important;margin-top:16px!important}
  .dgh-houses .hcard{flex-basis:84vw;min-width:0}
  .dgh-faq{padding-bottom:60px}
  .dgh-avatar-wrap .avatar{transform:translateX(-50%) scale(.7);transform-origin:bottom center}
  .dgh.dgh-avatar-wrap{height:190px}.dgh-avatar-wrap .avatar{top:-51px}
  .dgh-avatar-wrap .deco{display:none}
  .dgh-faq .qa summary{padding:16px 18px}
  .dgh.dgh-faq .qa .q{font-size:17px}
}
/* ===== אנימציות תזוזה (גלית) =====
   הירו: המלל עולה בהדרגה בטעינה + זום איטי ברקע. דודלים: ריחוף עדין בלולאה.
   כל השאר: נכנס כשגוללים אליו (home.js מסמן data-dgh-anim רק למה שמתחת לקו הגלילה - בלי הבהוב למעלה).
   translate/scale נפרדים מ-transform - לא מתנגשים עם אפקטי ריחוף ומיקום קיימים. */
@keyframes dghUp{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@keyframes dghKen{from{scale:1.12}to{scale:1}}
@keyframes dghFloat{0%{translate:0 0;rotate:0deg}100%{translate:0 -12px;rotate:5deg}}
.dgh-hero .dgh-h1{animation:dghUp 1s cubic-bezier(.16,1,.3,1) .1s both}
.dgh-hero .sub{animation:dghUp 1s cubic-bezier(.16,1,.3,1) .35s both}
.dgh-hero .dgh-btn{animation:dghUp 1s cubic-bezier(.16,1,.3,1) .55s both}
.dgh-hero .bg>img:not(.slide),.dgh-hero .bg .poster{animation:dghKen 16s ease-out both}
.dgh .deco{animation:dghFloat 5.5s ease-in-out infinite alternate}
.dgh .deco.d-right,.dgh .deco.d-heart-r,.dgh .deco.d-val{animation-duration:6.8s;animation-delay:-2.4s}
.dgh [data-dgh-anim]{transition:opacity .9s cubic-bezier(.16,1,.3,1) var(--dgh-d,0ms),translate .9s cubic-bezier(.16,1,.3,1) var(--dgh-d,0ms),scale .9s cubic-bezier(.16,1,.3,1) var(--dgh-d,0ms),transform .3s ease,box-shadow .3s ease}
.dgh [data-dgh-anim]:not(.is-in){opacity:0}
.dgh [data-dgh-anim="up"]:not(.is-in){translate:0 34px}
.dgh [data-dgh-anim="right"]:not(.is-in){translate:52px 0}
.dgh [data-dgh-anim="left"]:not(.is-in){translate:-52px 0}
.dgh [data-dgh-anim="zoom"]:not(.is-in){scale:.9}
.dgh [data-dgh-anim="pop"]:not(.is-in){scale:.6}
.elementor-widget[class*="elementor-widget-dg-home-"]{overflow-x:clip}  /* תזוזות צידיות לפני הכניסה לא יוצרות גלילה אופקית */
@media (max-width:1000px){.dgh [data-dgh-anim="right"]:not(.is-in),.dgh [data-dgh-anim="left"]:not(.is-in){translate:0 34px}}  /* במסך צר - רק מלמטה */
.dgh-values .vc:hover{transform:translateY(-6px)}
@media (hover:hover){.dgh-news .ncard{transition:transform .3s ease}.dgh-news .ncard:hover{transform:translateY(-4px)}}

@media (prefers-reduced-motion:reduce){
  .dgh .slider{scroll-behavior:auto}
  .dgh-hero .bg .slide{transition:none}
  .dgh .deco,.dgh-hero .dgh-h1,.dgh-hero .sub,.dgh-hero .dgh-btn,.dgh-hero .bg>img,.dgh-hero .bg .poster{animation:none}
  .dgh [data-dgh-anim]{opacity:1!important;translate:none!important;scale:none!important;transition:none!important}
  .dgh-testi .quote{transition:none}
}

/* 16.09 גלית: גלריה בנייד - 2 תמונות בשורה כפסיפס (בכל קבוצה של 5: שתיים גבוהות, אחת רחבה) */
@media (max-width:600px){
  .dgh-gallery .ggrid:not(.even){display:grid!important;grid-template-columns:1fr 1fr;grid-auto-rows:128px;gap:10px;margin-top:28px;align-items:stretch!important}
  .dgh-gallery .ggrid.even{gap:10px;margin-top:28px}
  .dgh-gallery .ggrid.even .gi{flex:0 1 calc(50% - 5px)}
  .dgh-gallery .ggrid.bento{grid-template-columns:1fr 1fr;grid-auto-rows:128px;gap:10px;margin-top:28px}
  .dgh-gallery .ggrid.bento .gi:nth-child(6n+1){grid-column:span 2;grid-row:span 2}
  /* התמונה האחרונה, כשהיא נשארת לבד בשורה - מקצה לקצה */
  .dgh-gallery .ggrid.bento .gi:last-child:nth-child(even){grid-column:span 2;grid-row:span 2}
  .dgh-gallery .ggrid.even .gi:last-child:nth-child(odd){flex-basis:100%}
  .dgh-gallery .ggrid + .ggrid{margin-top:10px}
  .dgh-gallery .ggrid .gcol{display:contents}
  .dgh-gallery .ggrid .gi{height:100%!important;margin:0!important;border-radius:18px}
  .dgh-gallery .ggrid .gcol.r .gi:nth-child(1){grid-column:1;grid-row:1 / span 2}
  .dgh-gallery .ggrid .gcol.r .gi:nth-child(2){grid-column:2;grid-row:1}
  .dgh-gallery .ggrid .gcol.m .gi{grid-column:2;grid-row:2 / span 2}
  .dgh-gallery .ggrid .gcol.l .gi:nth-child(1){grid-column:1;grid-row:3}
  .dgh-gallery .ggrid .gcol.l .gi:nth-child(2){grid-column:1 / span 2;grid-row:4}
  .dgh-gallery .ggrid.rest{grid-auto-rows:150px}
}

/* ===== בתי דיור גל: בועיות + גלריה מסתננת ===== */
.dgh-dgh{margin-top:56px}
.dgh-dgh .pills{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.dgh.dgh-dgh .pill{font-family:inherit;font-size:19px;line-height:24px;font-weight:500;color:var(--violet);background:#fff;border:2px solid var(--lav);border-radius:999px;padding:11px 26px;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}
.dgh.dgh-dgh .pill:hover{border-color:var(--purple);transform:translateY(-2px)}
.dgh.dgh-dgh .pill.is-on{background:var(--purple);border-color:var(--purple);color:#fff}
.dgh-dgh .hbody{max-width:820px;margin:28px auto 0;text-align:center}
.dgh.dgh-dgh .hbody p{font-size:20px;line-height:1.75;color:var(--card-sub)}
.dgh-dgh .hgrid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:36px}
.dgh-dgh.no-pills .hgrid{margin-top:0}
.dgh-dgh .gi{display:block;flex:0 1 calc(25% - 15px);min-width:0;aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:var(--lav);cursor:zoom-in}
.dgh.dgh-dgh .gi img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .5s}
.dgh-dgh .gi:hover img{transform:scale(1.05)}
.dgh-dgh .gi.is-hidden{display:none}
@media (max-width:900px){
  .dgh-dgh{margin-top:40px}
  .dgh.dgh-dgh .pill{font-size:17px;padding:9px 18px}
  .dgh-dgh .hgrid{gap:12px;margin-top:26px}
  .dgh-dgh .gi{flex:0 1 calc(50% - 6px)}
  .dgh-dgh .gi{border-radius:16px}
  .dgh.dgh-dgh .hbody p{font-size:18px}
}

/* מיקוד החיתוך של תמונות הגלריה - נבחר בפאנל */
.dgh.dgh-gallery.foc-top .gi img{object-position:center top}
.dgh.dgh-gallery.foc-bottom .gi img{object-position:center bottom}

/* הרווח מעל הסרטונים ובינם לבין עצמם = הרווח בין תמונות הגלריה, לפי הפריסה */
.dgh-gallery.lay-bento .dgh-vids{margin-top:20px}
.dgh-gallery.lay-bento .dgh-vidrow{gap:20px}
.dgh-gallery.lay-grid .dgh-vids{margin-top:24px}
.dgh-gallery.lay-grid .dgh-vidrow{gap:24px}
@media (max-width:900px){
  .dgh-gallery.lay-bento .dgh-vids,.dgh-gallery.lay-grid .dgh-vids{margin-top:10px}
  .dgh-gallery.lay-bento .dgh-vidrow,.dgh-gallery.lay-grid .dgh-vidrow{gap:10px}
}

/* ===== כיתוב על תמונות הגלריה (שדה "כיתוב" של התמונה בספריית המדיה) ===== */
.dgh-gallery .gi{position:relative}
.dgh.dgh-gallery .gi .cap{position:absolute;inset-inline:0;bottom:0;z-index:2;display:block;
  padding:46px 16px 16px;box-sizing:border-box;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.18) 38%,rgba(0,0,0,.74) 100%);
  font-family:inherit;font-weight:700;font-size:23px;line-height:1.24;color:#fff;text-align:center;
  text-shadow:0 2px 12px rgba(0,0,0,.55);text-wrap:balance}
/* במשבצת הגדולה של הבנטו הכיתוב גדול יותר */
.dgh.dgh-gallery .ggrid.bento .gi:nth-child(6n+1) .cap{font-size:30px;padding:60px 22px 22px}
/* במשבצת סרטון הכיתוב יושב מעל הרקע אבל מתחת לסימן ההפעלה */
.dgh.dgh-gallery .gi.is-video .cap{z-index:1}
@media (max-width:900px){
  .dgh.dgh-gallery .gi .cap{font-size:17px;padding:32px 10px 10px}
  .dgh.dgh-gallery .ggrid.bento .gi:nth-child(6n+1) .cap{font-size:20px;padding:40px 14px 14px}
}
@media (max-width:600px){
  .dgh.dgh-gallery .gi .cap{font-size:14px;padding:26px 8px 8px;line-height:1.2}
  .dgh.dgh-gallery .ggrid.bento .gi:nth-child(6n+1) .cap{font-size:18px}
}

/* ===== 14.10 לקוח: חץ "יש המשך" בהירו ===== */
.dgh.dgh-hero .dgh-scroll{position:absolute;left:50%;bottom:16px;translate:-50% 0;z-index:2;width:48px;height:40px;padding:8px 10px;margin:0;
  border:0;border-radius:20px;background:none;color:#fff;opacity:.85;cursor:pointer;display:grid;place-items:center;transition:opacity .2s ease}
.dgh.dgh-hero .dgh-scroll svg{width:28px;height:16px;display:block;filter:drop-shadow(0 1px 4px rgba(0,0,0,.35));animation:dghNudge 2.2s ease-in-out 1.6s infinite}
.dgh.dgh-hero .dgh-scroll:hover,.dgh.dgh-hero .dgh-scroll:focus,.dgh.dgh-hero .dgh-scroll:active{opacity:1;background:none;color:#fff;border:0}  /* דורס את עיצוב הכפתורים של התבנית */
.dgh.dgh-hero .dgh-scroll:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes dghNudge{0%,55%,100%{translate:0 0}25%{translate:0 7px}}
@media (max-width:1000px){.dgh.dgh-hero{padding-bottom:72px}.dgh.dgh-hero .dgh-scroll{bottom:12px}}
@media (prefers-reduced-motion:reduce){.dgh.dgh-hero .dgh-scroll svg{animation:none}}

/* ===== 14.10 גלית: הכותרת "אודות קבוצת גרינברג גרופ" ארוכה מטור המלל (472px) וגלשה מתחת לסרטון ===== */
@media (min-width:1001px){
  .dgh.dgh-about .dgh-h2a{white-space:normal;text-wrap:balance;font-size:56px;line-height:1.12}
}

/* ===== 02.11 גלית: פס הלוגואים של הלקוח - בין ההירו לבתים, על הרקע הלבן; לוגו עם קישור לחיץ ===== */
.dgh.dgh-logos-strip{list-style:none;margin-top:52px;margin-bottom:0;padding:0;display:flex;justify-content:space-between;align-items:center;gap:20px}
.dgh.dgh-logos-strip + .dgh.dgh-houses{margin-top:52px}
.dgh.dgh-logos-strip li{flex:0 1 auto;display:flex;align-items:center;justify-content:center;min-width:0}
.dgh.dgh-logos-strip a{display:flex;align-items:center;justify-content:center;max-width:100%;border-radius:8px;transition:transform .2s ease}
.dgh.dgh-logos-strip img{display:block;width:auto;height:auto;max-height:76px;max-width:150px;object-fit:contain}
@media (hover:hover){.dgh.dgh-logos-strip a:hover{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.dgh.dgh-logos-strip a{transition:none}.dgh.dgh-logos-strip a:hover{transform:none}}
@media (max-width:1000px){
  .dgh.dgh-logos-strip{flex-wrap:wrap;justify-content:center;gap:22px 30px;margin-top:40px}
  .dgh.dgh-logos-strip + .dgh.dgh-houses{margin-top:40px}
  .dgh.dgh-logos-strip img{max-height:60px;max-width:120px}
}
@media (max-width:600px){
  .dgh.dgh-logos-strip{gap:18px 22px;margin-top:32px}
  .dgh.dgh-logos-strip + .dgh.dgh-houses{margin-top:32px}
  .dgh.dgh-logos-strip li{flex:0 0 calc(33.333% - 15px)}
  .dgh.dgh-logos-strip img{max-height:50px;max-width:100%}
}
