/* ХексДиз — дизайн-система: базовые стили; тема «Бенто 2» — последний раздел файла */
:root {
  --c-primary: #3D2BFF;
  --c-primary-hover: #2B1CD6;
  --c-primary-soft: #ECEAFF;
  --c-ink: #0B1220;
  --c-ink-2: #2A3344;
  --c-muted: #6B7280;
  --c-surface: #FFFFFF;
  --c-surface-2: #F7F7FB;
  --c-surface-3: #EFEFF6;
  --c-border: #E6E6EF;
  --c-border-strong: #D4D4E2;

  --c-coral: #FF5A3C;
  --c-violet: #8B5CF6;
  --c-yellow: #FFC21A;
  --c-teal: #12B5A5;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --pad-x: clamp(16px, 4vw, 56px);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 var(--font-sans); color: var(--c-ink); background: var(--c-surface); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--c-ink); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
.narrow { max-width: 880px; }
.mono { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }

/* Typography */
.h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--c-ink-2); max-width: 760px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--inv { color: #fff; }
.shead { margin-bottom: 40px; display: grid; gap: 16px; }
.shead .eyebrow { margin: 0; }
.link { font-weight: 600; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); }
.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: #fff; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--c-border); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--c-ink); }
.logo:hover { text-decoration: none; }
.logo__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 30px; height: 30px; flex: none; }
.logo__mark i { border-radius: 4px; background: var(--c-primary); }
.logo__mark i:nth-child(1) { border-radius: 50% 4px 4px 4px; background: var(--c-coral); }
.logo__mark i:nth-child(2) { background: var(--c-primary); }
.logo__mark i:nth-child(3) { grid-column: span 2; background: var(--c-yellow); border-radius: 4px 4px 12px 12px; }
.logo__txt { display: grid; line-height: 1.05; }
.logo__txt b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.logo__txt small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--c-muted); margin-top: 3px; }
.logo--inv { color: #fff; }
.logo--inv .logo__txt small { color: rgba(255,255,255,.6); }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--c-ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a[aria-current] { color: var(--c-primary); }
.nav__phone { display: none; }
.hdr__side { display: flex; align-items: center; gap: 14px; }
.hdr__phone { color: var(--c-ink); font-weight: 600; font-size: 15px; white-space: nowrap; }

.city { position: relative; }
.city summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--c-border-strong); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; background: #fff; }
.city summary::-webkit-details-marker { display: none; }
.city summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.city__menu { position: absolute; right: 0; top: 44px; min-width: 220px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: 0 16px 40px rgba(11,18,32,.12); padding: 8px; display: grid; }
.city__menu a, .city__menu span { padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--c-ink); }
.city__menu a:hover { background: var(--c-surface-2); text-decoration: none; }
.city__menu span { color: var(--c-muted); display: flex; justify-content: space-between; }
.city__menu small { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--c-border-strong); border-radius: var(--r-md); background: #fff; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--c-ink); content: ""; transition: transform .2s; }
.burger span { top: 19px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }

