#tehdoctor{
 --bg:#fbfcff;
 --text:#0b1220;
 --muted:#556275;
 --line:#e6ebf2;
 --card:#ffffff;
 --td-accent:#6D5EF7;
 --td-accent2:#584AE9;
 --shadow:0 10px 28px rgba(2,6,23,.08);
 --radius:16px;
 --radius2:24px;
 --container:1120px;
 --header-h:72px;
--pad:clamp(16px, 3vw, 28px);
 font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
 font-size: 16.5px;
 color:var(--text);
 background:var(--bg);
 line-height:1.35;
 isolation:isolate;
 position:relative;
 overflow:hidden;
 padding-top: var(--header-h);
 }
 #tehdoctor:before{
 content:"";
 position:absolute;
 inset:-220px;
 background:
 radial-gradient(520px 520px at 16% 14%, rgba(109,94,247,.18), transparent 60%),
 radial-gradient(560px 560px at 86% 10%, rgba(109,94,247,.14), transparent 62%),
 radial-gradient(560px 560px at 78% 86%, rgba(109,94,247,.10), transparent 65%);
 pointer-events:none;
 z-index:0;
 }
 #tehdoctor > *{ position:relative; z-index:1; }
 #tehdoctor *{ box-sizing:border-box; }
 #tehdoctor a{
 color: inherit !important;
 text-decoration: none !important;
 }
 #tehdoctor .container{
 max-width:var(--container);
 margin:0 auto;
 padding:0 var(--pad);
 }
 #tehdoctor .td-header{
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 999;
 background: rgba(255,255,255,.86);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--line);
 }
 #tehdoctor .td-header-inner{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap: 14px;
 padding: 10px 0;
 min-height: var(--header-h);
 }
 #tehdoctor .brand{
 display:flex; align-items:center; gap:12px;
 min-width: 200px;
 }
 #tehdoctor .logo{
 width:42px; height:42px; border-radius:14px;
 background: linear-gradient(135deg, var(--td-accent), var(--td-accent2)) !important;
 box-shadow: 0 14px 26px rgba(109,94,247,.22) !important;
 display:grid; place-items:center;
 color:#fff;
 font-weight:900;
 letter-spacing:-.02em;
 user-select:none;
 }
 #tehdoctor .brand .title{
 display:flex; flex-direction:column; gap:2px;
 line-height:1.1;
 }
 #tehdoctor .brand .title strong{ font-size: 16px; }
 #tehdoctor .brand .title span{ font-size: 12.5px; color: var(--muted); }
 #tehdoctor .td-nav{
 display:flex;
 gap: 6px;
 flex-wrap:wrap;
 justify-content:center;
 }
 #tehdoctor .td-nav a{
 font-size: 14px;
 padding: 10px 10px;
 border-radius: 12px;
 color: var(--muted) !important;
 font-weight: 800;
 }
 #tehdoctor .td-nav a:hover{
 background: rgba(2,6,23,.04);
 color: var(--text) !important;
 }
 #tehdoctor .header-actions{
 display:flex; align-items:center; gap:10px; justify-content:flex-end;
 min-width: 220px;
 }
 #tehdoctor .td-btn{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:10px;
 padding:12px 16px;
 border-radius: 14px;
 border:1px solid var(--line);
 background:#fff;
 font-weight:900;
 font-size: 14.5px;
 cursor:pointer;
 transition:.18s;
 user-select:none;
 }
 #tehdoctor .td-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }
 #tehdoctor .td-btn.primary{
 background: linear-gradient(135deg, var(--td-accent), var(--td-accent2)) !important;
 border-color: rgba(109,94,247,.25) !important;
 color:#fff !important;
 box-shadow: 0 14px 28px rgba(109,94,247,.22) !important;
 }
 #tehdoctor .td-btn.primary:hover{ filter: brightness(.985); }
 #tehdoctor .td-btn.ghost{
 background:#fff;
 color: var(--text) !important;
 border-color: var(--line);
 }
 #tehdoctor .section{ padding: clamp(22px, 3.5vw, 52px) 0; }
 #tehdoctor .grid{ display:grid; gap: 16px; }
 #tehdoctor .card{
 background: var(--card) !important;
 border: 1px solid rgba(230,235,242,.95);
 border-radius: var(--radius2);
 padding: 18px;
 box-shadow: 0 10px 26px rgba(2,6,23,.06);
 }
 #tehdoctor .hero{
 display:grid;
 grid-template-columns: 1.15fr .85fr;
 gap: 18px;
 align-items:stretch;
 }
 #tehdoctor .hero h1{
 margin:0 0 10px;
 font-size: clamp(28px, 3.4vw, 50px);
 letter-spacing: -0.03em;
 line-height: 1.05;
 }
 #tehdoctor .hero p{
 margin:0 0 16px;
 font-size: clamp(15px, 1.25vw, 18px);
 color: var(--muted);
 max-width: 60ch;
 }
 #tehdoctor .hero-badges{
 display:flex;
 gap:10px;
 flex-wrap:wrap;
 margin: 12px 0 16px;
 }
 #tehdoctor .badge{
 font-size: 14px;
 padding: 8px 10px;
 border-radius: 999px;
 background:#fff;
 border:1px solid var(--line);
 color: var(--muted);
 display:inline-flex;
 gap:8px;
 align-items:center;
 font-weight: 800;
 }
 #tehdoctor .badge i{
 width:10px; height:10px; border-radius:999px;
 background: var(--td-accent);
 display:inline-block;
 }
 #tehdoctor .hero-actions{
 display:flex;
 gap:10px;
 flex-wrap:wrap;
 margin-top: 6px;
 }
 #tehdoctor .td-freebar{
 margin-top: 12px;
 padding: 12px 14px;
 border-radius: 16px;
 background: rgba(109,94,247,.10);
 border: 1px solid rgba(109,94,247,.25);
 color:#0b1220;
 font-weight: 900;
 font-size: 15px;
 }
