/* =====================================================================
   TOTOLAW — единый стиль сайта (подключается последним на всех страницах)
   Эталон: главная totolaw.ru. Правки стиля делать здесь, а не в страницах.
   ===================================================================== */

/* ---------- Шапка ---------- */
.tl-header{position:fixed !important;top:0;left:0;width:100%;z-index:9999;background:rgba(10,10,10,0.85) !important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,0.06) !important;font-family:'Inter',sans-serif !important;}
.tl-header-inner{box-sizing:content-box !important;max-width:1200px !important;margin:0 auto !important;padding:0 40px !important;height:72px !important;display:flex !important;align-items:center !important;}
.tl-header-logo{font-size:22px !important;font-weight:800 !important;letter-spacing:2px !important;color:#fff !important;-webkit-text-fill-color:#fff !important;text-decoration:none !important;}
.tl-header-logo span,.tl-logo-green{color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}
.tl-header-nav{margin-left:auto !important;gap:32px !important;display:flex !important;align-items:center !important;}
.tl-header-nav a{font-size:14px !important;font-weight:400 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;text-decoration:none !important;white-space:nowrap;}
.tl-header-nav a:hover{color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}
.tl-dropdown-menu a{color:#ccc !important;-webkit-text-fill-color:#ccc !important;}
.tl-dropdown-menu a:hover{color:#fff !important;-webkit-text-fill-color:#fff !important;}

/* Кнопка «Консультация» — в цветах сайта */
.tl-header-cta{margin-left:40px !important;flex-shrink:0 !important;padding:10px 28px !important;border-radius:24px !important;font-size:14px !important;font-weight:600 !important;background:#C8FF00 !important;border:1px solid #C8FF00 !important;color:#0A0A0A !important;-webkit-text-fill-color:#0A0A0A !important;text-decoration:none !important;transition:all 0.3s ease !important;}
.tl-header-cta:hover{background:#D4FF33 !important;border-color:#D4FF33 !important;color:#0A0A0A !important;-webkit-text-fill-color:#0A0A0A !important;transform:translateY(-1px);box-shadow:0 4px 16px rgba(200,255,0,0.25) !important;}

/* Мобильное меню: выезжает справа и прокручивается */
.tl-mobile-overlay{display:flex !important;position:fixed !important;top:72px !important;left:0 !important;right:0 !important;bottom:0 !important;width:auto !important;height:auto !important;background:rgba(10,10,10,0.98) !important;z-index:9998 !important;flex-direction:column !important;align-items:stretch !important;justify-content:flex-start !important;gap:0 !important;padding:24px 24px 40px !important;transform:translateX(100%);visibility:hidden;transition:transform 0.3s ease,visibility 0s linear 0.3s;overflow-y:auto !important;-webkit-overflow-scrolling:touch;}
.tl-mobile-overlay.active{transform:translateX(0);visibility:visible;transition:transform 0.3s ease;}
.tl-mobile-overlay a{font-size:16px !important;font-weight:400 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;text-decoration:none !important;padding:14px 0 !important;border-bottom:1px solid #1A1A1A !important;}
.tl-mobile-overlay a:hover{color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}
.tl-mobile-overlay a.tl-mobile-cta{background:#C8FF00 !important;color:#0A0A0A !important;-webkit-text-fill-color:#0A0A0A !important;border:none !important;border-radius:8px !important;padding:14px !important;margin-top:16px !important;text-align:center !important;font-weight:600 !important;}
@media(max-width:900px){.tl-header-inner{padding:0 20px !important;}.tl-header-nav{display:none !important;}.tl-burger{display:flex !important;}.tl-header-cta{display:none !important;}}

/* ---------- Первый экран ---------- */
.tl-hero h1,.zs-hero h1,.ab-hero h1,section h1{font-size:clamp(32px,4vw,60px) !important;font-weight:800 !important;line-height:1.1 !important;letter-spacing:normal !important;}
/* Плашка над заголовком */
.tl-hero-tag,.zs-hero-tag,section div:has(+ h1){display:inline-flex !important;align-items:center;padding:8px 20px !important;background:transparent !important;border:1px solid rgba(200,255,0,0.3) !important;border-radius:100px !important;color:#C8FF00 !important;font-size:13px !important;font-weight:500 !important;letter-spacing:1.5px !important;text-transform:uppercase !important;margin-bottom:40px !important;}
section div:has(+ h1) svg{display:none !important;}
/* О компании: первый экран по общей сетке, текст слева */
.ab-hero{text-align:left !important;padding:180px max(40px,calc((100% - 1200px) / 2)) 100px !important;}
.ab-hero p{margin:0 !important;}

/* ---------- Подписи и заголовки секций ---------- */
.tl-label,.lb,.ab-sec-label,.tl-reviews-label,.tl-section-label,.zs-label,section div[style*="text-transform:uppercase"][style*="C8FF00"]:has(+ h2){display:inline-block !important;position:relative !important;padding-left:20px !important;font-size:13px !important;font-weight:500 !important;letter-spacing:1.5px !important;text-transform:uppercase !important;color:#C8FF00 !important;margin-bottom:16px !important;line-height:1.4 !important;}
.tl-label::before,.lb::before,.ab-sec-label::before,.tl-reviews-label::before,.tl-section-label::before,.zs-label::before,section div[style*="text-transform:uppercase"][style*="C8FF00"]:has(+ h2)::before{content:'' !important;position:absolute !important;left:0 !important;top:50% !important;transform:translateY(-50%) rotate(45deg) !important;width:8px !important;height:8px !important;border:1px solid #C8FF00 !important;background:transparent !important;opacity:0.7 !important;display:block !important;}
.tl-title,.tt,.ab-sec-title,.ab-cta-title,.tl-reviews-title,.tl-section-title,.zs-title,section h2[style*="font-weight:800"]{font-size:clamp(28px,3.5vw,44px) !important;font-weight:700 !important;letter-spacing:normal !important;line-height:1.2 !important;}
.faq-title{font-size:clamp(26px,3vw,36px) !important;font-weight:700 !important;letter-spacing:normal !important;}

/* Разделительная линия с точкой — как на главной */
.s::after{content:'';position:absolute;top:-3px;left:50%;transform:translateX(-50%);width:7px;height:7px;background:#C8FF00;border-radius:50%;box-shadow:0 0 12px rgba(200,255,0,0.4),0 0 24px rgba(200,255,0,0.15);pointer-events:none;}
.s::before{background:linear-gradient(90deg,transparent 0%,rgba(200,255,0,0.15) 20%,rgba(200,255,0,0.3) 50%,rgba(200,255,0,0.15) 80%,transparent 100%) !important;}

/* ---------- Кнопки ---------- */
a[style*="background:#C8FF00"],button[style*="background:#C8FF00"],.ab-btn,
a[style*="border:1px solid #C8FF00"],button[style*="border:1px solid #C8FF00"]{border-radius:8px !important;font-weight:600 !important;}

/* ---------- Подвал ---------- */
footer span[style*="C8FF00"]{-webkit-text-fill-color:#C8FF00 !important;}
footer a{text-decoration:none !important;transition:color 0.2s ease;}
footer .tl-footer-grid a:hover{color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}

/* ---------- Мобильная версия ---------- */
@media(max-width:768px){
  section[style*="padding:"][style*=" 40px"]{padding-left:20px !important;padding-right:20px !important;}
  .tl-footer-grid{grid-template-columns:1fr 1fr !important;gap:32px 24px !important;}
  .tl-footer-grid>div:first-child{grid-column:1/-1;}
  footer{padding:40px 20px 32px !important;}
  .ab-stats{grid-template-columns:1fr 1fr !important;gap:12px !important;}
  .ab-stat{padding:28px 16px !important;}
  .ab-stat-num{font-size:40px !important;}
  .ab-hero{padding:140px 20px 60px !important;}
  .ab-section,.ab-cta-section{padding:60px 20px !important;}
}

/* Активный пункт меню (например, «Блог» в разделе блога) */
.tl-header-nav a.tl-nav-active{color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}

/* Фото юристов в карточках команды */
.tl-team-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;display:block;}
.ab-avatar{overflow:hidden;}
.ab-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}

/* ---------- Общие блоки страниц услуг («Почему мы», «Цифры», карточки) ---------- */
.s{padding:100px 40px;position:relative;font-family:'Inter',sans-serif;}
.s::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(1200px,calc(100% - 80px));height:1px;}
.alt{background:#111;}
.w{max-width:1200px;margin:0 auto;}
.tt{margin-bottom:20px;color:#fff;}
.ds{font-size:16px;color:#A0A0A0;max-width:600px;line-height:1.7;margin-bottom:48px;}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.g2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.cd{background:#1A1A1A;border:1px solid #2A2A2A;border-radius:16px;padding:32px;color:#fff;transition:border-color 0.3s,transform 0.3s;}
.cd:hover{border-color:rgba(200,255,0,0.35);transform:translateY(-4px);}
@media(max-width:1024px){.g4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:768px){.s{padding:60px 20px;}.g4,.g3,.g2{grid-template-columns:1fr;}}
/* Команда */
.tl-team{background:#0A0A0A;padding:100px 40px;font-family:'Inter',sans-serif;}
.tl-team-inner{max-width:1200px;margin:0 auto;}
.tl-team-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:60px;}
.tl-team-card{background:#1A1A1A;border:1px solid #2A2A2A;border-radius:16px;overflow:hidden;transition:all .3s ease;display:grid;grid-template-columns:200px 1fr;}
.tl-team-card:hover{border-color:#333;transform:translateY(-3px);box-shadow:0 16px 48px rgba(0,0,0,.3);}
.tl-team-photo{width:100%;height:100%;min-height:280px;background:#222;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.tl-team-photo img{width:100%;height:100%;object-fit:cover;}
.tl-team-photo-placeholder{font-size:56px;opacity:.3;}
.tl-team-info{padding:32px 28px;display:flex;flex-direction:column;justify-content:center;}
.tl-team-role{font-size:11px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:#C8FF00;margin-bottom:10px;}
.tl-team-name{font-size:19px;font-weight:700;color:#fff;margin-bottom:16px;line-height:1.3;}
.tl-team-spec{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;}
.tl-team-spec-tag{display:inline-block;padding:5px 12px;background:#222;border:1px solid #2A2A2A;border-radius:100px;font-size:11px;color:#D0D0D0;font-weight:400;white-space:nowrap;}
.tl-team-bio{font-size:14px;color:#A0A0A0;line-height:1.7;font-weight:300;}
@media(max-width:1024px){.tl-team-grid{grid-template-columns:1fr;max-width:640px;}}
@media(max-width:768px){.tl-team{padding:60px 20px;}.tl-team-grid{max-width:100%;}.tl-team-card{grid-template-columns:1fr;}.tl-team-photo{min-height:220px;}.tl-team-info{padding:24px 20px;}}

/* Блок «Сколько стоит» */
.tl-price{background:#0A0A0A;}
.tl-price .ds{margin-bottom:40px;}
.tl-price-list{border-top:1px solid #2A2A2A;}
.tl-price-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid #2A2A2A;}
.tl-price-name h3{font-size:17px;font-weight:600;color:#fff;margin:0 0 6px;line-height:1.35;}
.tl-price-name p{font-size:14px;color:#A0A0A0;margin:0;line-height:1.5;}
.tl-price-val{text-align:right;white-space:nowrap;flex-shrink:0;}
.tl-price-val b{display:block;font-size:20px;font-weight:700;color:#C8FF00;}
.tl-price-val span{display:block;font-size:13px;color:#777;margin-top:2px;}
.tl-price-note{font-size:14px;color:#888;line-height:1.6;margin:28px 0 0;max-width:820px;}
.tl-price-cta{display:inline-block;margin-top:32px;background:#C8FF00;color:#000 !important;font-weight:700;font-size:16px;padding:16px 32px;border-radius:8px;text-decoration:none;}
@media(max-width:768px){.tl-price-row{flex-direction:column;align-items:flex-start;gap:10px;padding:18px 0;}.tl-price-val{text-align:left;white-space:normal;}.tl-price-val b{font-size:18px;}}