/* Sections */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec--soft { background: var(--c-surface-2); }
.sec--dark { background: var(--c-ink); color: #fff; }
.sec--dark .eyebrow { color: #A89CFF; }
.sec--dark .lead { color: rgba(255,255,255,.75); }
.sec--brand { background: var(--c-primary); color: #fff; }
.sec--brand p { color: rgba(255,255,255,.88); }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > div > p + p { margin-top: 14px; }
.split .shead { margin-bottom: 24px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); border: 1px solid #C9C2FF; background: var(--c-primary-soft); border-radius: 999px; padding: 7px 14px; margin-bottom: 24px; }
.hero__lead { font-size: 20px; line-height: 1.5; color: var(--c-ink-2); margin-top: 24px; max-width: 620px; }
.hero__sub { color: var(--c-muted); margin-top: 12px; max-width: 600px; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); display: flex; align-items: center; gap: 6px; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.chips--sm { margin: 12px 0 14px; }
.chips--sm li { font-size: 12px; padding: 4px 10px; background: var(--c-primary-soft); border-color: transparent; color: var(--c-primary); }
.hero__art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.tile .art { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.tile__lbl { position: absolute; left: 14px; bottom: 12px; color: rgba(11,18,32,.7); background: rgba(255,255,255,.8); padding: 3px 8px; border-radius: 6px; font-size: 11px; }

/* Abstract art (заглушки вместо фото) */
.art { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; }
.art i { position: absolute; display: block; }
.art--coral { background: #FFE3DC; }
.art--violet { background: #EAE2FF; }
.art--yellow { background: #FFF1C7; }
.art--teal { background: #D5F4F0; }
.art--coral i { background: var(--c-coral); }
.art--violet i { background: var(--c-violet); }
.art--yellow i { background: var(--c-yellow); }
.art--teal i { background: var(--c-teal); }
/* реклама: мегафон-лучи и прямоугольник-баннер */
.art--coral .art__a { width: 62%; height: 34%; left: 10%; top: 18%; border-radius: 10px; }
.art--coral .art__b { width: 40%; height: 40%; right: -6%; bottom: -8%; border-radius: 50%; opacity: .55; }
.art--coral .art__c { width: 30%; height: 8%; left: 10%; top: 60%; border-radius: 99px; background: var(--c-ink) !important; }
.art--coral .art__d { width: 18%; height: 8%; left: 44%; top: 60%; border-radius: 99px; opacity: .6; }
/* дизайн: окно интерфейса */
.art--violet .art__a { width: 72%; height: 62%; left: 14%; top: 18%; border-radius: 14px; background: #fff !important; box-shadow: 0 10px 30px rgba(139,92,246,.25); }
.art--violet .art__b { width: 72%; height: 12%; left: 14%; top: 18%; border-radius: 14px 14px 0 0; }
.art--violet .art__c { width: 26%; height: 30%; left: 20%; top: 38%; border-radius: 10px; opacity: .35; }
.art--violet .art__d { width: 32%; height: 7%; left: 50%; top: 42%; border-radius: 99px; background: var(--c-ink) !important; }
/* графдизайн: геометрия-логотип */
.art--yellow .art__a { width: 42%; aspect-ratio: 1; left: 12%; top: 16%; border-radius: 50%; }
.art--yellow .art__b { width: 34%; aspect-ratio: 1; right: 12%; bottom: 14%; background: var(--c-ink) !important; }
.art--yellow .art__c { width: 26%; aspect-ratio: 1; left: 44%; top: 38%; background: var(--c-coral) !important; border-radius: 50% 0 50% 50%; }
.art--yellow .art__d { width: 4%; height: 70%; left: 8%; bottom: 0; }
/* фото: объектив */
.art--teal .art__a { width: 56%; aspect-ratio: 1; left: 22%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--c-ink) !important; }
.art--teal .art__b { width: 36%; aspect-ratio: 1; left: 32%; top: 50%; transform: translateY(-50%); border-radius: 50%; }
.art--teal .art__c { width: 12%; aspect-ratio: 1; left: 44%; top: 42%; border-radius: 50%; background: #fff !important; opacity: .8; }
.art--teal .art__d { width: 16%; height: 10%; right: 8%; top: 10%; border-radius: 6px; background: var(--c-ink) !important; }
.tile .art--coral .art__a, .tile .art--violet .art__a { top: 22%; }

/* Features */
.feat { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.feat__n { color: var(--c-primary); }
.feat p { color: var(--c-ink-2); font-size: 15px; }

/* Direction cards */
.dcard { border: 1px solid var(--c-border); border-radius: var(--r-xl); overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; transition: border-color .15s, box-shadow .15s; }
.dcard:hover { border-color: var(--c-border-strong); box-shadow: 0 16px 40px rgba(11,18,32,.07); }
.dcard .art { border-radius: 0; aspect-ratio: 16 / 7; }
.dcard__body { padding: 24px 28px 28px; display: grid; gap: 12px; align-content: start; }
.dcard h3 { font-size: 22px; }
.dcard h3 a { color: var(--c-ink); }


.note { margin-top: 28px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--c-surface-2); display: grid; gap: 12px; color: var(--c-ink-2); }

/* About: what graduate does */
.doit { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; }
.doit__h { margin-bottom: 16px; }
.doit ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doit li { background: var(--c-surface-2); border-radius: var(--r-md); padding: 12px 14px 12px 38px; font-size: 14px; font-weight: 500; position: relative; }
.doit li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--c-primary); }

/* Dean */
.dean { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dean__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); background: repeating-linear-gradient(135deg, #ECEBF5 0 14px, #F3F2F9 14px 28px); display: grid; place-items: center; }
.dean__photo span { width: 96px; height: 96px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; font-size: 32px; display: grid; place-items: center; }
.dean__q { font-size: 18px; line-height: 1.6; color: var(--c-ink-2); display: grid; gap: 14px; border-left: 3px solid var(--c-primary); padding-left: 24px; }
.dean__name { margin-top: 24px; }

/* Why (dark) */
.why > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.why__k { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: #fff; }
.why p:not(.why__k) { color: rgba(255,255,255,.72); font-size: 15px; }

/* AI */
.split--rev { grid-template-columns: 1.1fr .9fr; }
.ai-card { border-radius: var(--r-xl); padding: 32px; background: linear-gradient(135deg, var(--c-primary-soft), #FFF1EC); }
.ai-card ul { display: grid; gap: 12px; margin-top: 16px; }
.ai-card li { background: #fff; border-radius: var(--r-md); padding: 14px 16px; font-weight: 500; }

/* Professions */
.profs__col { background: #fff; border-radius: var(--r-lg); padding: 24px; border-top: 4px solid; display: grid; gap: 14px; align-content: start; }
.profs__col--coral { border-color: var(--c-coral); }
.profs__col--violet { border-color: var(--c-violet); }
.profs__col--yellow { border-color: var(--c-yellow); }
.profs__col--teal { border-color: var(--c-teal); }
.profs__col .mono { color: var(--c-ink); }
.profs__col ul { display: grid; gap: 8px; }
.profs__col li { font-size: 15px; padding-bottom: 8px; border-bottom: 1px dashed var(--c-border); }
.profs + .small { margin-top: 20px; max-width: 800px; }

/* Scenarios */
.scen { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; display: grid; align-content: start; gap: 6px; }
.scen h3 { font-size: 24px; margin-top: 8px; }
.scen__dur { font-family: var(--font-mono); font-size: 13px; color: var(--c-muted); }
.scen > p:not(.mono):not(.scen__dur) { color: var(--c-ink-2); font-size: 15px; margin-bottom: 16px; }
.scen .link { margin-top: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; align-content: start; }
.steps__n { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--c-ink-2); }
.steps__tag { margin-top: 10px; color: var(--c-primary) !important; font-size: 11px !important; }
.formats { margin-top: 20px; }
.fmt { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.fmt p:not(.mono) { font-size: 15px; color: var(--c-ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-sm); background: var(--c-surface-3); }

/* Choose */
.choose { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); background: var(--c-primary-soft); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); }
.choose .eyebrow { margin-bottom: 12px; }
.choose .h2 + p { margin-top: 14px; color: var(--c-ink-2); }
.choose__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.choose__nums div { background: #fff; border-radius: var(--r-lg); padding: 20px; display: grid; gap: 6px; }
.choose__nums b { font-size: 26px; letter-spacing: -0.02em; color: var(--c-primary); }
.choose__nums span { font-size: 14px; color: var(--c-ink-2); }
.choose__list { display: grid; gap: 10px; align-content: center; }
.choose__list li { background: #fff; border-radius: var(--r-md); padding: 16px 18px; font-weight: 500; display: flex; gap: 14px; align-items: center; }
.choose__list .mono { color: var(--c-primary); }

/* Career */
.career > div { background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--c-border); }
.career h3 { margin-bottom: 10px; }
.career p { color: var(--c-ink-2); font-size: 15px; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); }
.ladder > div { padding: 22px 24px; background: #fff; display: grid; gap: 8px; }
.ladder > div + div { border-left: 1px solid var(--c-border); }
.ladder > div:nth-child(2) { background: var(--c-primary-soft); }
.ladder > div:nth-child(3) { background: var(--c-primary); color: #fff; }
.ladder > div:nth-child(3) .mono { color: rgba(255,255,255,.75); }
.ladder p { font-size: 14px; }

/* Tabs */
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs__list button { border: 1px solid var(--c-border-strong); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; color: var(--c-ink-2); }
.tabs__list button[aria-selected="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.tabs__panel { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); }
.tabs__panel h3 { font-size: 22px; margin-bottom: 20px; max-width: 760px; }
.ticks { display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; color: var(--c-ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-primary-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--c-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Cities */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cities__i { border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 2px; background: #fff; color: var(--c-muted); }
.cities__i b { font-weight: 600; color: var(--c-ink-2); }
.cities__i span { font-size: 13px; }
.cities__i--on { grid-column: span 2; border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-ink-2); }
.cities__i--on b { color: var(--c-primary); font-size: 18px; }
.cities__i--on:hover { text-decoration: none; background: #E2DEFF; }
.split .btn { margin-top: 24px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-bottom: 24px; }
.faq__item { border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 17px; }
.faq__ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-surface-2); position: relative; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; background: var(--c-ink); transition: transform .2s; }
.faq__ico::after { transform: rotate(90deg); }
.faq__item[open] .faq__ico::after { transform: rotate(0); }
.faq__a { padding: 0 24px 22px; color: var(--c-ink-2); }

/* Lead */
.lead-card { background: #fff; color: var(--c-ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 36px); }
.lead { display: grid; gap: 14px; }
.lead__title { font-weight: 700; font-size: 20px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select { height: 48px; border: 1px solid var(--c-border-strong); border-radius: var(--r-md); padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--c-ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.field input[aria-invalid="true"] { border-color: #DC2626; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--c-muted); align-items: flex-start; }
.check input { margin-top: 2px; accent-color: var(--c-primary); width: 16px; height: 16px; }
.lead__ok { background: #E7F8EF; color: #0F7A45 !important; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; }
.sec--brand .h2 { color: #fff; margin-bottom: 16px; }
.inv-link { color: #fff; font-weight: 700; font-size: 22px; }

/* Band CTA */
.band { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--c-surface-2); }
.band__title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.band__act { display: flex; gap: 12px; flex-wrap: wrap; }

/* Modal */
.modal { border: 0; border-radius: var(--r-xl); padding: 32px; width: min(480px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(11,18,32,.3); }
.modal::backdrop { background: rgba(11,18,32,.55); }
.modal__x { position: absolute; right: 14px; top: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--c-muted); }
.modal__title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.modal .muted { font-size: 14px; margin-bottom: 20px; }

/* Footer */
.ftr { background: var(--c-ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14px; }
.ftr a { color: rgba(255,255,255,.85); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr__grid > div { display: grid; gap: 10px; align-content: start; }
.ftr__brand p { max-width: 320px; margin: 8px 0; }
.ftr__phone { font-size: 20px; font-weight: 700; color: #fff !important; }
.ftr__soc { display: flex; gap: 16px; }
.ftr__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.ftr__h--sp { margin-top: 16px; }
.ftr__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.5); }

/* Responsive */
@media (max-width: 1280px) {
  .hdr__phone { display: none; }
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px var(--pad-x) 20px; border-bottom: 1px solid var(--c-border); box-shadow: 0 20px 40px rgba(11,18,32,.1); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 17px; }
  .nav__phone { display: block; font-weight: 700; color: var(--c-ink) !important; border: 0 !important; }
  .hdr__side { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero__grid, .split, .split--rev, .dean, .choose { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; }
  .dean__photo { max-width: 280px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hdr__in { height: 60px; gap: 12px; }
  .nav { inset: 60px 0 auto 0; }
  .hdr__cta { display: none; }
  .city summary { padding: 0 10px; font-size: 13px; }
  .logo__txt small { display: none; }
  .hero__lead { font-size: 17px; }
  .hero__act .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4, .steps, .ladder, .choose__nums { grid-template-columns: 1fr; }
  .ladder > div + div { border-left: 0; border-top: 1px solid var(--c-border); }
  .doit ul { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .ftr__grid { grid-template-columns: 1fr; }
  .faq__item summary { padding: 16px 18px; }
  .faq__a { padding: 0 18px 18px; }
  .cities { grid-template-columns: 1fr; }
  .cities__i--on { grid-column: auto; }
}

/* Антиспам-ловушка в форме */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Why — развёрнутые тезисы */
.why-more { margin-top: 36px; }
.why-more p { color: rgba(255,255,255,.8); font-size: 15px; }
.why-more b { color: #fff; }

/* Карточки приоритетных профессий */
.pcard { background: #fff; border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; border-left: 4px solid; }
.pcard--coral { border-color: var(--c-coral); }
.pcard--violet { border-color: var(--c-violet); }
.pcard--yellow { border-color: var(--c-yellow); }
.pcard--teal { border-color: var(--c-teal); }
.pcard h3 { font-size: 17px; }
.pcard p:not(.mono) { font-size: 14px; color: var(--c-ink-2); }
.profs__more { margin: 32px 0 16px; }

/* ===== Страница направления ===== */
.hero--dir { padding-top: 24px; }
.back { display: inline-block; margin-bottom: 24px; font-size: 14px; }
.h1--dir { font-size: clamp(34px, 4.6vw, 54px); }
.hero__side { display: grid; gap: 14px; }
.hero__side .art { aspect-ratio: 16 / 9; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts div { border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 2px; }
.facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.facts dd { font-weight: 700; font-size: 17px; }
.facts span { font-size: 12px; color: var(--c-muted); }
.split--text { grid-template-columns: 1.2fr .8fr; }
.prose { display: grid; gap: 14px; color: var(--c-ink-2); }
.pillars { display: grid; gap: 12px; }
.pillar { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 6px; }
.pillar .mono { color: var(--c-primary); }
.pillar p { font-size: 14px; color: var(--c-ink-2); }
.note-inline { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-primary-soft); font-size: 15px; }
.ticks--box { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; gap: 14px; }
.skill { background: #fff; border-radius: var(--r-lg); padding: 22px 24px; border: 1px solid var(--c-border); display: grid; gap: 6px; }
.skill p { font-size: 15px; color: var(--c-ink-2); }
.tools { margin-top: 20px; }
.module { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.module .mono { color: var(--c-primary); font-size: 11px; }
.module p { font-size: 14px; color: var(--c-ink-2); }
.subh { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 48px 0 20px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.projects { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; }
.projects ol { display: grid; gap: 4px; margin-top: 16px; }
.projects li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--c-border); font-weight: 500; }
.projects li .mono { color: var(--c-primary); }
.role { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 26px 28px; display: grid; gap: 10px; align-content: start; }
.role > p:not(.mono) { color: var(--c-ink-2); font-size: 15px; }
.role ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.role li { font-size: 13px; background: var(--c-surface-2); border-radius: var(--r-sm); padding: 5px 10px; }
.on-dark { color: rgba(255,255,255,.8); }
.sec--dark .h2 { color: #fff; }
.ai-list { display: grid; gap: 10px; }
.ai-list li { border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: 16px 18px; font-weight: 500; }
.adm-docs { margin-top: 20px; }
.price { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 26px; display: grid; gap: 6px; align-content: start; }
.price--main { border: 2px solid var(--c-primary); }
.price__v { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.price p:last-child { font-size: 14px; color: var(--c-ink-2); }
.resume { margin-top: 20px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; padding: 32px; border-radius: var(--r-xl); background: var(--c-primary-soft); }
.resume__h { font-size: 22px; font-weight: 700; margin: 10px 0 8px; }
.sec--tight { padding: 48px 0 64px; }
.sec--tight .subh { margin-top: 0; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 6px; color: var(--c-ink); border-top: 4px solid; }
.other:hover { text-decoration: none; border-color: var(--c-border-strong); }
.other--coral { border-top-color: var(--c-coral); }
.other--violet { border-top-color: var(--c-violet); }
.other--yellow { border-top-color: var(--c-yellow); }
.other--teal { border-top-color: var(--c-teal); }
@media (max-width: 960px) {
  .split--text, .resume { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr; }
  .steps--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
}

/* Хаб специальностей */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); background: var(--c-surface-2); padding: 14px 16px; font-weight: 500; }
.tbl td { padding: 16px; border-top: 1px solid var(--c-border); vertical-align: top; color: var(--c-ink-2); }
.tbl td a { color: var(--c-ink); }
.choose__list--card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 14px; }
.choose__list--card ul { display: grid; gap: 10px; }
.choose__list--card li { background: var(--c-surface-2); border-radius: var(--r-md); padding: 14px 16px; font-weight: 500; display: flex; gap: 14px; }
.choose__list--card li .mono { color: var(--c-primary); }
.scen--link { color: var(--c-ink); }
.scen--link:hover { text-decoration: none; border-color: var(--c-primary); }
.scen--link h3 { font-size: 26px; }
@media (max-width: 760px) {
  .tbl-wrap { border: 0; overflow: visible; }
  .tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { border: 1px solid var(--c-border); border-radius: var(--r-lg); margin-bottom: 12px; padding: 6px 0; }
  .tbl td { border: 0; padding: 8px 16px; }
  .tbl td[data-l]::before { content: attr(data-l); display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
}

/* ===== Кластер поступления ===== */
.drows { display: grid; gap: 10px; }
.drow { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid var(--c-border); border-left: 4px solid; border-radius: var(--r-lg); background: #fff; color: var(--c-ink); }
.drow:hover { text-decoration: none; border-color: var(--c-border-strong); }
.drow--coral { border-left-color: var(--c-coral); }
.drow--violet { border-left-color: var(--c-violet); }
.drow--yellow { border-left-color: var(--c-yellow); }
.drow--teal { border-left-color: var(--c-teal); }
.drow b { font-size: 17px; }
.drow__dur { font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.drow__forms { font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.nsteps { display: grid; gap: 12px; }
.nsteps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 22px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; }
.nsteps__n { width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.nsteps h3 { font-size: 17px; margin-bottom: 4px; }
.nsteps p { font-size: 15px; color: var(--c-ink-2); }
.clist { display: grid; gap: 10px; }
.clist li { display: grid; gap: 2px; padding: 14px 16px 14px 46px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-border); position: relative; }
.clist li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--c-primary); }
.clist li::after { content: ""; position: absolute; left: 22px; top: 19px; width: 5px; height: 9px; border: solid var(--c-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.clist span { font-size: 14px; color: var(--c-ink-2); }
.quote-big { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cost-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.cost-parts div { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 18px 20px; font-size: 14px; color: var(--c-ink-2); }
.cost-parts b { display: block; color: var(--c-ink); font-size: 16px; margin-bottom: 4px; }
.cond { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cond div { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 18px; background: #fff; font-size: 14px; }
.cond .mono { display: block; color: var(--c-primary); margin-bottom: 6px; }
.fmt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fmt-card { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 24px; background: #fff; display: grid; gap: 10px; align-content: start; }
.fmt-card h3 { font-size: 20px; }
.fmt-card .tag-ok { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #0F7A45; }
.fmt-card .tag-q { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.fmt-card p:not([class]) { font-size: 15px; color: var(--c-ink-2); }
.diploma { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--c-border); background: #fff; }
.diploma__doc { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: linear-gradient(135deg, #F4F2FF, #FFF6EE); border: 1px solid var(--c-border); display: grid; place-items: center; text-align: center; padding: 24px; }
.diploma__doc b { font-size: 20px; }
@media (max-width: 960px) {
  .drow { grid-template-columns: 1fr auto; }
  .drow .mono { grid-column: 1 / -1; }
  .drow__forms { grid-column: 1 / -1; white-space: normal; }
  .cond { grid-template-columns: 1fr 1fr; }
  .fmt-cards, .cost-parts, .diploma { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .cond { grid-template-columns: 1fr; } }
.dir-notes { margin-top: 20px; }
.dir-notes p, .pay-notes p { font-size: 15px; color: var(--c-ink-2); background: var(--c-surface-2); border-radius: var(--r-lg); padding: 18px 20px; }
.sec--soft .dir-notes p, .sec--soft .pay-notes p { background: #fff; border: 1px solid var(--c-border); }
.pay-notes { margin-top: 16px; }
.vs { margin-top: 28px; }
.vs .tbl { min-width: 0; }
.fmt-card .shead { margin-bottom: 8px; }

/* ===== Страницы города ===== */
.campus { border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 10px; background: linear-gradient(160deg, var(--c-primary-soft), #fff 60%); }
.campus__addr { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.campus .facts { margin-top: 8px; }
.campus .facts div { background: #fff; }
.citydir { display: grid; gap: 8px; padding: 24px 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-border); border-top: 4px solid; color: var(--c-ink); }
.citydir:hover { text-decoration: none; box-shadow: 0 16px 40px rgba(11,18,32,.07); }
.citydir b { font-size: 21px; letter-spacing: -0.01em; }
.citydir > span:not(.mono):not(.link) { color: var(--c-ink-2); font-size: 15px; }
.citydir--coral { border-top-color: var(--c-coral); }
.citydir--violet { border-top-color: var(--c-violet); }
.citydir--yellow { border-top-color: var(--c-yellow); }
.citydir--teal { border-top-color: var(--c-teal); }
.why-local > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.why-local p:not(.why__k) { color: rgba(255,255,255,.75); font-size: 15px; }
.why-local .why__k { font-size: 20px; }
.split .prices { grid-template-columns: 1fr; }
.split > div > p + .link, .split > div > p + p + .link { display: inline-block; margin-top: 16px; }
@media (max-width: 960px) { .hero__side .art { display: none; } }

/* ===== О колледже / FAQ / Контакты / Политика ===== */
.facts--about { align-self: center; }
.facts--about div { background: #fff; }
.facts--about dd { font-size: 26px; }
.dean--card { grid-template-columns: 140px 1fr; gap: 24px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 24px; align-self: start; }
.dean--card .dean__photo span { width: 64px; height: 64px; font-size: 22px; }
.dean__card-name { font-size: 22px; font-weight: 700; margin: 6px 0; }
.why-about p { font-size: 15px; color: var(--c-ink-2); border-left: 3px solid var(--c-primary); padding: 4px 0 4px 18px; }
.why-about b { color: var(--c-ink); }
.sec--faqnav { padding: 24px 0; }
.faqnav { display: flex; flex-wrap: wrap; gap: 10px; }
.faqnav a { background: #fff; border: 1px solid var(--c-border-strong); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--c-ink); }
.faqnav a:hover { text-decoration: none; border-color: var(--c-primary); }
.faqnav span { color: var(--c-primary); font-family: var(--font-mono); font-size: 12px; margin-left: 4px; }
.contact { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 4px; color: var(--c-ink); }
.contact:hover { text-decoration: none; border-color: var(--c-primary); }
.contact b { font-size: 18px; word-break: break-word; }
.contact span:last-child { font-size: 13px; color: var(--c-muted); }
.lead-card--line { border: 1px solid var(--c-border); }
.req { display: grid; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.req div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 18px; }
.req div + div { border-top: 1px solid var(--c-border); }
.req dt { color: var(--c-muted); font-size: 14px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal p { margin-bottom: 10px; color: var(--c-ink-2); }
.legal__list { list-style: disc; padding-left: 22px; color: var(--c-ink-2); display: grid; gap: 4px; }
.draft-note { background: #FFF4D6; border: 1px solid #F5D98A; color: #6B4E00; border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; margin-bottom: 28px; }
@media (max-width: 640px) { .dean--card { grid-template-columns: 1fr; } .req div { grid-template-columns: 1fr; gap: 2px; } }

/* Метки блоков для вычитки (только в сборке --labels) */
main > section { position: relative; }
.blk-label { position: absolute; left: 8px; top: 8px; z-index: 5; background: #FFE500; color: #000; border: 1.5px solid #000; font: 700 12px/1 'Mulish', sans-serif; padding: 5px 8px; letter-spacing: .02em; pointer-events: none; }

/* Подсказка на слове (tooltip) */
.tip { position: relative; border-bottom: 2px dotted var(--c-primary); color: var(--c-ink); cursor: help; outline: none; }
.tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: max-content; max-width: min(300px, 80vw); padding: 10px 12px; background: var(--c-ink); color: #fff; font-size: 14px; line-height: 1.4; border-radius: var(--r-md); box-shadow: var(--shadow, none); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 20; pointer-events: none; }
.tip:hover::after, .tip:focus::after { opacity: 1; visibility: visible; }
@media (max-width: 600px) { .tip::after { left: 0; transform: none; } }

/* Компактные карточки специальностей (главная, каталог) */
.shead-txt { max-width: 860px; margin: -8px 0 28px; color: var(--c-ink-2); }
.dcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
@media (max-width: 720px) { .dcards { grid-template-columns: 1fr; } }
.dcard .art { aspect-ratio: auto; height: 72px; }
.dcard__body { padding: 16px 20px 18px; gap: 8px; }
.dcard h3 { font-size: 20px; }
.dcard__body > p:not(.mono) { font-size: 14px; line-height: 1.45; color: var(--c-ink-2); }
.dcard__info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; padding-top: 10px; border-top: 1.5px solid var(--c-border); font-size: 14px; }
.dcard__h { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.dcard__info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: var(--c-ink-2); }
@media (max-width: 380px) { .dcard__info { grid-template-columns: 1fr; } }

.contact--soon { cursor: default; }
.contact--soon:hover { transform: none !important; }
/* =====================================================================
   ТЕМА «БЕНТО 2» (2026-10-08) — единственная тема сайта.
   Заменяет темы «Плакат» и «Бенто» (их слои с !important удалены).
   Принципы:
   · серое поле, белые карточки, крупные скругления, без рамок и теней;
   · акцент — фирменный фиолетовый #5B36F2 (кнопки, ссылки), зелёный #3DDC84 (галочки, «успех», цифры),
     голубой и розовый — мягкие подложки; чёрный — для панелей (палитра от 2026-10-09);
   · цвет не раскидывается «шахматкой»: карточки одного списка одинаковые;
   · короткие описания в карточках видны сразу (без «+»), раскрываются только FAQ;
   · ритм: 88 px между блоками (56 на телефоне), 12 px между карточками.
   ===================================================================== */
:root {
  --c-primary: #5A2BE0;        /* фирменный фиолетовый */
  --c-primary-hover: #4720C2;
  --c-primary-soft: #ECE6FF;
  --c-green: #C6F33C;          /* салатовый (вариант «лайм»): заливка, текст на нём — чёрный */
  --c-green-text: #4C6B00;     /* салатовый для значков и мелкого текста на светлом */
  --c-green-soft: #F1FCD2;
  --c-blue: #B3E0FF;           /* дополнительный голубой */
  --c-blue-soft: #E6F4FF;
  --c-pink: #FFADD6;           /* дополнительный розовый */
  --c-pink-soft: #FFEAF4;
  --c-ink: #141414;
  --c-ink-2: #3B3B42;
  --c-muted: #66666E;
  --c-bg: #F2F2ED;
  --c-surface: #FFFFFF;
  --c-surface-2: #F2F2ED;
  --c-surface-3: #E5E7EB;
  --c-border: #E5E7EB;
  --c-border-strong: #C9CBD1;
  --c-line-dark: rgba(255,255,255,.14);
  --c-accent-text: #4720C2;   /* фиолетовый для мелкого текста на светлом фоне (контраст ≥ 7:1) */
  --c-accent-on-dark: #B8A6FF; /* фиолетовый для мелкого текста на чёрном */
  /* старые имена цветов специальностей — сведены к палитре темы */
  --c-coral: var(--c-primary);
  --c-violet: var(--c-ink);
  --c-yellow: var(--c-primary);
  --c-teal: var(--c-ink);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --gap: 12px;
  --gap-sec: 64px;
  --pad-card: 22px;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-mono: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-hover: 0 14px 34px -12px rgba(20,20,22,.18);
  --ph-advertising: url(/static/img/photos/dir-advertising.jpg);
  --ph-design: url(/static/img/photos/dir-design.jpg);
  --ph-graphic: url(/static/img/photos/dir-graphic-design.jpg);
  --ph-photo: url(/static/img/photos/dir-photography.jpg);
}
@media (max-width: 760px) { :root { --gap-sec: 44px; --pad-card: 18px; } }

html { background: var(--c-bg); }
body { font: 500 16px/1.6 var(--font-sans); color: var(--c-ink); background: var(--c-bg); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
p { text-wrap: pretty; }
b, strong { font-weight: 700; }

/* ---------- Типографика ---------- */
.h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.h1--dir { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.04; }
.h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
h3, .h3 { font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.subh { font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; margin: 48px 0 16px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--c-muted); max-width: 720px; }
.mono { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }
.shead { margin-bottom: 22px; gap: 10px; }
.shead .lead { margin: 0; }
.shead-txt { max-width: 760px; margin: -12px 0 28px; color: var(--c-ink-2); }
.prose { color: var(--c-ink-2); gap: 12px; align-content: start; }
.hero { padding: 0; }

/* Ссылки в тексте — тёмные с красным подчёркиванием (красный текст на сером не проходит контраст) */
.link, main p a:not(.btn), main li a:not(.btn), main td a, .back {
  color: var(--c-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-primary);
  text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .15s;
}
.link:hover, main p a:not(.btn):hover, main li a:not(.btn):hover, .back:hover { color: var(--c-primary); }
.back { display: inline-block; font-size: 14px; margin: 4px 0 12px; }

/* ---------- Кнопки ---------- */
.btn { height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; letter-spacing: -0.005em; transition: background .15s, color .15s, transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: var(--c-surface-2); color: var(--c-ink); border: 0; }
.btn--ghost:hover { background: var(--c-surface-3); color: var(--c-ink); }
.sec .split .btn { margin-top: 20px; }

/* ---------- Шапка ---------- */
.hdr { background: rgba(242,242,237,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr__in { height: 72px; gap: 20px; max-width: 1400px; }
.logo { gap: 10px; }
.logo__mark { width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); display: block; align-self: center; }
.logo__mark i { display: none; }
.logo__txt b { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo__txt small { display: none; }
.nav { gap: 2px; }
.nav a { color: var(--c-ink); font-weight: 600; font-size: 14px; }
@media (min-width: 1101px) {
  .nav { background: #fff; border-radius: 999px; padding: 5px; }
  .nav > a, .nav__dd > a { padding: 9px 15px; border-radius: 999px; transition: background .15s; }
  .nav > a:hover, .nav__dd > a:hover { background: var(--c-surface-2); text-decoration: none; }
  .nav a[aria-current] { background: var(--c-ink); color: #fff; }
}
.hdr__side { gap: 10px; }
.hdr__phone { font-weight: 700; font-size: 14px; }
.city summary { height: 40px; border: 0; background: #fff; border-radius: 999px; font-weight: 600; white-space: nowrap; padding: 0 14px; }
.city__menu { border: 0; border-radius: var(--r-lg); box-shadow: 0 24px 60px -12px rgba(20,20,22,.25); padding: 8px; }
.city__menu a { border-radius: var(--r-sm); font-weight: 600; }
.burger { border: 0; background: #fff; border-radius: 999px; }

/* Меню «Специальности» */
.nav__dd { position: relative; display: flex; align-items: center; }
.nav__menu { display: none; position: absolute; left: -8px; top: calc(100% + 6px); padding: 8px; min-width: 360px; background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 60px -12px rgba(20,20,22,.25); z-index: 60; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { display: grid; gap: 2px; }
.nav__dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); color: var(--c-ink); background: none !important; }
.nav__menu a:hover { background: var(--c-surface-2) !important; text-decoration: none; }
.nav__dir i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.nav__dir span { display: grid; line-height: 1.3; }
.nav__dir b { font-weight: 700; font-size: 15px; }
.nav__dir small { font-size: 12px; color: var(--c-muted); font-weight: 500; }
.nav__all { font-weight: 700; font-size: 14px; color: var(--c-primary) !important; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav > a, .nav__dd > a { padding: 9px 11px; }
  .hdr__phone { display: none; }
}
@media (max-width: 1100px) {
  .nav { inset: 72px 0 auto 0; background: #fff; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .nav a { border-bottom: 1px solid var(--c-border); }
  .nav__dd { display: block; }
  .nav__dd > a { display: block; }
  .nav__menu { display: grid; position: static; box-shadow: none; min-width: 0; padding: 4px 0 8px; }
  .nav__menu a { border-bottom: 0 !important; padding: 8px 4px; }
  .nav__dd::after { display: none; }
}

/* Хлебные крошки */
.crumbs { padding-top: 16px; font-size: 13px; font-weight: 600; max-width: 1400px; }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-ink); }

/* ---------- Ритм секций ---------- */
main > section, .route > section { margin-top: var(--gap-sec); }
main > section.hero, .route > section.hero, .route > section:first-child { margin-top: 8px; }
.route > .crumbs + section.hero { margin-top: 0; }
.sec, .sec--soft { padding: 0; background: transparent; }
.sec--tight { padding: 0; }
main > section:last-child, .route > section:last-child { margin-bottom: var(--gap-sec); }
.sec--cta { margin-top: 40px; }

/* Тёмная и брендовая секции — скруглённые панели внутри серого поля */
.sec--dark, .sec--brand { margin-left: 12px; margin-right: 12px; border-radius: var(--r-xl); padding: clamp(40px, 4.5vw, 64px) 0; }
.sec--dark { background: var(--c-ink); color: #fff; }
.sec--dark .h2 { color: #fff; }
.sec--dark .lead, .sec--dark .on-dark, .sec--dark .prose, .sec--dark p { color: rgba(255,255,255,.72); }
.sec--brand { background: var(--c-ink); color: #fff; }
.sec--brand .h2 { color: #fff; }
.sec--brand p { color: rgba(255,255,255,.75); }
.sec--brand .inv-link { color: #fff; font-weight: 800; font-size: 22px; text-decoration: underline; text-decoration-color: var(--c-primary); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sec--brand .lead-card { background: #fff; color: var(--c-ink); }
.sec--brand .lead-card p { color: var(--c-muted); }
.sec--brand .link { color: #fff; }
@media (max-width: 760px) { .sec--dark, .sec--brand { margin-left: 8px; margin-right: 8px; border-radius: 22px; } }

/* ---------- Сетки ---------- */
.grid, .dcards, .others, .fmt-cards, .cost-parts, .cond, .cities, .split, .facts, .prices, .pillars, .nsteps, .drows, .clist, .faq { gap: var(--gap); }
.split { align-items: stretch; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split--text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split > div:first-child:not([class]), .split > .prose, .split > p {
  background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); align-self: stretch;
}
.split > div:first-child:not([class]) > .shead { margin-bottom: 18px; }
.split > div:first-child:not([class]) > p { color: var(--c-ink-2); }
.split > div > p + p { margin-top: 12px; }
.sec--dark .split > div:first-child:not([class]), .sec--brand .split > div:first-child:not([class]) { background: transparent; padding: 0; }
.sec--dark .split > div:first-child:not([class]) > p, .sec--brand .split > div:first-child:not([class]) > p:not(.h2) { color: rgba(255,255,255,.72); }
.sec--brand .h2, .sec--dark .h2 { color: #fff !important; }
.wrap.narrow { max-width: 1240px; }
.wrap.narrow > :not(.shead) { max-width: 880px; }

.hero__grid > *, .split > *, .ebento > *, .bento > *, .grid > *, .choose > * { min-width: 0; }

/* Фото-карточки */
.vphoto { margin: 0; border-radius: var(--r-xl); overflow: hidden; min-height: 280px; position: relative; background: var(--c-surface-3); }
.vphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vphoto figcaption { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--c-ink); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.split:has(> .vphoto) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr); }
.split--rev:has(> .vphoto) > .vphoto { order: -1; }
.fmt-cards:has(> .vphoto) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fmt-cards > .vphoto { min-height: 220px; }

/* ---------- Карточки: одна система ---------- */
.feat, .dcard, .scen, .role, .module, .skill, .price, .fmt-card, .fmt, .pcard, .career > div, .projects, .doit,
.contact, .citydir, .other, .pillar, .ticks--box, .steps li, .nsteps li, .campus, .tabs__panel, .diploma, .note, .req,
.drow, .cond > div, .cost-parts > div, .choose__list--card, .profs__col, .clist li, .facts > div, .lead-card, .dean--card,
.resume, .faq__item, .tbl-wrap, .ladder > div, .cities__i, .dir-notes > p, .pay-notes > p, .why-about p, .ai-card li {
  background: #fff; color: var(--c-ink); border: 0; border-radius: var(--r-lg); box-shadow: none;
}
.feat, .scen, .role, .module, .skill, .price, .fmt-card, .fmt, .pcard, .career > div, .projects, .doit, .contact, .citydir,
.other, .pillar, .ticks--box, .campus, .tabs__panel, .note, .cond > div, .cost-parts > div, .choose__list--card, .profs__col,
.lead-card, .dean--card, .resume, .dir-notes > p, .pay-notes > p, .why-about p { padding: var(--pad-card); }
.dcard, .scen, .tabs__panel, .diploma, .campus, .projects, .doit, .lead-card, .resume, .choose__list--card, .ticks--box, .note { border-radius: var(--r-xl); }
:is(.feat, .scen, .role, .module, .skill, .price, .fmt-card, .fmt, .pcard, .pillar, .career > div, .cond > div) p:not(.mono):not(.scen__dur):not(.price__v) { color: var(--c-ink-2); font-size: 15px; line-height: 1.55; }
.note { margin-top: 20px; color: var(--c-ink-2); }

/* Ссылки-карточки: подъём при наведении */
.dcard, .citydir, .other, .contact:not(.contact--soon), .drow, .scen--link, .cities__i, .ebento__dir, .bento__dir {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dcard:hover, .citydir:hover, .other:hover, .contact:not(.contact--soon):hover, .drow:hover, .scen--link:hover, .cities__i:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none;
}

/* Раскрывашки: заголовок виден, короткое описание — по нажатию на «+» (так блоки компактнее) */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.more-card { display: grid; align-content: start; gap: 0; }
.more-card > summary, .more-h > summary { position: relative; padding-right: 40px; display: grid; gap: 6px; }
.more-h > summary { display: block; }
.more-ico { position: absolute; right: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-surface-2); transition: background .2s, transform .2s; }
.more-ico::before, .more-ico::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--c-ink); }
.more-ico::after { transform: rotate(90deg); transition: transform .2s; }
details[open] > summary .more-ico { background: var(--c-ink); }
details[open] > summary .more-ico::before, details[open] > summary .more-ico::after { background: #fff; }
details[open] > summary .more-ico::after { transform: rotate(0); }
summary:hover .more-ico { background: var(--c-surface-3); }
.more-card > :not(summary) { margin-top: 10px; }
.more-h > p { margin-top: 6px; }
.more-card h3, .more-h h3 { font-size: 17px; }
.more { margin-top: 10px; }
.more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-primary); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.more > p { margin-top: 6px; color: var(--c-ink-2); }
summary:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; border-radius: 8px; }
/* карточки-раскрывашки в сетке: компактные поля */
.feat.more-card, .pcard.more-card, .module.more-card, .skill.more-card, .pillar.more-card, .role.more-card { padding: 18px 20px; }
.feats, .modules, .skills, .pcards, .pillars, .roles { align-items: stretch; }
.more-card > summary { align-content: start; }

/* Ярлыки и метки */
.pill { display: inline-flex; align-self: flex-start; font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--c-ink); background: var(--c-surface-2); border: 0; border-radius: 999px; padding: 7px 14px; }
.chips { gap: 8px; margin-top: 20px; }
.chips li { background: var(--c-surface-2); border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; padding: 7px 13px; color: var(--c-ink); }
.chips li::before { width: 6px; height: 6px; background: var(--c-primary); }
.chips--sm { margin: 10px 0 12px; }
.chips--sm li { font-size: 12px; padding: 5px 10px; background: var(--c-surface-2); color: var(--c-ink); }
.chips--sm li::before { display: none; }
.tags li, .role li { background: var(--c-surface-2); color: var(--c-ink); border: 0; border-radius: 999px; font-weight: 600; font-size: 13px; padding: 6px 12px; }
.tag-ok, .tag-q { display: inline-flex !important; width: auto; font-family: var(--font-sans) !important; font-size: 12px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 700; border-radius: 999px; padding: 5px 11px; background: var(--c-surface-2); color: var(--c-ink) !important; justify-self: start; }
.tip { border-bottom: 2px dotted var(--c-primary); }
.tip::after { display: none; }
.tip:hover::after, .tip:focus::after { display: block; }
@media (max-width: 640px) { .tip:hover::after, .tip:focus::after { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; max-width: none; transform: none; } }

/* ---------- Первый экран главной (бенто) ---------- */
.hero-e .wrap { max-width: 1400px; }
.bento { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr 1fr .92fr; grid-template-rows: auto 210px auto;
  grid-template-areas: "main main tall dirs" "small stat tall dirs" "facts facts facts facts"; }
.bento__card { background: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.bento__main { grid-area: main; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.bento__main .h1 { font-size: clamp(42px, 4.4vw, 66px); line-height: .98; margin: 0; letter-spacing: -0.045em; }
.bento__main .hero__lead { font-size: 17px; line-height: 1.55; color: var(--c-ink-2); margin: 0; max-width: 560px; }
.bento__row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.bento__row .hero__sub { margin: 0; font-size: 14px; color: var(--c-muted); max-width: 340px; }
.bento__row .btn { flex: none; height: 54px; padding: 0 28px; background: var(--c-primary); }
.bento__row .btn:hover { background: var(--c-primary-hover); }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento__photo--tall { grid-area: tall; }
.bento__photo--small { grid-area: small; }
.bento__tag { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.bento__stat { grid-area: stat; padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; background: var(--c-primary); color: #fff; }
.bento__stat b { white-space: nowrap; font-weight: 800; font-size: clamp(44px, 4vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.bento__stat p { margin: 0; font-size: 14px; line-height: 1.45; color: #fff; }
.bento__facts { grid-area: facts; background: transparent; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; }
.bento__facts li { background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.bento__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.bento__dirs { grid-area: dirs; display: grid; grid-template-rows: repeat(4, 1fr); gap: var(--gap); background: none; overflow: visible; }
.bento__dir { padding: 18px 20px; min-height: 112px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: var(--c-ink); color: #fff; text-decoration: none; }
.bento__dir:hover { background: var(--c-primary); text-decoration: none; transform: none; }
.bento__code { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.bento__arr { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 15px; transition: background .2s, transform .25s var(--ease); }
.bento__dir:hover .bento__arr { background: #fff; color: var(--c-ink); transform: rotate(45deg); }
.bento__dir b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.bento__dir small { font-size: 13px; color: rgba(255,255,255,.62); font-weight: 600; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: "main main" "small stat" "dirs dirs" "facts facts"; }
  .bento__photo--tall { display: none; }
  .bento__photo--small { min-height: 190px; }
  .bento__dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .bento__row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .bento__main { padding: 26px 22px; }
  .bento__main .h1 { font-size: 40px; }
  .bento__stat { padding: 18px; }
  .bento__stat b { font-size: 40px; }
  .bento__stat p { font-size: 13px; }
  .bento__dir { min-height: 108px; padding: 14px 16px; }
  .bento__dir b { font-size: 16px; }
  .bento__dir small { display: none; }
  .bento__code { top: 12px; left: 16px; }
  .bento__arr { width: 28px; height: 28px; top: 10px; right: 10px; }
  .bento__facts li { padding: 8px 13px; font-size: 13px; }
}

/* ---------- Первые экраны внутренних страниц ---------- */
.hero--dir { padding: 0; background: transparent; }
.hero--dir > .wrap { max-width: 1400px; }
.hero__grid { gap: var(--gap); align-items: stretch; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hero__txt { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 0; }
.hero__txt .h1 { margin-top: 18px; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--c-ink-2); margin-top: 18px; max-width: 640px; }
.hero__sub { color: var(--c-muted); margin-top: 10px; font-size: 15px; max-width: 620px; }
.hero__act { margin-top: 28px; gap: 10px; flex-wrap: wrap; }
.hero__txt .hero__act { margin-top: auto; padding-top: 28px; }
.hero__side { display: grid; gap: var(--gap); align-content: stretch; grid-template-rows: minmax(220px, 1fr) auto; }
.hero__side .art { aspect-ratio: auto; min-height: 240px; border-radius: var(--r-xl); }
.facts { grid-template-columns: 1fr 1fr; }
.facts > div { padding: 16px 18px; display: grid; gap: 2px; align-content: start; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); font-family: var(--font-sans); }
.facts dd { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin-top: 4px; }
.facts span, .facts .facts__note { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--c-muted); line-height: 1.4; margin-top: 4px; }

/* Фото специальностей вместо абстрактных заглушек */
.art { position: relative; overflow: hidden; background-color: var(--c-ink); background-size: cover; background-position: center; padding: 0; }
.art i, .art::before, .art::after { display: none !important; }
.art--coral { background-image: var(--ph-advertising); }
.art--violet { background-image: var(--ph-design); }
.art--yellow { background-image: var(--ph-graphic); }
.art--teal { background-image: var(--ph-photo); }

/* Одноколоночные первые экраны: текст + фото + факты плитками */
.ebento { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr .95fr; align-items: stretch; }
.ebento__main { grid-column: 1 / 3; background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.ebento__main .h1, .ebento__main .hero__lead, .ebento__main .hero__sub { margin: 0; }
.ebento__main .hero__act { margin-top: auto; padding-top: 10px; }
.ebento__photo { border-radius: var(--r-xl); overflow: hidden; min-height: 300px; background: var(--c-surface-3); }
.ebento__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebento__chips { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ebento__chips li { background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.ebento__chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.ebento--hub { grid-template-columns: 1.15fr 1fr; }
.ebento--hub .ebento__main { grid-column: 1; }
.ebento__dirs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.ebento__dir { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; color: #fff; text-decoration: none; isolation: isolate; background: var(--c-ink); }
.ebento__dir:hover { transform: translateY(-3px); text-decoration: none; }
.ebento__dir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.ebento__dir:hover img { transform: scale(1.04); }
.ebento__dir::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75)); }
.ebento__dir b { font-size: 18px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.ebento__code { position: absolute; top: 12px; left: 14px; background: #fff; color: var(--c-ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }

/* Кампус города (первый экран /город/) */
.campus { display: grid; gap: 10px; align-content: start; overflow: hidden; }
.campus[style*="--campus-photo"]::before { content: ""; display: block; height: 200px; margin: calc(-1 * var(--pad-card)) calc(-1 * var(--pad-card)) 10px; background: var(--campus-photo) center 60% / cover; }
.campus__addr { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.campus .facts { margin-top: 6px; }
.campus .facts > div { background: var(--c-surface-2); }

@media (max-width: 1100px) {
  .ebento, .ebento--hub { grid-template-columns: 1fr; }
  .ebento__main, .ebento--hub .ebento__main { grid-column: auto; }
  .ebento__photo { min-height: 220px; max-height: 300px; }
  .split:has(> .vphoto) { grid-template-columns: 1fr 1fr; }
  .split:has(> .vphoto) > .vphoto { grid-column: 1 / -1; min-height: 240px; order: 0; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-rows: auto; }
  .hero__side .art { display: block; min-height: 200px; }
  .split:has(> .vphoto) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__txt, .ebento__main { padding: 26px 22px; border-radius: 22px; }
  .h1--dir { font-size: 32px; }
  .hero__lead { font-size: 16px; }
  .hero__act .btn { width: 100%; }
  .ebento__chips li { padding: 8px 13px; font-size: 13px; }
  .ebento__dir { min-height: 130px; }
  .ebento__dir b { font-size: 15px; }
  .facts > div { padding: 14px 16px; }
  .facts dd { font-size: 17px; }
  .vphoto { min-height: 220px; }
}

/* ---------- Компоненты ---------- */
/* Плитки специальностей в первом экране главной — красная / чёрная по очереди */
.bento__dir:nth-child(odd) { background: var(--c-primary); }
.bento__dir:nth-child(even) { background: var(--c-ink); }
.bento__dir:nth-child(odd) .bento__code, .bento__dir:nth-child(odd) small { color: #fff; }
.bento__dir:nth-child(odd) .bento__arr { background: rgba(255,255,255,.18); }
.bento__dir:nth-child(odd):hover { background: var(--c-primary-hover); }
.bento__dir:nth-child(even):hover { background: #000; }
@media (max-width: 1100px) {
  .bento__dir:nth-child(3) { background: var(--c-ink); }
  .bento__dir:nth-child(4) { background: var(--c-primary); }
  .bento__dir:nth-child(3) :is(.bento__code, small) { color: rgba(255,255,255,.62); }
  .bento__dir:nth-child(4) :is(.bento__code, small) { color: #fff; }
}

/* Лента «Работы студентов» — тёмная панель, работы едут сами, стоп при наведении */
.sec--works { background: var(--c-ink); color: #fff; margin-left: 12px; margin-right: 12px; border-radius: var(--r-xl); padding: clamp(36px, 4vw, 56px) 0; overflow: hidden; }
.sec--works .h2 { color: #fff; }
.sec--works .lead { color: rgba(255,255,255,.68); }
.works__head .shead { margin-bottom: 22px; }
.works { position: relative; overflow: hidden; display: block; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.works__track { display: flex; width: max-content; animation: works-run 60s linear infinite; }
.works:hover .works__track, .works:focus-within .works__track { animation-play-state: paused; }
.works__set { display: flex; gap: 12px; padding-right: 12px; }
.work { margin: 0; width: 220px; flex: none; display: grid; gap: 10px; }
.work__art { position: relative; height: 280px; border-radius: var(--r-lg); overflow: hidden; background: #26262B; }
.work--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work__chip { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--c-ink); }
.work__chip--coral, .work__chip--yellow { background: var(--c-primary); color: #fff; }
.work figcaption { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); }
@keyframes works-run { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .sec--works { margin-left: 8px; margin-right: 8px; border-radius: 22px; } .work { width: 170px; } .work__art { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .works { overflow-x: auto; } .works__track { animation: none; } .works__set[aria-hidden] { display: none; } }

/* Курсы — одна панель с колонками (как таблица), а не четыре отдельные карточки */
.steps { gap: 0; background: #fff; border-radius: var(--r-xl); overflow: hidden; }
.steps li { border-radius: 0; background: transparent; padding: 22px; }
.steps li + li { border-left: 1px solid var(--c-border); }
@media (max-width: 1100px) { .steps li:nth-child(3) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--c-border); } }
@media (max-width: 640px) { .steps li + li { border-left: 0; border-top: 1px solid var(--c-border); } }

/* Преимущества */
.feats { gap: var(--gap); }
.feat { gap: 8px; }
.feat__n { display: block; font-size: 12px; font-weight: 800; color: var(--c-accent-text); letter-spacing: .04em; }
.feat h3 { font-size: 19px; }
.sec--feats .feat:first-child { background: var(--c-ink); color: #fff; }
.sec--feats .feat:first-child p { color: rgba(255,255,255,.78) !important; }
.sec--feats .feat:first-child .feat__n { color: var(--c-accent-on-dark); }

/* Карточки специальностей (главная, каталог) */
.dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.dcard .art { height: 200px; border-radius: 0; }
.dcard__body { padding: 22px 26px 26px; gap: 8px; }
.dcard h3 { font-size: 22px; letter-spacing: -0.025em; }
.dcard h3 a { color: var(--c-ink); text-decoration: none; }
.dcard h3 a::after { content: ""; position: absolute; inset: 0; }
.dcard { position: relative; }
.dcard__body > p:not(.mono) { font-size: 15px; color: var(--c-ink-2); }
.dcard__body .link { position: relative; z-index: 1; justify-self: start; margin-top: 6px; }
.dcard__info { border-top: 1px solid var(--c-border); padding-top: 12px; margin-top: 4px; gap: 16px; }
.dcard__h { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
@media (max-width: 720px) { .dcards { grid-template-columns: 1fr; } .dcard .art { height: 120px; } }

/* О ХексДиз: что умеет выпускник + цитата руководителя */
.doit { display: grid; align-content: start; gap: 6px; }
.doit__h { margin-bottom: 6px; }
.doit ul { display: grid; grid-template-columns: 1fr; gap: 0; }
.doit li { background: none; border-radius: 0; border-bottom: 1px solid var(--c-border); padding: 12px 0 12px 24px; font-size: 15px; font-weight: 600; position: relative; }
.doit li:last-child { border-bottom: 0; }
.doit li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--c-primary); }
.dean-q { margin: 22px 0 0; padding: 20px 22px; background: var(--c-surface-2); border-radius: var(--r-lg); display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.dean-q__ava { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.dean-q blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--c-ink); font-weight: 600; }
.dean-q blockquote p::before { content: "«"; } .dean-q blockquote p::after { content: "»"; }
.dean-q figcaption { grid-column: 2; font-size: 13px; color: var(--c-muted); margin-top: -6px; }
.dean-q figcaption b { color: var(--c-ink); }

/* Почему эти профессии (тёмная панель) */
.why { gap: var(--gap); }
.why > div, .why-local > div { border: 1px solid var(--c-line-dark); border-radius: var(--r-lg); padding: 24px; background: transparent; }
.why__k { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.why p:not(.why__k), .why-local p:not(.why__k) { color: rgba(255,255,255,.7); font-size: 15px; }
.why-local .why__k { font-size: 19px; }

/* ИИ */
.ai-card { background: #fff; border-radius: var(--r-xl); padding: var(--pad-card); display: grid; gap: 4px; align-content: start; }
.ai-card ul { display: grid; gap: 0; margin-top: 6px; }
.ai-card li { background: none; border-radius: 0; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--c-border); font-weight: 700; font-size: 15px; position: relative; }
.ai-card li:last-child { border-bottom: 0; }
.ai-card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 10px; border-radius: 3px; background: var(--c-primary); }
.ai-list { gap: 8px; }
.ai-list li { border: 1px solid var(--c-line-dark); border-radius: var(--r-md); padding: 16px 18px; font-weight: 600; color: #fff; background: transparent; }

/* Профессии */
.pcards, .roles { gap: var(--gap); }
.pcard { gap: 6px; }
.pcard > .mono:first-child, .pcard .more-sum > .mono, .profs__col > .mono:first-child, .drow > .mono:first-child, .citydir > .mono:first-child, .other > .mono:first-child { display: flex; align-items: center; gap: 8px; color: var(--c-muted); }
.pcard > .mono:first-child::before, .pcard .more-sum > .mono::before, .citydir > .mono:first-child::before, .other > .mono:first-child::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.pcard h3 { font-size: 18px; }
.profs__col { gap: 12px; }
.profs__col li { border-bottom: 1px solid var(--c-border); }
.role { gap: 8px; }
.role h3 { font-size: 20px; }
.role ul { margin-top: 6px; }

/* Сценарии поступления */
.scen { gap: 6px; }
.scen > .mono:first-child { color: var(--c-accent-text); }
.scen h3 { font-size: 22px; margin-top: 4px; }
.scen__dur { font-family: var(--font-sans); font-size: 14px; font-weight: 700; color: var(--c-ink); }
.scen .link { margin-top: auto; padding-top: 12px; }
.grid > .scen:nth-child(2):not(.scen--link) { box-shadow: inset 0 0 0 2px var(--c-ink); }
.scen--link h3 { font-size: 24px; }

/* Шаги */
.steps li { gap: 12px; }
.steps__n, .nsteps__n { width: 40px; height: 40px; border-radius: 50%; background: var(--c-ink); color: #fff; font-weight: 800; font-size: 16px; display: grid; place-items: center; letter-spacing: 0; }
.steps li:first-child .steps__n, .nsteps li:first-child .nsteps__n { background: var(--c-primary); }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14.5px; color: var(--c-ink-2); }
.steps__tag { display: inline-flex; margin-top: 12px; color: var(--c-ink) !important; font-size: 12px !important; background: var(--c-surface-2); border-radius: 999px; padding: 4px 10px; letter-spacing: 0 !important; text-transform: none !important; font-weight: 700; }
.nsteps li { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 22px; align-items: start; }
.nsteps h3 { font-size: 17px; margin-bottom: 2px; }
.nsteps p { font-size: 15px; color: var(--c-ink-2); }

/* Форматы, инструменты */
.fmt { gap: 10px; }
.fmt--tools, .fmt.tools { background: #fff; }
.fmtx { display: grid; gap: 8px; margin-top: 6px; }
.fmtx__i { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-ink); }
.fmtx__i:first-child { background: var(--c-ink); color: #fff; }
.fmtx__i b { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.fmtx__i span { font-size: 14px; opacity: .8; }
.fmt-card { gap: 10px; }
.fmt-card h3 { font-size: 20px; }
.fmt-card .shead { margin-bottom: 4px; }

/* Помощь в выборе */
.choose { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); background: var(--c-ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4.5vw, 56px); border: 0; box-shadow: none; }
.choose .h2 { color: #fff; }
.choose .h2 + p { color: rgba(255,255,255,.72); margin-top: 12px; }
.choose__btn { margin-top: 24px; }
.choose .btn--primary { background: var(--c-primary); color: #fff; }
.choose .btn--primary:hover { background: #fff; color: var(--c-ink); }
.choose__nums { margin-top: 28px; gap: 10px; }
.choose__nums div { background: rgba(255,255,255,.07); border: 1px solid var(--c-line-dark); border-radius: var(--r-lg); }
.choose__nums b { color: #fff; font-size: 22px; font-weight: 800; }
.choose__nums span { color: rgba(255,255,255,.65); font-size: 14px; }
.choose__list { gap: 8px; }
.choose__list li { background: #fff; color: var(--c-ink); border: 0; border-radius: var(--r-md); padding: 16px 18px; font-weight: 700; font-size: 15px; }
.choose__list .mono { color: var(--c-accent-text); }
.choose__list--card { gap: 14px; }
.choose__list--card li { background: var(--c-surface-2); border-radius: var(--r-md); font-weight: 700; }
.choose__list--card li .mono { color: var(--c-accent-text); }

/* Карьера */
.career > div h3 { margin-bottom: 8px; font-size: 19px; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); border: 0; border-radius: 0; overflow: visible; background: none; }
.ladder > div { padding: 22px 24px; display: grid; gap: 6px; position: relative; }
.ladder > div + div { border-left: 0; }
.ladder > div .mono { color: var(--c-accent-text); }
.ladder > div:nth-child(n) { background: #fff; color: var(--c-ink); }
.ladder > div:last-child:nth-child(n) { background: var(--c-ink); color: #fff; }
.ladder > div:last-child .mono { color: rgba(255,255,255,.65); }
.ladder p { font-size: 14.5px; }
.resume { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; margin-top: var(--gap); }
.resume__h { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 8px; }
.ticks { gap: 10px; }
.ticks li { padding-left: 30px; color: var(--c-ink-2); }
.ticks li::before { top: 3px; width: 20px; height: 20px; background: var(--c-primary-soft); }
.ticks li::after { left: 7px; top: 7px; border-color: var(--c-primary); }

/* Вкладки */
.tabs__list { display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; padding: 5px; margin-bottom: var(--gap); }
.tabs__list button { border: 0; background: transparent; border-radius: 999px; padding: 0 18px; min-height: 42px; font-weight: 700; font-size: 14px; color: var(--c-ink); }
.tabs__list button[aria-selected="true"] { background: var(--c-ink); color: #fff; }
.tabs__panel h3 { font-size: 21px; }

/* Города */
.cities { grid-template-columns: 1fr; gap: 8px; align-content: start; }
.cities__i { padding: 16px 18px; display: grid; gap: 2px; color: var(--c-ink); position: relative; }
.cities__i--on { grid-column: auto; border: 0; }
.cities__i b { font-weight: 800; font-size: 16px; color: var(--c-ink); }
.cities__i span { font-size: 13px; color: var(--c-muted); }
.cities__i::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--c-muted); transition: transform .2s var(--ease), color .2s; }
.cities__i:hover::after { color: var(--c-primary); transform: translate(3px, -50%); }
.cities__i--on:hover { background: #fff; }
.more { margin-top: 12px; }

/* Специальности в городе и «Другие специальности» */
.citydir { display: grid; gap: 8px; align-content: start; color: var(--c-ink); }
.citydir b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.citydir > span:not(.mono):not(.link) { color: var(--c-ink-2); font-size: 15px; }
.citydir .link { margin-top: 4px; }
.others { grid-template-columns: repeat(3, 1fr); }
.other { gap: 6px; color: var(--c-ink); }
.other b, .other h3 { font-weight: 800; }
.sec--tight .subh { margin: 0 0 16px; }

/* Строки специальностей (после 9 / после 11) */
.drows { gap: 8px; }
.drow { grid-template-columns: 110px 1fr auto auto; padding: 18px 22px; border: 0 !important; color: var(--c-ink); }
.drow b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.drow__dur { color: var(--c-ink); font-weight: 800; }
.drow__forms { color: var(--c-muted); }

/* Программа, навыки, проекты */
.modules, .skills { gap: var(--gap); }
.module, .skill { gap: 6px; }
.module .mono, .pillar .mono { color: var(--c-accent-text); font-size: 12px; }
.pillars { gap: var(--gap); align-content: start; }
.pillar { gap: 6px; }
.projects { display: grid; align-content: start; }
.projects ol { gap: 0; margin-top: 8px; }
.projects li { border-bottom: 1px solid var(--c-border); padding: 12px 0; font-weight: 600; font-size: 15px; gap: 12px; }
.projects li:last-child { border-bottom: 0; }
.projects li .mono { color: var(--c-accent-text); min-width: 22px; }
.dir-notes, .pay-notes { display: grid; gap: var(--gap); margin-top: var(--gap); }
.dir-notes p, .pay-notes p { font-size: 15px; color: var(--c-ink-2); }
.note-inline { background: var(--c-surface-2); border-radius: var(--r-md); }

/* Цены */
.prices { gap: var(--gap); align-content: start; }
.price { gap: 4px; }
.price__v { font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 6px 0; }
.price--main { background: var(--c-ink); color: #fff; border: 0; }
.price--main .mono { color: rgba(255,255,255,.65) !important; }
.price--main p:not(.mono) { color: rgba(255,255,255,.78) !important; }
.price--main .price__v, .price--main p.price__v { color: #fff !important; }
.cost-parts { margin-top: var(--gap); }
.cost-parts > div { font-size: 14.5px; color: var(--c-ink-2); }
.cost-parts b { color: var(--c-ink); font-weight: 800; }

/* Отсрочка, диплом */
.cond > div { font-size: 14.5px; }
.cond .mono { color: var(--c-accent-text); }
.diploma { padding: clamp(24px, 3.5vw, 44px); gap: 28px; }
.diploma__doc { background: var(--c-ink); color: #fff; border: 0; border-radius: var(--r-lg); }
.diploma__doc * { color: #fff; }
.diploma__doc .mono { color: rgba(255,255,255,.65) !important; }

/* Чек-листы документов */
.clist { gap: 8px; }
.clist li { padding: 16px 18px 16px 50px; }
.clist li::before { left: 18px; top: 17px; border: 0; background: var(--c-primary-soft); border-radius: 6px; width: 20px; height: 20px; }
.clist li::after { left: 25px; top: 20px; border-color: var(--c-primary); }
.clist b { font-weight: 800; }
.quote-big { font-weight: 800; letter-spacing: -0.03em; }

/* Таблица сравнения */
.tbl-wrap { overflow-x: auto; }
.tbl th { background: var(--c-ink); color: #fff; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; font-weight: 700; padding: 16px; }
.tbl td { border-top: 1px solid var(--c-border); color: var(--c-ink-2); }
.tbl td:first-child { color: var(--c-ink); font-weight: 700; }
@media (max-width: 760px) {
  .tbl-wrap { background: none; }
  .tbl tr { background: #fff; border: 0; border-radius: var(--r-lg); }
  .tbl td[data-l]::before { font-family: var(--font-sans); font-size: 11px; letter-spacing: .05em; font-weight: 700; }
}

/* О колледже */
.facts--about { align-self: stretch; grid-auto-rows: 1fr; }
.facts--about > div { background: #fff; align-content: center; }
.split > .note-inline { margin: 0; background: var(--c-ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); display: flex; align-items: flex-end; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; min-height: 200px; }
.facts--about dd { font-size: 30px; letter-spacing: -0.04em; }
.dean { align-items: stretch; }
.dean--card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; }
.dean__photo { border: 0; border-radius: var(--r-lg); background: var(--c-surface-2); aspect-ratio: 1; }
.dean__photo span { background: var(--c-primary); }
.dean__card-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.dean__q { border-left: 0; padding-left: 0; color: var(--c-ink); }
.why-about { gap: var(--gap); }
.why-about p { border-left: 0; }

/* FAQ */
.faq { gap: 8px; }
.faq__item summary { padding: 20px 24px; gap: 20px; }
.faq__item h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.faq__ico { width: 32px; height: 32px; background: var(--c-surface-2); transition: background .2s; }
.faq__ico::before, .faq__ico::after { left: 10px; top: 15px; background: var(--c-ink); }
.faq__item summary:hover .faq__ico { background: var(--c-surface-3); }
.faq__item[open] .faq__ico { background: var(--c-ink); }
.faq__item[open] .faq__ico::before, .faq__item[open] .faq__ico::after { background: #fff; }
.faq__a { padding: 0 24px 22px; color: var(--c-ink-2); max-width: 760px; }
.faq + p, .faq + .small { color: var(--c-muted); }
.faqnav { gap: 8px; }
.faqnav a { background: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 15px; color: var(--c-ink); text-decoration: none; transition: background .15s, color .15s; }
.faqnav a:hover { background: var(--c-ink); color: #fff; text-decoration: none; }
.faqnav span { color: var(--c-accent-text); font-family: var(--font-sans); font-weight: 800; }
.sec--faqnav { margin-top: 24px; }

/* Контакты */
.contact { gap: 4px; color: var(--c-ink); }
.contact b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.contact:first-child { background: var(--c-ink); color: #fff; }
.contact:first-child * { color: #fff; }
.contact:first-child .mono, .contact:first-child span:last-child { color: rgba(255,255,255,.65); }
.contact--soon { cursor: default; }
.req { gap: 0; padding: 0; }
.req div { padding: 16px 22px; }
.req dt { color: var(--c-muted); font-weight: 600; }

/* Юридический текст */
.wrap.legal { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px) !important; max-width: 920px; margin-inline: auto; }
.wrap.legal > * { max-width: 760px; }
.legal h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 32px 0 10px; }
.draft-note { background: var(--c-surface-2); border: 0; color: var(--c-ink); border-radius: var(--r-md); }
@media (max-width: 1000px) { .wrap.legal { margin-left: 12px; margin-right: 12px; } }

/* ---------- CTA ---------- */
/* Полоса в середине страницы — красная плашка */
.sec--cta .band { background: var(--c-primary); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); gap: 32px; overflow: hidden; position: relative; }
.sec--cta .band::before { content: none; }
.sec--cta .band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.band__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin-bottom: 10px; }
.sec--cta .band p { color: rgba(255,255,255,.9); max-width: 60ch; }
.band__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.band__trust li { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 13px; }
.band__trust li::before { background: #fff !important; width: 6px; height: 6px; border-radius: 50%; }
.band__act { position: relative; z-index: 1; flex-shrink: 0; }
.sec--cta .btn--primary { background: var(--c-ink); color: #fff; }
.sec--cta .btn--primary:hover { background: #000; color: #fff; }
.sec--cta .btn--ghost { background: #fff; color: var(--c-ink); border: 0; }
.sec--cta .btn--ghost:hover { background: rgba(255,255,255,.88); }
.note .btn { margin-top: 12px; width: auto; justify-self: start; }

/* Финальная форма — чёрная панель с белой карточкой */
.lead-card { padding: clamp(24px, 3vw, 36px); }
.lead { gap: 14px; }
.field { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.field input, .field select { height: 52px; border: 1.5px solid transparent; border-radius: var(--r-md); background: var(--c-surface-2); font-weight: 600; transition: border-color .15s, background .15s; }
.field input:hover, .field select:hover { background: var(--c-surface-3); }
.field input:focus, .field select:focus { border-color: var(--c-ink); background: #fff; box-shadow: none; }
.field input[aria-invalid="true"] { border-color: var(--c-primary); }
.check { color: var(--c-muted); }
.check input { accent-color: var(--c-primary); }
.lead .btn[type="submit"], .lead button[type="submit"] { background: var(--c-primary); color: #fff; height: 54px; }
.lead .btn[type="submit"]:hover, .lead button[type="submit"]:hover { background: var(--c-primary-hover); }
.lead-card a:not(.btn) { color: var(--c-ink); }
.modal { border-radius: var(--r-xl); padding: 36px 32px 32px; }
.modal__title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.modal::backdrop { background: rgba(20,20,22,.6); backdrop-filter: blur(4px); }

/* Плавающая кнопка на телефоне */
.mcta { display: none; }
@media (max-width: 640px) {
  .sec--cta .band__act, .sec--cta .band__act .btn { width: 100%; }
  .mcta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    transform: translateY(160%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  .mcta.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .mcta .btn { flex: 1; min-height: 52px; background: var(--c-primary); color: #fff; box-shadow: 0 12px 30px -8px rgba(20,20,22,.4); }
  .mcta__tel { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--c-ink); color: #fff; box-shadow: 0 12px 30px -8px rgba(20,20,22,.4); }
  .ftr { padding-bottom: 96px; }
}

/* ---------- Подвал ---------- */
.ftr { background: #fff; color: var(--c-muted); margin: 0 12px 12px; border-radius: var(--r-xl); padding: 56px 0 28px; font-size: 14px; }
.ftr a { color: var(--c-ink); font-weight: 600; }
.ftr a:hover { color: var(--c-primary); text-decoration: none; }
.ftr .logo--inv { color: var(--c-ink); }
.ftr__brand p { color: var(--c-muted); }
.ftr__phone { color: var(--c-ink) !important; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ftr__h { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.ftr__soc span { color: var(--c-muted); font-weight: 600; }
.ftr__legal { border-top: 1px solid var(--c-border); color: var(--c-muted); }
@media (max-width: 760px) { .ftr { margin: 0 8px 8px; border-radius: 22px; } }

/* ---------- Адаптив общих сеток ---------- */
@media (max-width: 1100px) {
  .split, .split--text { grid-template-columns: 1fr; }
  .bento__main .h1 { font-size: 48px; }
}
@media (max-width: 960px) {
  .choose, .resume { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr; }
  .drow { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .h2 { font-size: 28px; }
  .lead { font-size: 16px; }
  .shead { margin-bottom: 20px; }
  .hdr__in { height: 64px; }
  .nav { inset: 64px 0 auto 0; }
  .ladder { grid-template-columns: 1fr; }
  .faq__item summary { padding: 16px 18px; }
  .faq__item h3 { font-size: 16px; }
  .faq__a { padding: 0 18px 18px; }
  .tabs__list { display: flex; overflow-x: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .split > div:first-child:not([class]), .split > .prose, .split > p { padding: 22px 20px; }
  .dean-q { grid-template-columns: 40px 1fr; padding: 16px; }
  .dean-q__ava { width: 40px; height: 40px; font-size: 14px; }
}
@media (max-width: 400px) { .facts { grid-template-columns: 1fr; } }

/* Метка «превью» — компактно, не перекрывает контент */
.preview-badge { position: fixed; left: 12px; bottom: 12px; opacity: .7; z-index: 40; background: rgba(20,20,22,.82); color: #fff; font: 600 11px/1.3 var(--font-sans); padding: 6px 10px; border-radius: 999px; pointer-events: none; }
@media (max-width: 640px) { .preview-badge { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Лента работ — на всю ширину тёмной панели */
.sec--works > .wrap { max-width: none; padding: 0; }
.sec--works .works__head { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
/* Телефон: короткие карточки-раскрывашки по две в ряд — экран короче */
@media (max-width: 640px) {
  .grid.feats, .grid.pcards, .grid.modules { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grid.feats .more-card, .grid.pcards .more-card, .grid.modules .more-card { padding: 14px 14px; }
  .grid.feats .more-card > summary, .grid.pcards .more-card > summary, .grid.modules .more-card > summary { padding-right: 0; padding-bottom: 34px; }
  .grid.feats .more-ico, .grid.pcards .more-ico, .grid.modules .more-ico { top: auto; bottom: 0; left: 0; right: auto; }
  .grid.feats h3, .grid.pcards h3, .grid.modules h3 { font-size: 15px; }
}

/* Карьера: меньше серого — лесенка в цветах темы, белые карточки с красным маркером */
.ladder > div { align-content: start; }
.ladder > div:nth-child(2):nth-child(n) { background: var(--c-primary); color: #fff; }
.ladder > div:nth-child(2) .mono { color: #fff; }
.ladder > div:nth-child(1) .mono { color: var(--c-accent-text); }
.ladder > div .mono::after { content: " →"; }
.ladder > div:last-child .mono::after { content: none; }
.career > div { position: relative; padding-top: 46px; }
.career > div::before { content: ""; position: absolute; left: var(--pad-card); top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); }
.career > div:nth-child(2)::before { background: var(--c-ink); }
/* фокус после клика мышью не рисуем рамку внутри карточек */
.more-card > summary:focus:not(:focus-visible) { outline: none; }
.more-card > summary:focus-visible { outline-offset: 6px; }

/* =====================================================================
   КОРПОРАТИВНАЯ ПАЛИТРА (2026-10-09): фиолетовый + зелёный — основные,
   голубой и розовый — дополнительные. Красный тему больше не использует.
   Прежний вариант (красный) — style.css до 2026-10-09 в _backup / журнале.
   ===================================================================== */
/* зелёный — «результат и успех» */
.bento__stat { background: var(--c-green); color: var(--c-ink); }
.bento__stat p { color: var(--c-ink) !important; opacity: .85; }
.ticks li::before, .clist li::before { background: var(--c-green-soft); }
.ticks li::after, .clist li::after { border-color: var(--c-green-text); }
.career > div::before, .doit li::before { background: var(--c-green); }
.ladder > div:nth-child(2):nth-child(n) { background: var(--c-green); color: var(--c-ink); }
.ladder > div:nth-child(2) .mono { color: var(--c-ink) !important; }
/* голубой и розовый — мягкие подложки */
.pill { background: var(--c-blue-soft); }
.dean-q { background: var(--c-pink-soft); }
.note-inline { background: var(--c-blue-soft); }
.band__trust li { background: rgba(255,255,255,.18); }
/* фото руководителя вместо инициалов */
.dean-q__ava { overflow: hidden; background: var(--c-primary-soft); }
.dean-q__ava img, .dean__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.dean__photo { overflow: hidden; }
/* CTA-плашка: главная кнопка — зелёная на фиолетовом */
.sec--cta .band .btn--primary { background: var(--c-green); color: var(--c-ink); }
.sec--cta .band .btn--primary:hover { background: #D6F86E; color: var(--c-ink); }

/* =====================================================================
   АКЦЕНТЫ «ШКОЛА ДИЗАЙНА» (2026-10-09, на согласовании)
   Больше цвета и формы без смены вёрстки: у каждой специальности свой цвет,
   цветные маркеры у заголовков, карточки в мягких тонах, декоративные фигуры.
   Все фигуры — псевдоэлементы (aria не читает, на SEO не влияют).
   ===================================================================== */
:root { --c-ink-on: #fff; }
/* 1. Плитки специальностей на главной: 4 разных цвета */
.bento__dir:nth-child(n) { color: var(--c-ink); }
.bento__dir:nth-child(1) { background: var(--c-primary); color: #fff; }
.bento__dir:nth-child(2) { background: var(--c-green); }
.bento__dir:nth-child(3) { background: var(--c-pink); }
.bento__dir:nth-child(4) { background: var(--c-blue); }
.bento__dir:nth-child(n) :is(.bento__code, small) { color: inherit !important; opacity: .72; }
.bento__dir:nth-child(n+2) .bento__arr { background: rgba(20,20,22,.1); }
.bento__dir:nth-child(1):hover { background: var(--c-primary-hover); }
.bento__dir:nth-child(n+2):hover { background: var(--c-ink); color: #fff; }
@media (max-width: 760px) {
  .bento__dir:nth-child(3) { background: var(--c-pink); }
  .bento__dir:nth-child(4) { background: var(--c-blue); }
}
/* 2. Фигуры на первом экране главной */
.bento__main { position: relative; overflow: hidden; }
.bento__main > * { position: relative; z-index: 1; }
.bento__main::before { content: ""; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border-radius: 50%; background: var(--c-green); }
.bento__main::after { content: ""; position: absolute; right: 70px; top: 30px; width: 34px; height: 34px; background: var(--c-pink);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.bento__stat { position: relative; overflow: hidden; }
.bento__stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgba(20,20,22,.12); }
/* 3. Цветной маркер у заголовков секций — цвет меняется от секции к секции */
main .shead .h2::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .32em; vertical-align: .1em; border-radius: 50%; background: var(--c-primary); }
main .sec:nth-of-type(4n+1) .shead .h2::before { background: var(--c-green); }
main .sec:nth-of-type(4n+2) .shead .h2::before { background: var(--c-pink); border-radius: 4px; transform: rotate(45deg); }
main .sec:nth-of-type(4n+3) .shead .h2::before { background: var(--c-blue); border-radius: 0 50% 50% 50%; }
main .sec--dark .shead .h2::before, main .sec--brand .h2::before { background: var(--c-green); }
/* 4. Карточки преимуществ, профессий и модулей — мягкие тона по кругу */
.feats > :nth-child(4n+1), .pcards > :nth-child(4n+1), .modules > :nth-child(4n+1) { background: var(--c-primary-soft); }
.feats > :nth-child(4n+2), .pcards > :nth-child(4n+2), .modules > :nth-child(4n+2) { background: var(--c-green-soft); }
.feats > :nth-child(4n+3), .pcards > :nth-child(4n+3), .modules > :nth-child(4n+3) { background: var(--c-pink-soft); }
.feats > :nth-child(4n+4), .pcards > :nth-child(4n+4), .modules > :nth-child(4n+4) { background: var(--c-blue-soft); }
.feat__n { color: var(--c-accent-text) !important; }
/* 5. Карточки специальностей с фото — цветная полоса специальности */
.dcard { border-top: 6px solid var(--c-primary); }
.dcard--violet { border-top-color: var(--c-green); }
.dcard--yellow { border-top-color: var(--c-pink); }
.dcard--teal { border-top-color: var(--c-blue); }
/* 6. CTA-плашка: фигуры вместо одного круга */
.sec--cta .band::after { background: var(--c-pink); opacity: .9; width: 180px; height: 180px; right: -60px; top: -60px; }
.sec--cta .band::before { content: ""; position: absolute; left: 46%; bottom: -40px; width: 90px; height: 90px; border-radius: 50%; border: 12px solid var(--c-green); pointer-events: none; }
.sec--cta .band > * { position: relative; z-index: 1; }
/* 7. Тёмный блок с формой — зелёная фигура */
.sec--brand { position: relative; overflow: hidden; }
.sec--brand::after { content: ""; position: absolute; left: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--c-primary); opacity: .9; pointer-events: none; }
.sec--brand > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .feat, .pcard, .module { transition: transform .2s var(--ease); }
  .feat:hover, .pcard:hover, .module:hover { transform: translateY(-3px); }
}
/* Фигуры и на первых экранах внутренних страниц (розовый круг + салатовая звезда) */
.hero--dir .hero__txt, .ebento__main { position: relative; overflow: hidden; }
.hero--dir .hero__txt > *, .ebento__main > * { position: relative; z-index: 1; }
.hero--dir .hero__txt::before, .ebento__main::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--c-pink); }
.hero--dir .hero__txt::after, .ebento__main::after { content: ""; position: absolute; right: 64px; top: 26px; width: 28px; height: 28px; background: var(--c-green);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
@media (max-width: 760px) { .hero--dir .hero__txt::before, .ebento__main::before, .bento__main::before { width: 90px; height: 90px; right: -36px; top: -36px; } .hero--dir .hero__txt::after, .ebento__main::after, .bento__main::after { right: 44px; top: 16px; width: 22px; height: 22px; } }
/* «О ХексДиз» на главной: цитата руководителя — отдельная широкая плитка под текстом и списком */
.split--about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr);
  grid-template-areas: "text doit photo" "quote quote photo"; }
.split--about > div:first-child { grid-area: text; }
.split--about > .doit { grid-area: doit; }
.split--about > .vphoto { grid-area: photo; }
.split--about > .dean-q { grid-area: quote; margin: 0; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl);
  grid-template-columns: 76px 1fr; gap: 22px; align-items: center; }
.split--about .dean-q__ava { width: 76px; height: 76px; }
.split--about .dean-q blockquote { margin: 0; }
.split--about .dean-q blockquote p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; font-weight: 700; letter-spacing: -0.01em; }
.split--about .dean-q figcaption { grid-column: 2; margin-top: -8px; font-size: 14px; }
@media (max-width: 960px) {
  .split--about { grid-template-columns: 1fr; grid-template-areas: "text" "doit" "quote" "photo"; }
  .split--about > .dean-q { grid-template-columns: 56px 1fr; gap: 14px; }
  .split--about .dean-q__ava { width: 56px; height: 56px; }
}
@media (max-width: 960px) {
  .split--about > .dean-q { grid-template-columns: 48px 1fr; align-items: start; }
  .split--about .dean-q__ava { width: 48px; height: 48px; }
  .split--about .dean-q blockquote p { font-size: 17px; }
  .split--about .dean-q figcaption { margin-top: 0; }
}
/* Цветные карточки: тона насыщеннее, чтобы карточки не сливались с фоном страницы
   (было: светлые тона почти одной яркости с фоном, контраст карточка/фон 1,0–1,08) */
:root { --t-violet: #E2D9FF; --t-lime: #E8F9A6; --t-pink: #FFD9EB; --t-blue: #D4ECFF; }  /* промежуточные тона (2026-10-09) */
.feats > :nth-child(4n+1), .pcards > :nth-child(4n+1), .modules > :nth-child(4n+1) { background: var(--t-violet); }
.feats > :nth-child(4n+2), .pcards > :nth-child(4n+2), .modules > :nth-child(4n+2) { background: var(--t-lime); }
.feats > :nth-child(4n+3), .pcards > :nth-child(4n+3), .modules > :nth-child(4n+3) { background: var(--t-pink); }
.feats > :nth-child(4n+4), .pcards > :nth-child(4n+4), .modules > :nth-child(4n+4) { background: var(--t-blue); }
:is(.feats, .pcards, .modules) > * .mono { color: var(--c-ink-2) !important; }
:is(.feats, .pcards, .modules) > * .more-ico { background: #fff; }
/* первая карточка преимуществ — тёмная: номер салатовый (фиолетовый на чёрном не читался) */
.feats > .feat:first-child { background: var(--c-ink); }
.feats > .feat:first-child .feat__n { color: var(--c-green) !important; }
/* Те же промежуточные тона — для всех сеток карточек-раскрывашек и мягких подложек сайта */
.skills > :nth-child(4n+1), .roles > :nth-child(4n+1), .pillars > :nth-child(4n+1) { background: var(--t-violet); }
.skills > :nth-child(4n+2), .roles > :nth-child(4n+2), .pillars > :nth-child(4n+2) { background: var(--t-lime); }
.skills > :nth-child(4n+3), .roles > :nth-child(4n+3), .pillars > :nth-child(4n+3) { background: var(--t-pink); }
.skills > :nth-child(4n+4), .roles > :nth-child(4n+4), .pillars > :nth-child(4n+4) { background: var(--t-blue); }
:is(.skills, .roles, .pillars) > * .mono { color: var(--c-ink-2) !important; }
:is(.skills, .roles, .pillars) > * .more-ico { background: #fff; }
.pill { background: var(--t-blue); }
.note-inline { background: var(--t-blue); }
.dean-q { background: var(--t-pink); }
.lead__ok { background: var(--t-lime); color: var(--c-ink); }
.ticks li::before, .clist li::before { background: var(--t-lime); }

/* =====================================================================
   ПАЛИТРА «ДВА ЦВЕТА» (2026-10-09, вариант 2 из «ХексДиз — варианты цветов.pdf»)
   Фиолетовый + салатовый, чёрный для панелей. Розовый и голубой не используются.
   Карточки чередуют светло-фиолетовый и светло-салатовый; плитки специальностей —
   фиолетовый, салатовый, чёрный, светло-фиолетовый.
   ===================================================================== */
:root { --t-pink: #E2D9FF; --t-blue: #E8F9A6; }
.feats > :nth-child(2n+1) { background: #E2D9FF !important; }
.feats > :nth-child(2n+2) { background: #E8F9A6 !important; }
.pcards > :nth-child(2n+1) { background: #E2D9FF !important; }
.pcards > :nth-child(2n+2) { background: #E8F9A6 !important; }
.modules > :nth-child(2n+1) { background: #E2D9FF !important; }
.modules > :nth-child(2n+2) { background: #E8F9A6 !important; }
.skills > :nth-child(2n+1) { background: #E2D9FF !important; }
.skills > :nth-child(2n+2) { background: #E8F9A6 !important; }
.roles > :nth-child(2n+1) { background: #E2D9FF !important; }
.roles > :nth-child(2n+2) { background: #E8F9A6 !important; }
.pillars > :nth-child(2n+1) { background: #E2D9FF !important; }
.pillars > :nth-child(2n+2) { background: #E8F9A6 !important; }
.feats > .feat:first-child { background: var(--c-ink) !important; }
.bento__dir:nth-child(1) { background: var(--c-primary) !important; color: #fff !important; }
.bento__dir:nth-child(2) { background: var(--c-green) !important; color: var(--c-ink) !important; }
.bento__dir:nth-child(3) { background: var(--c-ink) !important; color: #fff !important; }
.bento__dir:nth-child(4) { background: #E2D9FF !important; color: var(--c-ink) !important; }main .sec:nth-of-type(4n+1) .shead .h2::before { background: var(--c-green); }
main .sec:nth-of-type(4n+2) .shead .h2::before { background: var(--c-primary); }
main .sec:nth-of-type(4n+3) .shead .h2::before { background: var(--c-green); }
main .sec:nth-of-type(4n+0) .shead .h2::before { background: var(--c-primary); }
.pill{background:#E2D9FF}
.dean-q{background:#E8F9A6}
.bento__main::after,.hero--dir .hero__txt::after,.ebento__main::after{background:var(--c-primary)}
.hero--dir .hero__txt::before,.ebento__main::before{background:var(--c-green)}
.sec--cta .band::after{background:var(--c-green)}
.sec--cta .band::before{border-color:#fff}
.dcard--yellow{border-top-color:var(--c-primary)}
.dcard--teal{border-top-color:var(--c-green)}
@media (max-width: 760px) {
  .bento__dir:nth-child(3) { background: var(--c-ink) !important; color: #fff !important; }
  .bento__dir:nth-child(4) { background: #E2D9FF !important; color: var(--c-ink) !important; }
}
.bento__dir:nth-child(3) .bento__arr { background: rgba(255,255,255,.18); }
.note-inline { background: #E2D9FF; }
/* Карточки специальностей: фото пропорцией 16:9 вместо полосы 200 px (было видно 22–53% снимка, обрезались головы) */
.dcard .art { height: auto !important; aspect-ratio: 16 / 9; background-position: center 30%; }
.dcard .art--violet { background-position: center 38%; }
/* Соцсети в подвале — ссылки-«пилюли» */
.ftr__soc { flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ftr__soc a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.ftr__soc a:hover { background: var(--c-green); color: var(--c-ink); }

/* Пометка о Meta (Instagram) в подвале — требование закона */
.ftr__legal { font-size: 12px; line-height: 1.4; opacity: .7; margin: 10px 0 0; max-width: 360px; }
.lead__err, .lead-card .lead__err, .sec--brand .lead-card .lead__err { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #FDE7E4; color: #8C1D12; font-weight: 600; font-size: 14px; line-height: 1.4; }