#tehdoctor .td-promo{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(109,94,247,.12);
  border: 1px solid rgba(109,94,247,.28);
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-weight: 900;
}
#tehdoctor .td-promo__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--td-accent), var(--td-accent2)) !important;
  color:#fff !important;
  font-size: 13px;
  letter-spacing:.02em;
}
#tehdoctor .td-promo b{white-space:nowrap;}
#tehdoctor .td-code{
  appearance:none;
  border:1px dashed rgba(109,94,247,.55);
  background: rgba(255,255,255,.75);
  color: var(--td-accent2);
  font-weight: 1000;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease;
}

#tehdoctor .td-promo-inline{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px dashed rgba(109,94,247,.35);
  background: rgba(109,94,247,.05);
}
#tehdoctor .td-promo-inline__row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
#tehdoctor .td-promo-inline__label{
  color: var(--muted);
  font-weight: 900;
}
#tehdoctor .td-promo-inline__note{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(15,23,42,.75);
}
#tehdoctor .td-code:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(2,6,23,.10); }
#tehdoctor .td-code:active{ transform: translateY(0); box-shadow: none; }
#tehdoctor .td-code--inline{
  padding: 4px 10px;
  font-size: 14px;
  vertical-align: middle;
}

#tehdoctor .td-promo-mini{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(109,94,247,.08);
  border: 1px solid rgba(109,94,247,.22);
  color: var(--text);
  font-weight: 900;
  font-size: 13.8px;
}
#tehdoctor .td-promo-note{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

 #tehdoctor .hero-side{
 background:#fff;
 border: 1px solid var(--line);
 border-radius: var(--radius2);
 padding: 18px;
 display:flex;
 flex-direction:column;
 gap: 12px;
 box-shadow: 0 10px 26px rgba(2,6,23,.05);
 }
 #tehdoctor .hero-side h3{ margin:0; font-size:16.5px; letter-spacing:-.01em; }
 #tehdoctor .service-toggle{ display:flex; gap:8px; flex-wrap:wrap; }
 #tehdoctor .toggle-btn{
 flex: 1 1 auto;
 text-align:center;
 padding: 10px 12px;
 border-radius: 14px;
 border:1px solid var(--line);
 background:#fff;
 font-weight:900;
 font-size: 14px;
 cursor:pointer;
 color: var(--muted);
 transition:.15s;
 user-select:none;
 }
 #tehdoctor .toggle-btn.active{
 background: rgba(109,94,247,.10) !important;
 border-color: rgba(109,94,247,.25) !important;
 color: var(--text);
 }
 #tehdoctor .mini{ color: var(--muted); font-size: 14px; }
 #tehdoctor .mini strong{ color: var(--text); }
 #tehdoctor .note{ margin-top: 10px; color: var(--muted); font-size: 14px; }
 #tehdoctor .services{ grid-template-columns: repeat(3, 1fr); }
 #tehdoctor .svc-title{
 display:flex; align-items:center; justify-content:space-between; gap:10px;
 margin-bottom: 10px;
 }
 #tehdoctor .svc-title h3{ margin:0; font-size: 16.5px; }
 #tehdoctor .svc-ic{
 width:42px; height:42px;
 border-radius: 16px;
 background:#fff;
 border:1px solid rgba(109,94,247,.20);
 display:grid; place-items:center;
 font-weight:900;
 color: var(--text);
 font-size: 14px;
 }
 #tehdoctor .svc ul{
 margin: 0;
 padding-left: 18px;
 color: var(--muted);
 font-size: 14.5px;
 }
 #tehdoctor .svc .td-btn{ margin-top: 12px; width:100%; }
 #tehdoctor .trust{ grid-template-columns: repeat(4, 1fr); }
 #tehdoctor .trust .card{
 display:flex; flex-direction:column; gap:6px; padding:16px;
 }
 #tehdoctor .trust b{ font-size: 14.5px; }
 #tehdoctor .trust span{ color: var(--muted); font-size: 13.8px; }
 #tehdoctor .steps{ grid-template-columns: repeat(3, 1fr); }
 #tehdoctor .step-num{
 width:34px; height:34px;
 border-radius: 14px;
 background:#fff;
 border:1px solid rgba(109,94,247,.22);
 display:grid; place-items:center;
 font-weight:900;
 color: var(--td-accent);
 font-size: 14px;
 }
 #tehdoctor .step h3{ margin:10px 0 6px; font-size: 16.5px; }
 #tehdoctor .step p{ margin:0; color: var(--muted); font-size: 14.5px; }
 #tehdoctor .pricing-head{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap: 12px;
 flex-wrap:wrap;
 margin-bottom: 12px;
 }
 #tehdoctor .pricing-head h2{ margin:0; font-size: 22.5px; letter-spacing:-.02em; }
 #tehdoctor .pricing-head p{ margin:0; color: var(--muted); font-size: 14px; max-width: 70ch; }
 #tehdoctor .price-table{
 width:100%;
 border-collapse:separate;
 border-spacing:0;
 overflow:hidden;
 border-radius: var(--radius2);
 border:1px solid var(--line);
 background:#fff;
 }
 #tehdoctor .price-table th, #tehdoctor .price-table td{
 padding: 12px 14px;
 border-bottom:1px solid var(--line);
 font-size: 14.5px;
 text-align:left;
 }
 #tehdoctor .price-table th{
 background:#f7f9fc;
 color: var(--muted);
 font-weight:900;
 font-size: 12.8px;
 text-transform: uppercase;
 letter-spacing:.06em;
 }
 #tehdoctor .price-table tr:last-child td{ border-bottom:none; }
 #tehdoctor .price{ font-weight:900; white-space:nowrap; }
 #tehdoctor .reviews{
 display:flex;
 gap: 12px;
 overflow:auto;
 scroll-snap-type:x mandatory;
 padding-bottom: 6px;
 }
 #tehdoctor .review{
 min-width: min(420px, 92%);
 scroll-snap-align:start;
 background:#fff;
 border:1px solid var(--line);
 border-radius: var(--radius2);
 padding: 16px;
 }
 #tehdoctor .review b{ display:block; margin-bottom: 6px; font-size: 15px; }
 #tehdoctor .review p{ margin:0; color: var(--muted); font-size: 15px; }
 #tehdoctor .review .stars{ letter-spacing:.2em; font-size: 13px; margin-bottom: 8px; color:#111827; }
 #tehdoctor .faq-item{
 border:1px solid var(--line);
 border-radius: var(--radius2);
 overflow:hidden;
 background:#fff;
 }
 #tehdoctor .faq-q{
 width:100%;
 text-align:left;
 border:0;
 background:#fff;
 padding: 14px 14px;
 cursor:pointer;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap: 10px;
 font-weight:900;
 color: var(--text);
 font-size: 15px;
 }
 #tehdoctor .faq-q span{ color: var(--muted); font-weight:900; }
 #tehdoctor .faq-a{
 padding: 0 14px 14px;
 color: var(--muted);
 font-size: 14.5px;
 display:none;
 }
 #tehdoctor .faq-item.open .faq-a{ display:block; }
 #tehdoctor .faq-item.open .faq-q span{ transform: rotate(45deg); }
 #tehdoctor .form{ display:grid; grid-template-columns: 1fr; gap: 12px; }
 #tehdoctor .field{ display:flex; flex-direction:column; gap: 6px; }
 #tehdoctor .field label{
 font-size: 12.8px;
 color: var(--muted);
 font-weight:900;
 letter-spacing:.02em;
 }
 #tehdoctor .field input, #tehdoctor .field select, #tehdoctor .field textarea{
 width:100%;
 border:1px solid var(--line);
 background:#fff;
 border-radius: 14px;
 padding: 12px 12px;
 font-size: 14.5px;
 outline:none;
 }
 #tehdoctor .field textarea{ min-height: 96px; resize: vertical; }
 #tehdoctor .form .wide{ grid-column: 1 / -1; }
 #tehdoctor .form-actions{
 display:flex;
 gap:10px;
 flex-wrap:wrap;
 grid-column: 1 / -1;
 align-items:center;
 }
 #tehdoctor .form-hint{
 color: var(--muted);
 font-size: 13px;
 opacity: .75;
 }
 #tehdoctor .form-hint a,
 #tehdoctor .td-footer a{
 color: var(--muted) !important;
 text-decoration: none !important;
 border-bottom: 1px dotted rgba(85,98,117,.45);
 }
 #tehdoctor .form-hint a:hover,
 #tehdoctor .td-footer a:hover{
 opacity: 1;
 border-bottom-color: rgba(85,98,117,.75);
 }
 #tehdoctor .success{
 display:none;
 margin-top: 12px;
 padding: 12px 14px;
 border-radius: 16px;
 background: rgba(109,94,247,.08);
 border: 1px solid rgba(109,94,247,.22);
 color: var(--text);
 font-weight:900;
 font-size: 14.5px;
 }
 #tehdoctor .success.show{ display:block; }
 #tehdoctor .td-error{display:none; margin-top:8px; padding:10px 12px; border-radius:14px; border:1px solid rgba(239,68,68,.35); background: rgba(239,68,68,.06); color:#7f1d1d; font-weight:800; font-size:13.5px;}
 #tehdoctor .td-error.show{display:block;}
 #tehdoctor .td-hint{display:none; margin-top:8px; padding:10px 12px; border-radius:14px; border:1px solid rgba(109,94,247,.28); background: rgba(109,94,247,.06); color: var(--text); font-weight:800; font-size:13.5px;}
 #tehdoctor .td-hint.show{display:block;}

 #tehdoctor .td-hp{position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; pointer-events:none; user-select:none;}
 #tehdoctor .td-footer{
 border-top:1px solid var(--line);
 padding: 18px 0 20px;
 color: var(--muted);
 font-size: 12.8px;
 }
 #tehdoctor .td-footer .row{
 display:flex;
 justify-content:space-between;
 gap: 12px;
 flex-wrap:wrap;
 align-items:center;
 }
 #tehdoctor .td-bottom .td-btn{ width:100%; }
 @media (max-width: 980px){
 #tehdoctor .hero{ grid-template-columns: 1fr; }
 #tehdoctor .services{ grid-template-columns: 1fr; }
 #tehdoctor .trust{ grid-template-columns: 1fr 1fr; }
 #tehdoctor .steps{ grid-template-columns: 1fr; }
 #tehdoctor .form{ grid-template-columns: 1fr; }
 #tehdoctor .header-actions{ min-width: auto; }
 #tehdoctor .td-nav{ display:none; }
 #tehdoctor .td-bottom{ display:block; }
 }
 #tehdoctor .t-rec[data-record-type="901"] a,
 #tehdoctor .t-rec[data-record-type="901"] button{
 background: linear-gradient(135deg, var(--td-accent), var(--td-accent2)) !important;
 border-color: rgba(109,94,247,.25) !important;
 color:#fff !important;
 box-shadow: 0 14px 28px rgba(109,94,247,.22) !important;
 }
 #tehdoctor .t-rec[data-record-type="901"] svg,
 #tehdoctor .t-rec[data-record-type="901"] svg path{
 fill:#fff !important;
 stroke:#fff !important;
 }
 #tildacоpy, .t-tildalаbеl, .t-tildalаbеl__wrapper, .t-tildalаbеl__text{
 display:none !important;
 visibility:hidden !important;
 opacity:0 !important;
 pointer-events:none !important;
 height:0 !important;
 width:0 !important;
 overflow:hidden !important;
 }
 #tehdoctor .td-modal__hint{display:block;}
 #tehdoctor .td-modal__hint-desktop{display:block; margin-top:6px; opacity:.9;}
 @media (max-width: 980px){
 #tehdoctor .td-modal__hint-desktop{display:none;}
 }
 #tehdoctor .td-modal{ position:fixed; inset:0; z-index:9999; display:none; }
 #tehdoctor .td-modal.show{ display:block; }
 #tehdoctor .td-modal__backdrop{ position:absolute; inset:0; background:rgba(2,6,23,.52); backdrop-filter: blur(6px); }
 #tehdoctor .td-modal__panel{
 position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
 width:min(520px, 92vw); background:#fff; border:1px solid var(--line);
 border-radius: var(--radius2); box-shadow: var(--shadow); padding:16px;
 }
 #tehdoctor .td-modal__top{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
 #tehdoctor .td-modal__title{ font-weight:900; font-size:16.5px; letter-spacing:-.01em; }
 #tehdoctor .td-modal__text{ margin-top:4px; color:var(--muted); font-size:14px; }
 #tehdoctor .td-modal__x{
 width:36px; height:36px; border-radius:12px; border:1px solid var(--line);
 background:#fff; font-size:20px; line-height:1; cursor:pointer;
 }
 #tehdoctor .td-modal__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
 #tehdoctor .td-modal__actions .td-btn{ flex:1 1 auto; }
 #tehdoctor .td-modal__hint{ margin-top:10px; color:var(--muted); font-size:12.5px; opacity:.8; }
 @supports (content-visibility:auto){
 #tehdoctor .section:not(#td-top){content-visibility:auto;contain-intrinsic-size:1px 900px;}
 }
 @media (max-width:980px),(prefers-reduced-motion:reduce){
 #tehdoctor{--shadow:0 6px 16px rgba(2,6,23,.06);}
 #tehdoctor .td-header,
 #tehdoctor .td-bottom,
 #tehdoctor .td-modal__backdrop{backdrop-filter:none;}
 #tehdoctor .td-btn{transition:none;}
 #tehdoctor .td-btn:hover{transform:none;box-shadow:none;}
 }



  
