/* DigiOS 2.10 — Lead form.
   Renkler ve yazı tipleri DigiOS şablon değişkenlerinden (Elementor genel renkleri) gelir.
   Tüm kurallar #digios-lead altında: tema / Elementor buton ve alan stilleri formu bozmaz. */
#digios-lead.dgl{
  --dgl-bg: var(--dg-surface, #ffffff);
  --dgl-text: var(--dg-text, #3a3a3a);
  --dgl-head: var(--dg-heading, #111111);
  --dgl-line: var(--dg-border, #e2e2e2);
  --dgl-gold: var(--dg-accent, var(--dg-primary, #333333));
  --dgl-btn: var(--dg-primary, #333333);
  --dgl-on-btn: var(--dg-on-primary, #ffffff);
  --dgl-card: color-mix(in srgb, var(--dgl-text) 7%, var(--dgl-bg));
  --dgl-sel: color-mix(in srgb, var(--dgl-gold) 14%, var(--dgl-bg));
  --dgl-muted: color-mix(in srgb, var(--dgl-text) 72%, var(--dgl-bg));
  --dgl-err: var(--dg-error, #e5867a);
  --dgl-ok: #5cbf8a;
  --dgl-wa: #25d366;
  --dgl-r: min(var(--dg-radius, 16px), 16px);
  /* 2.17: Bootstrap modal yapısı: katman ekranı kaplar ve kendisi kaydırılır, kart içinde (.dgl__stage ortalar) */
  position: fixed; inset: 0; z-index: 2147483000;
  display: block; padding: 0; margin: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  font-family: var(--dg-font, inherit); font-size: 15px; line-height: 1.5; color: var(--dgl-text);
  opacity: 0; transition: opacity .2s ease;
}
#digios-lead.dgl[hidden]{ display: none !important; }
#digios-lead.dgl.is-open{ opacity: 1; }
#digios-lead .dgl__stage{ position: relative; min-height: 100%; display: grid; place-items: center; padding: 16px; pointer-events: none; }
/* Pencere açıkken arka sayfa kilidi (klasik görünüm sitelerinde de bu dosya yüklenir) */
html.dgl-lock{ overflow: hidden !important; scrollbar-gutter: stable; }
#digios-lead *, #digios-lead *::before, #digios-lead *::after{ box-sizing: border-box; }
#digios-lead button, #digios-lead input, #digios-lead select, #digios-lead textarea{
  font: inherit; color: inherit; letter-spacing: normal; text-transform: none; text-shadow: none; box-shadow: none; min-height: 0; margin: 0;
}
#digios-lead button{ -webkit-tap-highlight-color: transparent; background-image: none; }
/* Tema (cmsmasters) butonlara ::before/::after ile zemin çiziyor; formdaki butonlarda kapatılır */
#digios-lead button::before, #digios-lead button::after{ content: none; display: none; }
#digios-lead :focus-visible{ outline: 2px solid var(--dgl-gold); outline-offset: 2px; }
#digios-lead p, #digios-lead h2, #digios-lead h3, #digios-lead dl, #digios-lead ul{ margin: 0; }

#digios-lead .dgl__backdrop{ position: fixed; inset: 0; background: var(--dg-overlay, rgba(0,0,0,.45)); -webkit-backdrop-filter: blur(var(--dg-blur, 4px)); backdrop-filter: blur(var(--dg-blur, 4px)); }
#digios-lead .dgl__dialog{
  position: relative; pointer-events: auto; width: 100%; max-width: 640px; height: min(720px, calc(100vh - 32px)); height: min(720px, calc(100dvh - 32px));
  background: var(--dgl-bg); border: 1px solid var(--dgl-line); border-radius: var(--dgl-r);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 70px var(--dg-shadow, rgba(0,0,0,.35));
  transform: translateY(8px); transition: transform .25s ease;
}
#digios-lead.is-open .dgl__dialog{ transform: none; }
@media (prefers-reduced-motion: reduce){
  #digios-lead.dgl, #digios-lead .dgl__dialog, #digios-lead .dgl__bar i{ transition: none; }
}

/* başlık */
#digios-lead .dgl__head{ padding: 20px 22px 14px; border-bottom: 1px solid var(--dgl-line); display: grid; gap: 12px; flex: none; }
#digios-lead .dgl__row{ display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
#digios-lead .dgl__left{ display: flex; flex-direction: column; gap: 3px; }
#digios-lead .dgl__step{ font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dgl-gold); }
#digios-lead .dgl__eta{ display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--dgl-muted); }
#digios-lead .dgl__eta svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#digios-lead .dgl__right{ display: flex; gap: 8px; flex: none; }
#digios-lead .dgl__icon{ width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--dgl-line); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--dgl-head); }
#digios-lead .dgl__icon:hover{ border-color: var(--dgl-gold); background: transparent; }
#digios-lead .dgl__icon svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
#digios-lead .dgl__title{ font-family: var(--dg-font-heading, inherit); font-weight: var(--dg-weight-heading, 500); font-size: 26px; line-height: 1.15; color: var(--dgl-head); text-wrap: balance; outline: none; letter-spacing: normal; text-transform: none; }
#digios-lead .dgl__bar{ height: 4px; border-radius: 4px; overflow: hidden; background: color-mix(in srgb, var(--dgl-text) 14%, var(--dgl-bg)); }
#digios-lead .dgl__bar i{ display: block; height: 100%; background: var(--dgl-gold); transition: width .35s ease; }

/* gövde */
#digios-lead .dgl__body{ flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px; display: grid; gap: 22px; align-content: start; -webkit-overflow-scrolling: touch; }
#digios-lead .dgl__q{ display: grid; gap: 10px; }
#digios-lead .dgl__lbl{ font-weight: 600; font-size: 15px; color: var(--dgl-head); }
#digios-lead .dgl__hint{ color: var(--dgl-muted); font-size: 13px; margin-top: -6px; }
#digios-lead .dgl__muted{ color: var(--dgl-muted); font-weight: 400; }

#digios-lead .dgl__cards{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#digios-lead .dgl__card{ border: 1px solid var(--dgl-line); background: var(--dgl-card); border-radius: 12px; padding: 14px; text-align: left; cursor: pointer; display: grid; gap: 4px; align-content: start; min-height: 64px; color: var(--dgl-text); }
#digios-lead .dgl__card:hover{ border-color: color-mix(in srgb, var(--dgl-gold) 60%, var(--dgl-line)); background: var(--dgl-card); }
#digios-lead .dgl__card b{ font-family: var(--dg-font-heading, inherit); font-weight: 500; font-size: 20px; line-height: 1.15; color: var(--dgl-head); }
#digios-lead .dgl__card span{ color: var(--dgl-muted); font-size: 12.5px; line-height: 1.4; }
#digios-lead .dgl__card[aria-pressed="true"]{ border-color: var(--dgl-gold); background: var(--dgl-sel); }
#digios-lead .dgl__card--wide{ grid-column: 1 / -1; }

#digios-lead .dgl__plist{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#digios-lead .dgl__pitem{ display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--dgl-line); border-radius: 12px; background: var(--dgl-card); cursor: pointer; text-align: left; font-size: 14.5px; line-height: 1.3; color: var(--dgl-head); font-weight: 400; }
#digios-lead .dgl__pitem:hover{ background: var(--dgl-card); border-color: color-mix(in srgb, var(--dgl-gold) 60%, var(--dgl-line)); }
#digios-lead .dgl__pitem small{ display: block; color: var(--dgl-muted); font-size: 12.5px; margin-top: 2px; }
#digios-lead .dgl__pitem i{ flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--dgl-line); display: grid; place-items: center; }
#digios-lead .dgl__pitem[aria-pressed="true"]{ border-color: var(--dgl-gold); background: var(--dgl-sel); }
#digios-lead .dgl__pitem[aria-pressed="true"] i{ background: var(--dgl-gold); border-color: var(--dgl-gold); }
#digios-lead .dgl__pitem[aria-pressed="true"] i::after{ content: ""; width: 6px; height: 11px; border: solid var(--dgl-bg); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
#digios-lead .dgl__pitem--unsure{ grid-column: 1 / -1; border-style: dashed; }
/* 2.18.5: iletişim tercihi: tek satıra sığıyorsa yan yana, sığmıyorsa alt alta (lead-form.js fitRow, .is-stack) */
#digios-lead .dgl__plist.dgl__plist--row{ display: flex; flex-wrap: nowrap; gap: 8px; contain: inline-size; } /* contain: kartlar kutuyu genişletmesin, taşma ölçülebilsin */
#digios-lead .dgl__plist--row .dgl__pitem{ flex: 1 0 auto; gap: 10px; }
#digios-lead .dgl__plist.dgl__plist--row.is-stack{ flex-direction: column; gap: 6px; }

#digios-lead .dgl__chips{ display: flex; flex-wrap: wrap; gap: 8px; }
#digios-lead .dgl__chip{ border: 1px solid var(--dgl-line); background: transparent; border-radius: 999px; padding: 9px 14px; cursor: pointer; font-size: 14px; color: var(--dgl-head); font-weight: 400; }
#digios-lead .dgl__chip:hover{ background: transparent; border-color: var(--dgl-gold); }
#digios-lead .dgl__chip[aria-pressed="true"]{ background: var(--dgl-gold); border-color: var(--dgl-gold); color: var(--dgl-bg); font-weight: 600; }
#digios-lead .dgl__opts{ display: grid; gap: 8px; }
#digios-lead .dgl__opt{ display: flex; gap: 12px; align-items: center; border: 1px solid var(--dgl-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--dgl-card); text-align: left; font-size: 14.5px; color: var(--dgl-head); font-weight: 400; }
#digios-lead .dgl__opt:hover{ background: var(--dgl-card); border-color: color-mix(in srgb, var(--dgl-gold) 60%, var(--dgl-line)); }
#digios-lead .dgl__dot{ flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--dgl-line); }
#digios-lead .dgl__opt[aria-pressed="true"]{ border-color: var(--dgl-gold); }
#digios-lead .dgl__opt[aria-pressed="true"] .dgl__dot{ border-color: var(--dgl-gold); background: radial-gradient(circle, var(--dgl-gold) 45%, transparent 50%); }
#digios-lead .dgl__sub{ display: grid; gap: 8px; margin-top: 4px; } /* 2.11: soldaki çizgi kaldırıldı, diğer alanlarla aynı düzen */

/* alanlar */
#digios-lead .dgl__field{ display: grid; gap: 6px; }
#digios-lead .dgl__flbl{ font-size: 13px; color: var(--dgl-muted); font-weight: 400; }
#digios-lead input[type="text"], #digios-lead input[type="search"], #digios-lead input[type="email"], #digios-lead input[type="tel"], #digios-lead input:not([type]), #digios-lead textarea{
  width: 100%; height: auto; background: var(--dgl-card); border: 1px solid var(--dgl-line); border-radius: 10px; padding: 12px 13px; font-size: 16px; line-height: 1.4; color: var(--dgl-head); -webkit-appearance: none; appearance: none;
}
#digios-lead input:focus, #digios-lead textarea:focus{ border-color: var(--dgl-gold); outline: none; }
/* 2.15.2: alanlar her durumda (dolu, boş, tarayıcı nasıl doldurursa doldursun) kendi renginde; klasik form ve WhatsApp ile aynı */
#digios-lead input[type="text"], #digios-lead input[type="search"], #digios-lead input[type="email"], #digios-lead input[type="tel"], #digios-lead input:not([type]), #digios-lead textarea{
  -webkit-box-shadow: 0 0 0 1000px var(--dgl-card) inset !important; box-shadow: 0 0 0 1000px var(--dgl-card) inset !important; color: var(--dgl-head) !important;
}
/* Tarayıcı otomatik doldurma rengini (açık mavi / sarı) formun kendi renkleriyle ört */
#digios-lead input:-webkit-autofill, #digios-lead input:-webkit-autofill:hover, #digios-lead input:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0 1000px var(--dgl-card) inset; box-shadow: 0 0 0 1000px var(--dgl-card) inset;
  -webkit-text-fill-color: var(--dgl-head); caret-color: var(--dgl-head); transition: background-color 9999s ease-out 0s;
}
#digios-lead textarea{ min-height: 84px; resize: vertical; }
#digios-lead input::placeholder, #digios-lead textarea::placeholder{ color: var(--dgl-muted); opacity: .8; }
#digios-lead .dgl__err{ color: var(--dgl-err); font-size: 12.5px; display: none; }
#digios-lead .dgl__ok{ color: var(--dgl-ok); font-size: 12.5px; display: none; }
#digios-lead .dgl__field.is-bad input, #digios-lead .dgl__field.is-bad .dgl__cc{ border-color: var(--dgl-err); }
#digios-lead .dgl__field.is-bad .dgl__err{ display: block; }
/* 2.11.9: geçerli numarada kenarlık yeşil kalmaz, sadece altta küçük onay yazısı görünür */
#digios-lead .dgl__field.is-good .dgl__ok{ display: block; }
#digios-lead .dgl__suggest{ justify-self: start; border: 0; background: transparent; padding: 0; color: var(--dgl-gold); font-size: 13px; cursor: pointer; text-align: left; font-weight: 400; }
#digios-lead .dgl__suggest b{ text-decoration: underline; }
#digios-lead .dgl__suggest[hidden]{ display: none; }

#digios-lead .dgl__phone{ position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px; }
#digios-lead .dgl__cc{ display: flex; align-items: center; gap: 6px; background: var(--dgl-card); border: 1px solid var(--dgl-line); border-radius: 10px; padding: 12px 10px 12px 12px; cursor: pointer; font-size: 15px; white-space: nowrap; color: var(--dgl-head); font-weight: 400; }
#digios-lead .dgl__cc:hover{ background: var(--dgl-card); border-color: var(--dgl-gold); }
#digios-lead .dgl__cc svg{ width: 16px; height: 16px; fill: none; stroke: var(--dgl-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#digios-lead .dgl__cc[aria-expanded="true"]{ border-color: var(--dgl-gold); }
#digios-lead .dgl__pop{ position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 4; background: var(--dgl-bg); border: 1px solid var(--dgl-gold); border-radius: 12px; padding: 8px; display: grid; gap: 8px; box-shadow: 0 18px 40px var(--dg-shadow, rgba(0,0,0,.35)); }
#digios-lead .dgl__pop[hidden]{ display: none; }
#digios-lead .dgl__list{ list-style: none; margin: 0; padding: 4px; border: 1px solid var(--dgl-line); border-radius: 10px; background: var(--dgl-card); }
#digios-lead .dgl__list .dgl__hint{ font-size: 12.5px; color: var(--dgl-muted); cursor: default; justify-content: center; padding: 10px; }
#digios-lead .dgl__list .dgl__hint:hover{ background: transparent; }
#digios-lead .dgl__cap{ min-height: 0; }
#digios-lead .dgl__pop .dgl__list{ max-height: 230px; overflow: auto; border: 0; padding: 0; background: transparent; }
#digios-lead .dgl__list li{ display: flex; gap: 10px; align-items: center; padding: 9px 10px; margin: 0; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--dgl-head); list-style: none; }
#digios-lead .dgl__list li::before{ content: none; }
#digios-lead .dgl__list li small{ margin-left: auto; color: var(--dgl-muted); font-size: 12px; }
#digios-lead .dgl__list li:hover, #digios-lead .dgl__list li[aria-selected="true"]{ background: var(--dgl-sel); }
#digios-lead .dgl__list .dgl__grp{ font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dgl-muted); padding: 8px 10px 4px; cursor: default; }
#digios-lead .dgl__list .dgl__grp:hover{ background: transparent; }
#digios-lead .dgl__picked{ display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--dgl-sel); border: 1px solid var(--dgl-gold); border-radius: 10px; padding: 12px 13px; cursor: pointer; font-size: 15px; color: var(--dgl-head); font-weight: 400; }
#digios-lead .dgl__picked:hover{ background: var(--dgl-sel); }
#digios-lead .dgl__picked em{ margin-left: auto; font-style: normal; color: var(--dgl-muted); font-size: 12.5px; text-decoration: underline; }

/* 2.11: WhatsApp şeridi — ikon dairede, iki satır yazı, ok sağda */
#digios-lead .dgl__warow{ display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--dgl-wa) 35%, var(--dgl-line)); border-radius: 12px; background: color-mix(in srgb, var(--dgl-wa) 7%, var(--dgl-bg)); cursor: pointer; text-align: left; color: var(--dgl-muted); font-weight: 400; line-height: 1.3; }
#digios-lead .dgl__warow:hover{ border-color: var(--dgl-wa); filter: none; }
#digios-lead .dgl__waic{ width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--dgl-wa); }
#digios-lead .dgl__waic svg{ width: 20px; height: 20px; color: #fff; fill: currentColor; stroke: none; }
#digios-lead .dgl__watx{ flex: 1; min-width: 0; display: grid; gap: 2px; }
#digios-lead .dgl__watx b{ color: var(--dgl-head); font-weight: 600; font-size: 14px; }
#digios-lead .dgl__watx small{ font-size: 12.5px; color: var(--dgl-muted); }
#digios-lead .dgl__warow > svg{ width: 18px; height: 18px; flex: none; fill: none; stroke: var(--dgl-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#digios-lead .dgl__legal{ font-size: 12.5px; color: var(--dgl-muted); }
#digios-lead .dgl__legal a{ color: var(--dgl-gold); text-decoration: underline; }
#digios-lead .dgl__check{ display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; cursor: pointer; color: var(--dgl-text); }
#digios-lead .dgl__check input{ width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--dgl-gold); flex: none; }
#digios-lead .dgl__formerr{ color: var(--dgl-err); font-size: 13.5px; }
#digios-lead .dgl__formerr[hidden]{ display: none; }

/* alt çubuk ve butonlar */
#digios-lead .dgl__foot{ flex: none; padding: 14px 22px 20px; border-top: 1px solid var(--dgl-line); display: flex; gap: 10px; align-items: center; }
#digios-lead .dgl__btn{ flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; padding: 14px 18px; border: 1px solid var(--dgl-btn); background: var(--dgl-btn); color: var(--dgl-on-btn); cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.2; }
#digios-lead .dgl__btn:hover{ background: var(--dgl-btn); border-color: var(--dgl-btn); color: var(--dgl-on-btn); filter: brightness(1.08); }
#digios-lead .dgl__btn:disabled:hover{ filter: none; }
#digios-lead .dgl__btn:disabled{ opacity: .45; cursor: not-allowed; }
#digios-lead .dgl__btn--wa, #digios-lead .dgl__btn--wa:hover{ background: var(--dgl-wa); border-color: var(--dgl-wa); color: #ffffff; width: 100%; }
#digios-lead .dgl__btn--wa:hover{ filter: brightness(.95); }
#digios-lead .dgl__btn--wa svg{ width: 20px; height: 20px; fill: currentColor; stroke: none; }
#digios-lead .dgl__btn--ghost, #digios-lead .dgl__btn--ghost:hover{ background: transparent; color: var(--dgl-head); border-color: var(--dgl-line); width: 100%; }
#digios-lead .dgl__btn--ghost:hover{ border-color: var(--dgl-gold); }
#digios-lead .dgl__link{ border: 0; background: transparent; padding: 8px 4px; color: var(--dgl-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; font-weight: 400; }
#digios-lead .dgl__link:hover{ background: transparent; color: var(--dgl-head); }

/* teşekkür */
#digios-lead .dgl__lead{ color: var(--dgl-muted); }
#digios-lead .dgl__sum{ display: grid; gap: 8px; border: 1px solid var(--dgl-line); border-radius: 12px; padding: 14px; background: var(--dgl-card); font-size: 14px; }
#digios-lead .dgl__sum div{ display: flex; gap: 12px; justify-content: space-between; }
#digios-lead .dgl__sum dt{ color: var(--dgl-muted); font-weight: 400; }
#digios-lead .dgl__sum dd{ margin: 0; text-align: right; color: var(--dgl-head); }

/* çıkış penceresi */
#digios-lead .dgl-exit{ position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--dgl-bg) 82%, transparent); }
#digios-lead .dgl-exit[hidden]{ display: none; }
#digios-lead .dgl-exit__box{ width: 100%; max-width: 340px; display: grid; gap: 10px; background: var(--dgl-bg); border: 1px solid var(--dgl-line); border-radius: 16px; padding: 20px; box-shadow: 0 18px 40px var(--dg-shadow, rgba(0,0,0,.35)); }
#digios-lead .dgl-exit__box h3{ font-family: var(--dg-font-heading, inherit); font-weight: 500; font-size: 24px; color: var(--dgl-head); }
#digios-lead .dgl-exit__box p{ font-size: 13.5px; color: var(--dgl-muted); }

/* telefon: ekranı doldurur. Yüksekliği sabit değil, içerik uzadıkça kart uzar, kaydırmayı katman yapar (iç kaydırma yok).
   Başlık üstte, buton altta yapışık kalır (position:sticky). */
@media (max-width: 767px){
  #digios-lead .dgl__stage{ padding: 0; place-items: stretch; }
  #digios-lead .dgl__dialog{ max-width: none; height: auto; min-height: 100%; border-radius: 0; border: 0; overflow: clip; }
  #digios-lead .dgl__head{ position: sticky; top: 0; z-index: 2; background: var(--dgl-bg); padding: 16px 18px 12px; padding-top: max(16px, env(safe-area-inset-top)); gap: 10px; }
  #digios-lead .dgl__title{ font-size: 23px; }
  #digios-lead .dgl__body{ flex: 1 0 auto; overflow: visible; padding: 16px 18px; }
  #digios-lead .dgl__foot{ position: sticky; bottom: 0; z-index: 2; background: var(--dgl-bg); padding: 12px 18px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  #digios-lead .dgl__plist{ grid-template-columns: 1fr; gap: 6px; }
  #digios-lead .dgl__pitem{ min-height: 46px; padding: 10px 12px; font-size: 14px; }
}
#digios-lead .dgl__cf7, .digios-lead-cf7{ display: none !important; }
#digios-lead .dgl__pagelogo{ display: none; } /* 2.18.9: yalnız telefonda sayfa modunda görünür */

/* 2.11: koyu, ince kaydırma çubukları (tarayıcının beyaz çubuğu yerine) */
#digios-lead .dgl__body, #digios-lead .dgl__pop .dgl__list{ scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--dgl-text) 28%, transparent) transparent; }
#digios-lead .dgl__body::-webkit-scrollbar, #digios-lead .dgl__pop .dgl__list::-webkit-scrollbar{ width: 6px; }
#digios-lead .dgl__body::-webkit-scrollbar-track, #digios-lead .dgl__pop .dgl__list::-webkit-scrollbar-track{ background: transparent; }
#digios-lead .dgl__body::-webkit-scrollbar-thumb, #digios-lead .dgl__pop .dgl__list::-webkit-scrollbar-thumb{ background: color-mix(in srgb, var(--dgl-text) 28%, transparent); border-radius: 6px; }


/* 2.18: telefonda (767 px ve altı) Consultation sayfa gibi açılır (dg-page.js, html.dg-page--lead). Sitenin içeriği gizlenir,
   form sayfanın kendisi olur: sabit katman, karartma ve kilit yok, sayfayı tarayıcı kaydırır, klavyeyi telefon yönetir.
   Başlık üstte, buton altta yapışık kalır; bir yazı alanı açıkken (klavye) ikisi de normal akışa geçer. Görünüm aynı. */
@media (max-width: 767px){
  html.dg-page.dg-page, html.dg-page.dg-page body{ overflow: visible !important; height: auto !important; }
  html.dg-page.dg-page{ margin-top: 0 !important; }
  html.dg-page body > :not(#digios-root):not(#digios-lead):not(.dg-cs__pop){ display: none !important; }
  html.dg-page:not(.dg-page--lead) #digios-lead{ display: none !important; }
  html.dg-page--lead #digios-lead.dgl{ position: static; inset: auto; z-index: auto; overflow: visible; }
  html.dg-page--lead #digios-lead .dgl__backdrop{ display: none; }
  html.dg-page--lead #digios-lead .dgl__stage{ min-height: 0; }
  html.dg-page--lead #digios-lead .dgl__dialog{ min-height: 100vh; min-height: 100svh; transform: none; }
  html.dg-page--lead #digios-lead:has(:is(input:not([type=checkbox]):not([type=radio]), textarea):focus) :is(.dgl__head, .dgl__foot){ position: static; }
  html.dg-page--lead #digios-lead .dgl-exit{ position: fixed; }
  /* 2.18.9: iletişim adımında gönder butonunun altında logo bloğu, klavye kadar yüksek (form penceresindekiyle aynı) */
  /* 2.18.10: blok 36vh, logo en altta, 180 px (form penceresindekiyle aynı) */
  html.dg-page--lead #digios-lead .dgl__pagelogo{ display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 36vh; box-sizing: border-box; padding: 0 20px max(28px, env(safe-area-inset-bottom)); background: var(--dgl-bg); }
  html.dg-page--lead #digios-lead .dgl__pagelogo img{ display: block; width: 180px; max-width: 60%; height: auto; opacity: .6; }
}
