/* =====================================================================
   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;}}

/* 11.10.2026: шрифт мобильного меню (было Times) */
.tl-mobile-overlay,.tl-mobile-overlay a{font-family:'Inter',sans-serif !important;}

/* 07.11.2026: список услуг стал длиннее, на невысоких экранах прокручивается внутри */
.tl-dropdown-inner{max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain;}

/* ---------- Навигация v2 (10.11.2026): меню услуг в три колонки, мобильные группы ---------- */
.tl-header-nav .tl-dropdown-menu{position:fixed !important;top:72px !important;left:0 !important;right:0 !important;padding:0 20px !important;}
.tl-header-nav .tl-dropdown-inner.tl-mega{width:100% !important;min-width:0 !important;border-radius:0 0 16px 16px !important;}
.tl-dropdown-inner.tl-mega{display:grid !important;grid-template-columns:1.1fr 1fr 0.9fr;gap:8px 28px;max-width:1200px;margin:0 auto;padding:24px 28px !important;box-sizing:border-box;}
.tl-mega-col{display:flex;flex-direction:column;min-width:0;}
.tl-mega-h{font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#C8FF00;margin:0 0 8px;}
.tl-mega-g{font-size:12px;color:#6F6F6F;margin:12px 0 2px;}
.tl-mega-g:first-of-type{margin-top:0;}
.tl-dropdown-menu .tl-mega a{padding:7px 0 !important;white-space:normal !important;background:none !important;}
.tl-dropdown-menu .tl-mega a:hover{background:none !important;color:#C8FF00 !important;-webkit-text-fill-color:#C8FF00 !important;}
.tl-dropdown-menu .tl-mega a.tl-mega-help{border:1px solid #2A2A2A;border-radius:12px;padding:14px 16px !important;margin-top:18px;}
.tl-mega-help b{display:block;color:#fff;-webkit-text-fill-color:#fff;font-weight:600;margin-bottom:4px;}
.tl-mega-help span{display:block;color:#A0A0A0;-webkit-text-fill-color:#A0A0A0;font-size:13px;line-height:1.45;}
.tl-dropdown-menu .tl-mega a.tl-mega-help:hover{border-color:rgba(200,255,0,.4);}
.tl-mega .tl-mega-col:nth-child(3){grid-row:1;grid-column:3;}
.tl-mob-g{border-bottom:1px solid #1A1A1A;}
.tl-mob-g summary{list-style:none;cursor:pointer;font-family:'Inter',sans-serif;font-size:16px;color:#fff;padding:14px 0;display:flex;justify-content:space-between;align-items:center;}
.tl-mob-g summary::-webkit-details-marker{display:none;}
.tl-mob-g summary:after{content:"+";color:#C8FF00;font-size:20px;line-height:1;}
.tl-mob-g[open] summary:after{content:"−";}
.tl-mobile-overlay .tl-mob-g a{display:block !important;font-size:15px !important;color:#BDBDBD !important;-webkit-text-fill-color:#BDBDBD !important;padding:11px 0 11px 14px !important;border-bottom:none !important;}
@media(max-width:1100px){.tl-dropdown-inner.tl-mega{grid-template-columns:1fr 1fr;}.tl-mega .tl-mega-col:nth-child(3){grid-column:auto;grid-row:auto;}}
/* v12: меню не закрывается, пока курсор идёт от «Услуги» к ссылкам */
.tl-header-nav .tl-dropdown{height:72px;display:flex;align-items:center;}
.tl-header-nav .tl-dropdown-menu{display:block !important;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .15s ease,visibility 0s linear .25s;}
.tl-header-nav .tl-dropdown:hover .tl-dropdown-menu,.tl-header-nav .tl-dropdown:focus-within .tl-dropdown-menu{visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s;}
.tl-header-nav .tl-dropdown-menu:before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}

/* v13 (11.11.2026): блок «Подробно» на страницах услуг во всю ширину, карточки в 2 колонки, свёрнут + CTA */
.tl-prose[data-v="2"]{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.tl-prose[data-v="2"] .tl-pc{background:#111;border:1px solid #222;border-radius:16px;padding:28px 30px 14px;min-width:0}
.tl-prose[data-v="2"] .tl-pc-wide{grid-column:1/-1}
.tl-prose[data-v="2"] .tl-pc h2{margin:0 0 14px;font-size:clamp(20px,2vw,24px)}
.tl-prose[data-v="2"] .tl-pc .tl-tw{margin:12px 0 18px}
.tl-prose-wrap{position:relative}
.tl-prose-wrap.cut .tl-prose{max-height:760px;overflow:hidden}
.tl-prose-wrap.cut:after{content:"";position:absolute;left:0;right:0;bottom:64px;height:220px;background:linear-gradient(rgba(10,10,10,0),#0a0a0a);pointer-events:none}
.tl-prose-more{display:block;margin:18px auto 0;background:none;border:1px solid #333;color:#fff;border-radius:999px;padding:12px 26px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer}
.tl-prose-more:hover{border-color:#C8FF00;color:#C8FF00}
.tl-prose-wrap:not(.cut) .tl-prose-more{display:none}
.tl-prose-cta{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#C8FF00;color:#0a0a0a;border-radius:16px;padding:26px 30px}
.tl-prose-cta b{display:block;font-size:20px;font-weight:800;margin-bottom:4px;color:#0a0a0a}
.tl-prose-cta span{font-size:15px;opacity:.8}
.tl-prose-cta a{background:#0a0a0a;color:#fff;text-decoration:none;font-weight:700;border-radius:999px;padding:14px 26px;white-space:nowrap}
@media(max-width:900px){.tl-prose[data-v="2"]{grid-template-columns:1fr}.tl-prose[data-v="2"] .tl-pc{padding:22px 18px 8px}.tl-prose-wrap.cut .tl-prose{max-height:900px}.tl-prose-cta{padding:22px 18px}.tl-prose-cta a{width:100%;text-align:center}}
