/* ============================================================
   דודי תקשורת — תיקוני סבב 1 (fixes layer, נטען אחרון)
   כל הכללים כאן דורסים את ה-Elementor המקורי בכוונה.
   ============================================================ */

/* --- 1. מבנה נזיל: מבטל את רוחב ה-1905px ש"נצרב" במצב דסקטופ --- */
html, body { overflow-x: hidden !important; max-width: 100% !important; }

/* כל אלמנט שקפא על רוחב הדסקטופ (1905px) — מוחזר לרוחב מלא */
[style*="1905px"] { width: 100% !important; max-width: 100% !important; }

/* הדר דביק: לתפוס תמיד את כל רוחב המסך (מתקן את "הפס הלבן נחתך") */
header.elementor-location-header .e-con.elementor-sticky--active,
header.elementor-location-header .e-con.elementor-sticky__spacer,
header.elementor-location-header .e-con.e-parent {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* תפריט נפתח (מובייל/סאב) — לבטל מיקום פיקסלי שבור */
.elementor-nav-menu__container.elementor-nav-menu--dropdown[style] {
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
}

/* קונטיינרים לא חורגים מרוחב המסך אף פעם */
.e-con-full { max-width: 100% !important; }
.e-con-boxed > .e-con-inner { max-width: 1240px !important; }
img, video, svg { max-width: 100%; height: auto; }

/* --- 2. טווח טאבלט 768–1024: המבנה "נשבר לגמרי" → כפייה לעטיפה נקייה --- */
@media (max-width: 1024px) {
  .elementor-26 .e-con.e-child,
  .elementor-19 .e-con.e-child,
  .elementor-21 .e-con.e-child { flex-wrap: wrap !important; }

  /* שורות שירותים (3/2 בשורה) → מסתדרות בעצמן לפי רוחב */
  .elementor-26 .e-flex.e-con > .e-con.e-child {
    flex: 1 1 44% !important;
    min-width: 300px !important;
  }
}
@media (max-width: 767px) {
  .elementor-26 .e-flex.e-con > .e-con.e-child {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}
/* מניעת גלישה אופקית ברמת העמוד (כל צאצא לא רחב מ-100%) */
@media (max-width: 767px) {
  .elementor-26 *, .elementor-21 *, .elementor-19 * { max-width: 100% !important; }
  .elementor-26 .e-con, .elementor-26 .e-con-inner { min-width: 0 !important; }
}

/* --- 2b. גדלי כותרות רספונסיביים (המבנה קפא על דסקטופ → כותרות ענק בטאבלט/מובייל) --- */
@media (max-width: 1024px) {
  h1.elementor-heading-title { font-size: 44px !important; line-height: 1.15 !important; }
  h2.elementor-heading-title { font-size: 30px !important; line-height: 1.2 !important; }
  h3.elementor-heading-title, .elementor-image-box-title { font-size: 22px !important; }
  .dt-hero h1 { font-size: 40px !important; line-height: 1.15 !important; }
  .dt-h2 { font-size: 30px !important; }
}
@media (max-width: 600px) {
  h1.elementor-heading-title { font-size: 29px !important; line-height: 1.12 !important; }
  h2.elementor-heading-title { font-size: 22px !important; }
  .dt-hero h1 { font-size: 28px !important; }
  .dt-h2 { font-size: 25px !important; }
}
/* אף כותרת לא גולשת מרוחב המסך — לכפות גלישת שורה (היו כותרות nowrap) */
h1, h2, h3, .elementor-heading-title, .dt-h2 { overflow-wrap: break-word; word-break: normal; white-space: normal !important; max-width: 100%; }
/* מובייל: ריווח צד לתוכן + מניעת גלישה אופקית */
@media (max-width: 600px) {
  .elementor-location-header, .elementor-location-footer, .elementor-26 { overflow-x: hidden !important; }
  .elementor-26 .e-con-boxed > .e-con-inner,
  .elementor-26 > .e-con-full > .e-con-inner,
  .elementor-26 .e-con-full { padding-left: 16px !important; padding-right: 16px !important; }
  .elementor-widget-heading, .elementor-widget-text-editor { padding-left: 6px !important; padding-right: 6px !important; }
}

/* --- 3. תפריט "השירותים שלנו": מחיקת החץ הכפול (◥◥ → ◥) --- */
.elementor-nav-menu .sub-arrow ~ .sub-arrow { display: none !important; }
/* גיבוי: אם smartmenus מוסיף חץ נוסף אחרי הטקסט */
.elementor-item.has-submenu > .sub-arrow + .sub-arrow { display: none !important; }

/* --- 4. כפתור "לשיחה עם דודי — 052-888-8849": שהמספר לא יישבר לשתי שורות --- */
.elementor-button .elementor-button-text { white-space: nowrap; }
@media (max-width: 480px) {
  .elementor-button .elementor-button-text { white-space: normal; }
}
/* המספר עצמו לעולם לא נשבר באמצע */
.dt-phone-nowrap { white-space: nowrap; direction: ltr; unicode-bidi: embed; }

/* --- 5. קריאוּת "מתלבטים מאיפה להתחיל?" — הרקע כאן לבן, לכן טקסט לבן היה בלתי־נראה.
      מחזירים לטקסט נייבי כהה (נראה על רקע לבן) + מבטלים את הצל הכהה. --- */
.elementor-element-0ba8396 .elementor-heading-title,
.elementor-element-2380c6b .elementor-heading-title {
  color: #0A192F !important;
  text-shadow: none !important;
}
/* תוויות ושדות בטופס "מתלבטים" — טקסט כהה שנראה על רקע לבן */
.elementor-element-531b595 .elementor-field-label { color: #0A192F !important; }

/* --- 6. אייקוני השירותים (כרטיסים) — זהב, בגודל אחיד ותואם לנושא --- */
.dt-service-icon {
  height: 58px; width: auto; max-width: 84px;
  display: block; margin: 0 auto 6px;
  fill: var(--gold, #C9A028);
}
.dt-service-icon path { fill: var(--gold, #C9A028); }

/* אייקוני "<" המכוערים ברשימות הפוטר → חץ עדין ותואם RTL */
.elementor-widget-icon-list .elementor-icon-list-icon svg { width: 12px; height: 12px; opacity: .85; }

/* --- 7. כפתור וואטסאפ צף: מיקום עקבי ובולט --- */
.elementor-widget-icon.elementor-fixed .elementor-icon {
  position: fixed; bottom: 22px; left: 22px; z-index: 9990;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: #25D366 !important; color: #fff !important; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.elementor-widget-icon.elementor-fixed .elementor-icon svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   8. עמוד "לקוחות מספרים" (reviews.html)
   ============================================================ */
.dt-reviews-wrap { max-width: 1180px; margin: 0 auto; padding: 64px 20px 24px; }
.dt-reviews-head { text-align: center; margin-bottom: 8px; }
.dt-reviews-head h1 {
  font-size: clamp(28px, 5vw, 44px); color: var(--gold, #C9A028);
  margin: 0 0 10px; font-weight: 800;
}
.dt-reviews-sub { text-align: center; color: #cbd5e1; margin: 0 auto 10px; max-width: 640px; font-size: 18px; }
.dt-reviews-rating { text-align: center; color: #e2e8f0; margin-bottom: 34px; font-size: 17px; }
.dt-reviews-rating .dt-stars { color: #F5B301; letter-spacing: 2px; font-size: 20px; }

.dt-reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .dt-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dt-reviews-grid { grid-template-columns: 1fr; } }

.dt-review-card {
  background: #0f2038; border: 1px solid rgba(201,160,40,.28);
  border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.dt-review-top { display: flex; align-items: center; gap: 12px; }
.dt-review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #0A192F; font-size: 20px;
}
.dt-review-name { font-weight: 700; color: #fff; font-size: 17px; line-height: 1.2; }
.dt-review-stars { color: #F5B301; font-size: 15px; letter-spacing: 1px; }
.dt-review-text { color: #dbe4f0; line-height: 1.7; font-size: 15.5px; margin: 0; }
.dt-review-src { color: #93a4bd; font-size: 13px; display: flex; align-items: center; gap: 6px; }

.dt-reviews-cta {
  text-align: center; margin: 40px auto 8px; display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.dt-btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer;
  border: none;
}
.dt-btn-gold { background: var(--gold, #C9A028); color: #0A192F; }
.dt-btn-google { background: #fff; color: #1a1a1a; border: 1px solid #dadce0; }
.dt-btn:hover { filter: brightness(1.05); }

/* טופס "השאירו ביקורת" */
.dt-review-form {
  max-width: 640px; margin: 30px auto 60px; background: #0f2038;
  border: 1px solid rgba(201,160,40,.25); border-radius: 16px; padding: 26px 24px;
}
.dt-review-form h2 { color: #fff; text-align: center; margin: 0 0 6px; font-size: 24px; }
.dt-review-form p.dt-note { color: #9fb0c8; text-align: center; font-size: 14px; margin: 0 0 18px; }
.dt-review-form label { display: block; color: #cbd5e1; font-size: 14px; margin: 12px 0 5px; }
.dt-review-form input, .dt-review-form textarea, .dt-review-form select {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #2b405f; background: #0a1728; color: #fff; font-size: 15px; font-family: inherit;
}
.dt-review-form textarea { min-height: 110px; resize: vertical; }
.dt-star-pick { direction: rtl; font-size: 30px; color: #46597a; cursor: pointer; user-select: none; }
.dt-star-pick span.on { color: #F5B301; }
.dt-review-form button { width: 100%; margin-top: 18px; justify-content: center; }

/* ============================================================
   9. סבב 2 — תיקוני המשך
   ============================================================ */

/* 9a. טופס הליד "מתלבטים מאיפה להתחיל?" — היה דחוס: 5 שדות בשורה אחת (col-20 שקפא על דסקטופ),
      ולכן "נשבר" ברוחב 800px. מיישרים לעמודה אנכית נקייה בכל רוחב מסך. */
.elementor-widget-form .elementor-form-fields-wrapper { flex-direction: column !important; flex-wrap: nowrap !important; }
.elementor-widget-form .elementor-form-fields-wrapper > .elementor-field-group { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; margin-bottom: 6px; }
.elementor-widget-form .elementor-form { max-width: 560px; margin-left: auto; margin-right: auto; }
.elementor-widget-form .elementor-field-group.e-form__buttons { margin-top: 8px; }
.elementor-widget-form .elementor-field-group.e-form__buttons .elementor-button { width: 100%; }

/* 9b. הסרת כפתור הצ'אט הצף הכפול (הבועה + התווית "ליצירת קשר") —
      נשאר כפתור וואטסאפ צף אחד בלבד בפינה השמאלית התחתונה. */
.elementor-element-d5d4cb8 { display: none !important; }

/* 9c. עמוד ביקורות במובייל — לוודא שהכרטיסים לא נחתכים בקצה */
@media (max-width: 600px) {
  .dt-reviews-wrap { padding-left: 16px !important; padding-right: 16px !important; overflow-x: hidden; }
  .dt-reviews-grid { gap: 14px; }
  .dt-review-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin: 0 !important; }
}

/* 9d. קרוסלת הביקורות בדף הבית — גלילה רציפה שלא נעצרת לעולם (גם לא בהובר/מגע) */
.reviews-track { animation-play-state: running !important; }

/* ============================================================
   10. סבב 3 — באטצ' תיקונים (סוג עבודה / תפריט / פרויקטים / ביקורות / פס ירוק)
   ============================================================ */

/* 10a. הפס הירוק "דודי תקשורת | אזור המרכז" שקפץ בגלילה מהירה במובייל — הסרה מלאה. */
.elementor-element-37546ed3 { display: none !important; }

/* 10b. תפריט המבורגר במובייל — התפריט המקורי של אלמנטור שבור (max-height:0,
      כלוא בווידג'ט 35px, וה-JS לא רץ במובייל). dudi-fixes.js בונה תפריט משלו. */
.elementor-menu-toggle { cursor: pointer; }
/* החלפת אייקון להמבורגר -> X בפתיחה */
.elementor-menu-toggle.dt-open .elementor-menu-toggle__icon--open { display: none !important; }
.elementor-menu-toggle.dt-open .elementor-menu-toggle__icon--close { display: block !important; }
/* מסתירים את התפריט הנפתח המקורי (השבור) — אנחנו מציגים תפריט משלנו */
nav.elementor-nav-menu--dropdown { display: none !important; }

/* התפריט הנייד שאנחנו בונים (overlay מלא־רוחב מתחת להדר) */
.dt-mmenu {
  position: fixed; left: 0; right: 0; bottom: 0; top: 56px;
  background: #0A192F; z-index: 100000; display: none; overflow-y: auto;
  -webkit-overflow-scrolling: touch; border-top: 2px solid #C9A028;
}
.dt-mmenu.open { display: block; }
.dt-mmenu-inner { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
.dt-mmenu-link {
  display: block; color: #fff !important; text-decoration: none;
  padding: 16px 24px; text-align: right; font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.09); background: transparent;
}
.dt-mmenu-link.sub { padding-right: 44px; font-size: 15px; font-weight: 400; opacity: .9; }
.dt-mmenu-link:active { background: rgba(201,160,40,.15); }

/* 10c. "פרויקטים שעשינו" — תמונה אחת לכל כרטיס (בלי מצגות/וידאו),
      + טקסט קריא עם צל חזק וגרדיאנט כהה יותר בתחתית. */
.bento-accordion-container .slide-img.secondary-slide,
.bento-accordion-container .hover-video,
.bento-accordion-container .progress-container,
.bento-accordion-container .video-badge { display: none !important; }
.bento-accordion-container .slide-img { opacity: 1 !important; }
.bento-accordion-container .item-content {
  background: linear-gradient(to top,
    rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.58) 34%,
    rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%) !important;
}
.bento-accordion-container .project-cat {
  text-shadow: 0 2px 6px rgba(0,0,0,0.95), 0 0 3px rgba(0,0,0,0.85) !important;
}
.bento-accordion-container .item-title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.98), 0 1px 3px rgba(0,0,0,0.9) !important;
}
.bento-accordion-container .item-desc {
  color: #f3f3f3 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.92) !important;
}

/* 10d. קרוסלת "לקוחות מספרים" — מהירה, בגובה לפי התוכן (מבטל את ה"שטח שחור"),
      ועם דהייה רכה בשני הקצוות כדי שכרטיס חלקי לא ייראה "חתוך". */
.reviews-track { animation-duration: 14s !important; }
.review-card.image-card {
  height: auto !important;
  min-height: 210px !important;
  align-self: stretch !important;
}
/* דהייה בקצוות במקום חיתוך חד */
.testimonials-section {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%) !important;
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%) !important;
}
@media (max-width: 600px) {
  .review-card.image-card { width: 240px !important; }
  .testimonials-section { padding: 20px 0 !important; }
}

/* 10e. הצללת הכותרות של אלמנטור הייתה "מנותקת ורחוקה" (text-shadow: -3px 3px 1px
      + mix-blend-mode: luminosity). מנקים מכל הכותרות; משאירים צל רך וקרוב רק
      לכותרת ההירו הלבנה שמעל התמונה (קריאוּת). */
.elementor-heading-title {
  text-shadow: none !important;
  mix-blend-mode: normal !important;
}
.elementor-element-16913df2 .elementor-heading-title,
.elementor-element-1d2b8f1f .elementor-heading-title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
}

/* ==== 11. lead-form success box + guides nav ==== */
.dt-form-ok {
  background: #ffffff;
  border: 2px solid #C9A028;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  color: #0A192F;
  font-size: 17px;
  line-height: 1.7;
}
.dt-form-ok strong { font-size: 20px; }

/* ==== 12. full-screen viewer for service-page galleries ==== */
.dt-lb2 {
  position: fixed; inset: 0; z-index: 100001;
  background: rgba(4,10,20,.93);
  display: none; align-items: center; justify-content: center;
  padding: 22px;
}
.dt-lb2.open { display: flex; }
.dt-lb2 .b img, .dt-lb2 .b video {
  max-width: 92vw; max-height: 86vh;
  border-radius: 12px; display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.dt-lb2 .x {
  position: absolute; top: 14px; left: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.12); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.dt-lb2 .x:hover { background: rgba(255,255,255,.25); }

/* ==== 13. fit all 8 desktop nav items on one line (מדריכים + מאמרים added).
   Compact across the WHOLE desktop range so the last item (אודות) never clips
   into the phone/rating pills at laptop widths (~1280–1440 was overflowing). ==== */
@media (min-width: 1025px) {
  .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
  .elementor-nav-menu--main .elementor-item { padding-left: 2px !important; padding-right: 2px !important; }
  .elementor-nav-menu--main .elementor-nav-menu { flex-wrap: nowrap !important; }
}
/* ==== 14. The theme's per-widget nav font rule out-specificities the compaction
   above, so on cramped desktop widths (~1025–1500) the 8 items collided with the
   header pills and the last item (אודות) got clipped/hidden. Free the space by
   hiding the DECORATIVE Google-rating pill (b6ddcae) there — the phone CTA stays,
   and the pill returns on wide screens. The 5.0 rating still shows on the hero +
   reviews page. ==== */
@media (min-width: 1025px) and (max-width: 1500px) {
  .elementor-element-b6ddcae { display: none !important; }
}