#tehdoctor .td-promo-msg{
  display:block;
  font-size:12px;
  line-height:1.35;
  color:var(--muted);
  font-weight:700;
  margin-top:6px;
}
#tehdoctor .td-promo-msg.error{
  color:#7f1d1d;
}
@media (max-width: 980px){
  #tehdoctor .td-promo-msg{font-size:11.5px;}
}


/* === Promo compact (mobile) === */
#tehdoctor .td-promo-note,
#tehdoctor .td-promo-msg,
#tehdoctor .td-promo-disclaimer{
  font-size:12px;
  line-height:1.35;
  color:var(--muted);
  font-weight:700;
}
@media (max-width: 980px){
  #tehdoctor .td-promo{
    padding:12px 12px !important;
    border-radius:18px !important;
  }
  #tehdoctor .td-promo-badge{
    min-width:52px !important;
    height:34px !important;
    border-radius:14px !important;
    font-size:13px !important;
  }
  #tehdoctor .td-promo-title{
    font-size:14px !important;
    line-height:1.2 !important;
  }
  #tehdoctor .td-promo-code{
    padding:8px 10px !important;
    font-size:14px !important;
    border-radius:14px !important;
  }
  #tehdoctor .td-promo-desc{
    font-size:13px !important;
    font-weight:800 !important;
    margin-top:6px !important;
  }
  #tehdoctor .td-promo-note,
  #tehdoctor .td-promo-msg,
  #tehdoctor .td-promo-disclaimer{
    font-size:11px !important;
    margin-top:6px !important;
  }
}


