/* Шаблон НТЛ для Joomla 5. Палитра — по основному сайту vsypraktica.ru */
:root {
  --navy: #354D73;
  --slate: #4A5B73;
  --deep: #1F2B40;
  --orange: #FF6B35;
  --orange-dark: #E85A26;
  --purple: #7D3F92;
  --violet: #9B5CC4;
  --bg: #F4F5F8;
  --card: #FFFFFF;
  --ink: #212529;
  --text: #4A4A4A;
  --muted: #64748B;
  --line: #E3E7EE;
  --soft: #EEF1F6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(53, 77, 115, .10);
  --shadow-lg: 0 24px 60px rgba(31, 43, 64, .18);
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.ntl { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
.ntl h1, .ntl h2, .ntl h3, .ntl h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 0; }
.ntl p, .ntl ul, .ntl blockquote { margin: 0; }
.ntl a { color: inherit; text-decoration: none; }
.ntl svg { display: block; flex-shrink: 0; }
.ntl img { max-width: 100%; height: auto; }
.ntl-container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ntl main > section { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--purple); background: rgba(125, 63, 146, .08); padding: 7px 14px; border-radius: 999px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .section-title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 16px 0 14px !important; }
.section-head p { color: var(--muted); font-size: 18px; }
.ntl h2 em { font-style: normal; background: linear-gradient(90deg, var(--purple), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ntl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 15px var(--font-body); padding: 15px 28px; border-radius: 25px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.ntl-btn-orange { background: var(--orange); color: #fff !important; box-shadow: 0 10px 24px rgba(255, 107, 53, .32); }
.ntl-btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 107, 53, .4); }
.ntl-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.ntl-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.ntl-btn-slate { background: var(--slate); color: #fff !important; }
.ntl-btn-slate:hover { background: var(--navy); transform: translateY(-2px); }
.ntl-btn svg { transition: transform .2s; }
.ntl-btn:hover svg { transform: translateX(3px); }
.ntl-btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--deep); color: #C9D2E0; font-size: 14px; }
.topbar .ntl-container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links a { display: flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-links a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; font: 700 11px var(--font-head); color: #fff; }
.socials a:hover { background: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(31, 43, 64, .08); border-color: var(--line); }
.ntl-nav { display: flex; align-items: center; gap: 28px; height: 80px; transition: height .3s; }
.site-header.scrolled .ntl-nav { height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark { width: 46px; height: 46px; }
.logo-img { max-height: 52px; width: auto; }
.logo-text b { display: block; font: 800 20px var(--font-head); color: var(--navy); letter-spacing: .02em; line-height: 1; }
.logo-text span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 3px; max-width: 150px; }
.logo-text span:only-child { font: 700 15px/1.2 var(--font-head); color: var(--navy); margin: 0; max-width: 140px; }
.site-footer .logo-text span:only-child { color: #fff; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font: 600 15px var(--font-head); color: var(--slate); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; position: relative; padding: 0; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 27px; }
.burger.open i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.ntl main > section.hero { position: relative; background: radial-gradient(1200px 600px at 85% 20%, rgba(155, 92, 196, .35), transparent 60%), radial-gradient(800px 500px at 10% 100%, rgba(255, 107, 53, .14), transparent 60%), linear-gradient(135deg, var(--deep) 0%, var(--navy) 55%, #3E3366 100%); color: #fff; padding: 88px 0 120px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.license-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 14px; color: #DCE3EE; }
.license-pill b { background: var(--orange); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.ntl .hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFB088, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; color: #C9D2E0; max-width: 560px; margin-bottom: 34px !important; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 40px; margin-top: 52px; justify-content: start; }
.hero-stats b { display: block; font: 800 34px var(--font-head); color: #fff; }
.hero-stats span { font-size: 14px; color: #AEB9CC; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-left: auto; }
.hex-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hex-net .line { stroke-dasharray: 4 6; animation: ntlDash 18s linear infinite; }
@keyframes ntlDash { to { stroke-dashoffset: -200; } }
.hex { position: absolute; width: 23%; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; background: linear-gradient(145deg, rgba(155, 92, 196, .55), rgba(53, 77, 115, .55)); animation: ntlFloat 7s ease-in-out infinite; isolation: isolate; }
.hex::before { content: ''; position: absolute; inset: 2px; clip-path: inherit; background: linear-gradient(145deg, rgba(42, 30, 70, .9), rgba(31, 43, 64, .92)); z-index: -1; }
.hex svg { width: 42%; height: 42%; color: #E7D6F3; }
.hex.main { width: 38%; left: 31%; top: 30%; background: linear-gradient(145deg, var(--violet), var(--orange)); animation-duration: 9s; }
.hex.main::before { background: linear-gradient(145deg, #3B2560, #2A3550); }
.hex.main svg { width: 46%; height: 46%; }
.hex:nth-of-type(2) { left: 6%; top: 8%; animation-delay: -1s; }
.hex:nth-of-type(3) { right: 4%; top: 4%; animation-delay: -2s; }
.hex:nth-of-type(4) { left: 0; top: 52%; animation-delay: -3s; }
.hex:nth-of-type(5) { right: 0; top: 50%; animation-delay: -4s; }
.hex:nth-of-type(6) { left: 38%; bottom: -2%; animation-delay: -5s; }
@keyframes ntlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-badge { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; animation: ntlFloat 6s ease-in-out infinite; z-index: 2; }
.hero-badge .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hero-badge .ic-orange { background: var(--orange); }
.hero-badge .ic-purple { background: var(--purple); }
.hero-badge b { display: block; font: 800 15px var(--font-head); }
.hero-badge small { color: var(--muted); font-size: 12px; }
.hero-badge.b1 { left: -6%; bottom: 20%; animation-delay: -2s; }
.hero-badge.b2 { right: -4%; top: 30%; animation-delay: -4s; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; width: 100%; }
.hero-wave path { fill: var(--bg); }

/* ---------- Cards (directions) ---------- */
.ntl main > section.directions { padding-top: 0; }
.ntl main > section.directions.is-overlap { margin-top: -70px; position: relative; z-index: 2; }
.ntl main > section.directions:not(.is-overlap) { padding-top: 96px; }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dir { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.dir::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--purple), var(--orange)); transform: scaleX(0); transition: transform .35s; }
.dir:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dir:hover::after { transform: scaleX(1); }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s; flex-shrink: 0; }
.icon-circle svg { width: 26px; height: 26px; }
.dir:hover .icon-circle { background: var(--purple); transform: rotate(-8deg) scale(1.05); }
.ntl .dir h3 { font-size: 17px; font-weight: 700; }
.dir p { font-size: 14px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid.is-single { grid-template-columns: minmax(0, 760px); }
.about-text p { margin-bottom: 16px !important; font-size: 17px; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 32px !important; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ''; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; background: rgba(255, 107, 53, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stat-card.is-navy { background: linear-gradient(145deg, var(--navy), var(--slate)); color: #fff; }
.stat-card.is-purple { background: linear-gradient(145deg, var(--purple), #5C2E74); color: #fff; }
.stat-num { font: 800 46px var(--font-head); color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat-card.is-navy .stat-num, .stat-card.is-purple .stat-num { color: #fff; }
.stat-card p { font-size: 15px; }
.stat-card.is-white p { color: var(--muted); }
.about-cards .stat-card:nth-child(even) { margin-top: 28px; }

/* ---------- Formats ---------- */
.ntl main > section.formats { background: var(--card); }
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.format { border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s, box-shadow .3s; background: var(--card); }
.format:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.format-tag { font: 800 13px var(--font-head); letter-spacing: .08em; color: var(--orange); margin-bottom: 18px; }
.ntl .format h3 { font-size: 23px; margin-bottom: 12px; }
.format p { color: var(--muted); margin-bottom: 22px !important; }
.format ul { list-style: none; display: grid; gap: 8px; margin-bottom: 26px !important; font-size: 15px; padding: 0; }
.format li { display: flex; gap: 10px; }
.format li::before { content: '—'; color: var(--purple); font-weight: 700; }
.format .link { margin-top: auto; font: 700 15px var(--font-head); color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.format .link:hover { color: var(--orange); }
.format.featured { background: linear-gradient(160deg, var(--deep), var(--navy)); border: 0; color: #C9D2E0; }
.ntl .format.featured h3 { color: #fff; }
.format.featured p { color: #AEB9CC; }
.format.featured li::before { color: var(--orange); }
.format.featured .link { color: #fff; }

/* ---------- Programs ---------- */
.ntl-tabs { display: inline-flex; background: var(--card); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 36px; gap: 4px; flex-wrap: wrap; }
.ntl-tab { border: 0; background: none; font: 700 15px var(--font-head); color: var(--slate); padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.ntl-tab.active { background: var(--slate); color: #fff; }
.ntl-tab small { opacity: .7; font-weight: 600; margin-left: 4px; }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.prog { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog.is-hidden { display: none; }
.prog.pop { animation: ntlRise .45s both; }
@keyframes ntlRise { from { opacity: 0; transform: translateY(18px); } }
.prog-top { height: 120px; position: relative; display: flex; align-items: flex-end; padding: 18px 22px; color: #fff; overflow: hidden; }
.prog-top.is-navy { background: linear-gradient(135deg, #354D73, #4A5B73); }
.prog-top.is-purple { background: linear-gradient(135deg, #7D3F92, #4A5B73); }
.prog-top.is-violet { background: linear-gradient(135deg, #5C2E74, #9B5CC4); }
.prog-top.is-dark { background: linear-gradient(135deg, #1F2B40, #354D73); }
.prog-top.is-orange { background: linear-gradient(135deg, #FF6B35, #E8443A); }
.prog-top.is-sunset { background: linear-gradient(135deg, #E85A26, #7D3F92); }
.prog-top svg.bg { position: absolute; right: -20px; top: -20px; width: 160px; height: 160px; opacity: .18; }
.prog-top .icon-circle { background: rgba(255,255,255,.18); }
.prog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prog-type { font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.ntl .prog h3 { font-size: 19px; margin: 8px 0 10px; }
.prog h3 a:hover { color: var(--orange); }
.prog p { font-size: 15px; color: var(--muted); margin-bottom: 18px !important; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.prog-meta span { font-size: 12px; font-weight: 700; background: var(--soft); color: var(--slate); padding: 4px 10px; border-radius: 999px; }
.prog .ntl-btn { margin-top: auto; padding: 12px 20px; font-size: 14px; }

/* ---------- Dark block (intervision) ---------- */
.ntl main > section.interv { background: linear-gradient(135deg, var(--deep), var(--navy) 60%, #45306B); color: #C9D2E0; position: relative; overflow: hidden; }
.interv::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(255,107,53,.22), transparent 65%); pointer-events: none; }
.ntl .interv .section-head h2 { color: #fff; }
.interv .section-head { margin-bottom: 32px; }
.interv .section-head p { color: #AEB9CC; }
.interv .eyebrow, .ntl-lead .eyebrow { color: #F0C6FF; background: rgba(255,255,255,.08); }
.interv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.ntl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ntl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; font-size: 15px; transition: background .25s, border-color .25s, transform .25s; }
.ntl-chip:hover { background: rgba(255,107,53,.18); border-color: var(--orange); transform: translateY(-2px); }
.ntl-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.interv-types { display: grid; gap: 16px; }
.itype { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.itype .icon-circle { background: var(--orange); }
.ntl .itype h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.itype p { font-size: 15px; color: #AEB9CC; }

/* ---------- Features ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.adv { text-align: center; padding: 34px 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s; }
.adv:hover { transform: translateY(-6px); }
.adv .icon-circle { margin: 0 auto 18px; width: 72px; height: 72px; background: var(--soft); color: var(--navy); }
.adv .icon-circle svg { width: 32px; height: 32px; }
.ntl .adv h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.adv p { font-size: 15px; color: var(--muted); }

/* ---------- Steps ---------- */
.ntl main > section.steps-wrap { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); display: grid; place-items: center; font: 800 22px var(--font-head); color: var(--navy); position: relative; z-index: 1; transition: background .4s, border-color .4s, color .4s; }
.step.lit .step-num { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255,107,53,.35); }
.ntl .step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Highlight ---------- */
.career { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.career-num { background: linear-gradient(150deg, var(--orange), #E8443A 60%, var(--purple)); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.career-num::after { content: ''; position: absolute; width: 300px; height: 300px; border: 40px solid rgba(255,255,255,.08); border-radius: 50%; right: -120px; bottom: -120px; }
.career-num b { font: 800 clamp(64px, 9vw, 110px) var(--font-head); line-height: 1; }
.career-num span { font-size: 19px; opacity: .92; margin-top: 10px; max-width: 280px; }
.career-text { padding: 56px 48px; }
.ntl .career-text h2 { font-size: clamp(26px, 3vw, 36px); margin: 16px 0; }
.career-text p { margin-bottom: 26px !important; font-size: 17px; }

/* ---------- Quote ---------- */
.quote-card { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: var(--card); border-radius: 28px; padding: 56px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.quote-card::before { content: '\201C'; position: absolute; right: 40px; top: -40px; font: 800 260px var(--font-head); color: var(--soft); line-height: 1; }
.quote-card > div { position: relative; }
.avatar-hex { width: 160px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(145deg, var(--purple), var(--navy)); display: grid; place-items: center; color: #fff; font: 800 44px var(--font-head); overflow: hidden; }
.avatar-hex img { width: 100%; height: 100%; object-fit: cover; }
.quote-card blockquote { font: 700 clamp(20px, 2.4vw, 27px) var(--font-head); color: var(--navy); line-height: 1.4; margin: 18px 0 !important; }
.quote-author { margin-top: 20px; }
.quote-author b { display: block; color: var(--ink); font: 800 17px var(--font-head); }
.quote-author span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .section-head { margin: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 700 17px var(--font-head); color: var(--ink); cursor: pointer; }
.faq-q .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); position: relative; flex-shrink: 0; transition: background .3s, transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s, background .3s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .pm { background: var(--orange); transform: rotate(180deg); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Lead form ---------- */
.ntl-lead { background: linear-gradient(135deg, var(--slate), var(--navy)); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; color: #DCE3EE; position: relative; overflow: hidden; }
.ntl-lead::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5'/%3E%3C/svg%3E"); pointer-events: none; }
.ntl-lead > * { position: relative; }
.ntl .ntl-lead h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0; }
.lead-contacts { display: grid; gap: 14px; margin-top: 30px; }
.lead-contacts > a, .lead-contacts > div { display: flex; gap: 14px; align-items: center; }
.lead-contacts .icon-circle { width: 44px; height: 44px; background: rgba(255,255,255,.12); }
.lead-contacts .icon-circle svg { width: 20px; height: 20px; }
.lead-contacts b { color: #fff; display: block; }
.lead-contacts small { font-size: 13px; color: #AEB9CC; }
.lead-form { background: var(--card); border-radius: 22px; padding: 32px; display: grid; gap: 14px; color: var(--text); box-shadow: var(--shadow-lg); margin: 0; }
.ntl .lead-form h3 { font-size: 22px; }
.ntl-field { display: grid; gap: 6px; }
.ntl-field label { font-size: 14px; font-weight: 700; color: var(--slate); }
.ntl-field input, .ntl-field select { font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; height: auto; }
.ntl-field input:focus, .ntl-field select:focus { outline: none; border-color: var(--slate); background: #fff; box-shadow: 0 0 0 4px rgba(74, 91, 115, .12); }
.ntl-field.bad input, .ntl-field.bad select { border-color: #E5484D; }
.ntl-field .err { font-size: 12px; color: #E5484D; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; cursor: pointer; }
.consent a { text-decoration: underline; }
.consent input { margin-top: 3px; accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.consent.bad { color: #E5484D; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FDECEC; color: #B42318; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.lead-form .ntl-btn { width: 100%; }
.form-ok { text-align: center; padding: 30px 10px; }
.form-ok:not([hidden]) { animation: ntlRise .5s; }
.form-ok .icon-circle { margin: 0 auto 18px; width: 72px; height: 72px; background: var(--orange); }
.form-ok p { color: var(--muted); margin-top: 8px !important; }

/* ---------- Partners ---------- */
.ntl main > section.partners { overflow: hidden; }
.marquee { overflow: hidden; padding: 12px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: ntlMarquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes ntlMarquee { to { transform: translateX(calc(-50% - 12px)); } }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.partner { flex: 0 0 auto; width: 230px; height: 104px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); display: grid; place-items: center; padding: 16px 24px; transition: transform .3s, box-shadow .3s; }
.partners-grid .partner { width: auto; }
.partner img { max-height: 70px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner:hover img, .partner:focus-visible img { filter: none; opacity: 1; }

/* Кнопка под содержимым блока */
.block-action { margin-top: 32px; }
.block-action.center { text-align: center; margin-top: 40px; }

/* Соседние блоки на одном фоне — без двойного отступа */
.ntl main > section.highlight + section.quote,
.ntl main > section.quote + section.faq,
.ntl main > section.faq + section.lead-section,
.ntl main > section.quote + section.partners,
.ntl main > section.partners + section.faq,
.ntl main > section.features + section.highlight { padding-top: 0; }

/* ---------- Inner pages (component) ---------- */
.ntl-page { padding: 56px 0 96px; }
.ntl-page h1, .ntl-page h2 { margin: 0 0 20px; }
.ntl-page p, .ntl-page ul, .ntl-page ol { margin: 0 0 16px; }
.ntl-page a { color: var(--navy); text-decoration: underline; }
.ntl-messages:not(:empty) { padding-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #AEB9CC; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text span { color: #AEB9CC; }
.ntl .site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; padding: 0; }
.site-footer a:hover { color: var(--orange); }
.foot-about { margin-top: 18px !important; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; flex-wrap: wrap; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(255,107,53,.4); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { transform: rotate(-90deg); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: ntlHeroIn .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes ntlHeroIn { from { opacity: 0; transform: translateY(28px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .ntl main > section { padding: 72px 0; }
  .burger { display: block; }
  .nav-links { position: fixed; top: 80px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 12px 16px 24px; box-shadow: 0 20px 40px rgba(31,43,64,.15); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .3s; }
  .site-header.scrolled .nav-links { top: 68px; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a::after { display: none; }
  .ntl-nav > .ntl-btn { display: none; }
  .hero-grid, .about-grid, .interv-grid, .faq-grid, .ntl-lead, .career { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 20px auto 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .quote-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .avatar-hex { width: 110px; font-size: 32px; }
}
@media (max-width: 640px) {
  .topbar-links a:not(:first-child) { display: none; }
  .logo-text span { display: none; }
  .ntl main > section.hero { padding: 56px 0 110px; }
  .hero-stats { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stats b { font-size: 26px; }
  .hero-stats span { font-size: 12px; }
  .hero-badge { display: none; }
  .hero-actions .ntl-btn { flex: 1 1 100%; }
  .dir-grid, .about-cards { grid-template-columns: 1fr; }
  .about-cards .stat-card:nth-child(even) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .ntl-tabs { display: flex; }
  .ntl-tab { flex: 1; padding: 12px 10px; }
  .career-num, .career-text { padding: 36px 26px; }
  .lead-form { padding: 24px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}