/* safety: hide modal even if DOM moves (shouldn't happen) */
.td-modal{display:none;}
.td-modal.show{display:block;}


/* === Mobile header stability (fix: sticky header partially hidden after programmatic scroll) === */
#tehdoctor{ --td-header-h: 78px; } /* will be synced by JS */
#tehdoctor #td-top,
#tehdoctor #td-prices,
#tehdoctor #td-steps,
#tehdoctor #td-faq,
#tehdoctor #td-order{
  scroll-margin-top: calc(var(--td-header-h) + 18px);
}
@media (max-width: 980px){
  #tehdoctor .top{
    position:fixed !important;
    top: calc(8px + env(safe-area-inset-top)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(var(--container), calc(100% - 16px)) !important;
    margin: 0 !important;
    z-index: 100 !important;
  }
  #tehdoctor .wrap{
    padding-top: calc(28px + var(--td-header-h) + 18px) !important;
  }
}


@media (max-width: 980px){
  #tehdoctor .td-header{ transform: translateZ(0); will-change: transform; }
}

/* === TD: hide proxy form block (t690 / uc-td-tgform) ===
   Best option: hide by class (survives rec id changes).
   Extra safety: also hide current rec id if it stays.
*/
.uc-td-tgform{
  display:none !important;
  height:0 !important;
  overflow:hidden !important;
}
#rec1775623081{
  display:none !important;
  height:0 !important;
  overflow:hidden !important;
}
