  @font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/dela-gothic-one-400-cyrillic.f351f23e4a0b.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
  @font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/dela-gothic-one-400-latin.c9c691460625.woff2") format('woff2'); }
  @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/montserrat-vf-cyrillic.45ea393f38e4.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
  @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/montserrat-vf-latin.c154477b9aff.woff2") format('woff2'); }

  :root {
    --brick: #e74b10;
    --brick-btn: #c23e0c;
    --brick-lite: #ff7040;
    --brick-dark: #b83a0a;
    --ink: #141418;
    --coal: #1d1d23;
    --coal-2: #27272f;
    --line-d: #32323c;
    --paper: #f3f2ef;
    --white: #ffffff;
    --dim: #a8a8b2;
    --head: 'Dela Gothic One', 'Arial Black', sans-serif;
    --body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 92px; }
  body { font-family: var(--body); background: var(--ink); color: var(--white); line-height: 1.55; }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  .ico { width: 1.25em; height: 1.25em; flex: none; }

  /* единая система кнопок: прямоугольник 3px, стрелка, честные состояния */
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 3px;
    text-decoration: none; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; font-family: var(--body);
    transition: background .15s, transform .05s; }
  .btn .ico { transition: transform .18s; }
  .btn:hover .ico { transform: translateX(4px); }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--brick-btn); color: #fff; }
  .btn-primary:hover { background: var(--brick-dark); }
  .btn-ghost { border: 2px solid var(--line-d); color: #fff; padding: 13px 22px; }
  .btn-ghost:hover { border-color: var(--brick); color: var(--brick-lite); }
  :focus-visible { outline: 2px solid var(--brick-lite); outline-offset: 2px; }

  /* ---------- Шапка ---------- */
  header { position: sticky; top: 0; z-index: 50; background: rgba(20,20,24,.96); border-bottom: 1px solid var(--line-d); }
  header::after { content: ""; display: block; height: 3px; background: var(--brick); }
  .nav { display: flex; align-items: center; gap: 16px; padding: 12px 24px; max-width: 1180px; margin: 0 auto; }
  .nav img { width: 48px; height: 48px; }
  .nav .org { font-family: var(--head); font-size: 15px; letter-spacing: .02em; line-height: 1.2; }
  .nav .org small { display: block; font-family: var(--body); font-weight: 600; color: var(--dim); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; margin-top: 3px; }
  .nav nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 14px; }
  .nav nav a { text-decoration: none; color: #d8d8de; white-space: nowrap; }
  .nav nav a:hover { color: var(--brick-lite); }
  .nav .call { text-align: right; font-size: 12px; color: var(--dim); line-height: 1.35; text-decoration: none; }
  .nav .call:hover b { color: var(--brick-lite); }
  .nav .call b { display: block; color: #fff; font-size: 14px; white-space: nowrap; }
  .nav .cta { background: var(--brick-btn); color: #fff; padding: 11px 18px; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .nav .cta:hover { background: var(--brick-dark); }

  /* ---------- Hero: асимметрия 7/5, фото в край ---------- */
  .hero { position: relative; overflow: hidden; padding: 0; }
  .hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 0; align-items: stretch; padding-right: 0; }
  .hero .txt { padding: 60px 40px 52px 0; }
  .kicker { color: var(--dim); font-weight: 600; font-size: 14px; margin-bottom: 20px; }

  h1 { font-family: var(--head); font-size: clamp(32px, 4.5vw, 56px); line-height: 1.06; letter-spacing: .01em; text-wrap: balance; }
  h1 em { font-style: normal; color: inherit; }
  .hero p.lead { margin: 22px 0 18px; font-size: 17px; color: #d3d3da; max-width: 540px; }
  .hero p.lead b { color: #fff; }
  .btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .official { margin-top: 24px; font-size: 13px; color: var(--dim); max-width: 500px; }
  .official a { color: #d8d8de; }

  .hero .ph { position: relative; min-height: 520px; }
  .hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; }
  .hero .ph::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: none; }
  .hero .ph .fact { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: var(--coal); color: #fff; padding: 18px 24px; }
  .hero .ph .fact b { font-family: var(--body); font-size: 19px; color: #fff; display: block; line-height: 1.1; }
  .hero .ph .fact span { font-size: 13px; color: var(--dim); }

  /* Полоса фактов: главный + второстепенные */
  .facts { background: var(--coal); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
  .facts .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
  .facts .main { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
  .facts .main b { font-family: var(--head); font-size: clamp(34px, 4vw, 52px); color: var(--brick-lite); }
  .facts .main span { font-size: 14px; font-weight: 700; max-width: 130px; white-space: normal; line-height: 1.3; }
  .facts ul { display: flex; gap: 34px; list-style: none; flex-wrap: wrap; }
  .facts li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: #d3d3da; }
  .facts li .ico { color: var(--brick-lite); width: 20px; height: 20px; }

  /* ---------- Направления: флагманы + реестр ---------- */
  section { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  h2 { font-family: var(--body); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; text-wrap: balance; }
  .tabs { display: inline-flex; background: var(--coal); border: 1px solid var(--line-d); border-radius: 3px; padding: 4px; gap: 4px; max-width: 100%; overflow-x: auto; }
  .tabs button { border: 0; background: transparent; color: #cfcfd6; font: 700 13px var(--body); padding: 9px 16px; border-radius: 2px; cursor: pointer; white-space: nowrap; }
  .tabs button.on { background: var(--brick-btn); color: #fff; }

  .flagships { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
  .flag { position: relative; background: var(--coal); border: 1px solid var(--line-d); display: grid; grid-template-rows: 190px auto; overflow: hidden; transition: border-color .15s; }
  .flag:hover { border-color: var(--brick); }
  .flag .im { position: relative; }
  .flag .im img { width: 100%; height: 100%; object-fit: cover; }

  .flag .im .places { position: absolute; left: 0; bottom: 0; background: var(--brick-btn); color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 12px; }
  .flag .in { padding: 22px 24px 24px; }
  .flag .code { font-weight: 700; letter-spacing: .08em; color: var(--brick-lite); font-size: 12.5px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
  .flag .code .note { font-family: var(--body); font-weight: 700; font-size: 11px; color: #6fd3f0; letter-spacing: .04em; }
  .flag h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
  .flag p { font-size: 13.5px; color: var(--dim); }
  .flag .fmeta { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #d8d8de; }
  .flag .fmeta span { display: flex; gap: 9px; align-items: center; }
  .flag .fmeta span::before { content: ""; width: 14px; height: 2px; background: var(--brick-lite); flex: none; }
  .flag .fcareer { margin-top: 10px; }
  .flag .fcareer b { color: #e8e8ec; }
  .flag .fcta { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--brick-lite); font-weight: 700; font-size: 14px; }
  .flag .fcta .ico { width: 18px; height: 18px; transition: transform .15s; }
  .flag:hover .fcta .ico { transform: translateX(3px); }

  .roster { border: 1px solid var(--line-d); background: var(--coal); }
  .rrow { border-bottom: 1px solid var(--line-d); }
  .rrow:last-child { border-bottom: 0; }
  .rrow summary { display: grid; grid-template-columns: 92px 1fr auto auto 28px; gap: 18px; align-items: center; padding: 16px 22px; cursor: pointer; list-style: none; transition: background .12s; }
  .rrow summary::-webkit-details-marker { display: none; }
  .rrow summary:hover, .rrow[open] summary { background: var(--coal-2); }
  .rrow summary:focus-visible { outline: 2px solid var(--brick-lite); outline-offset: -2px; }
  .rrow summary .ico { transition: transform .2s; }
  .rrow[open] summary .ico { transform: rotate(180deg); color: var(--brick-lite); }
  .roster .rname .rmob { display: none; }
  .rbody { padding: 4px 22px 22px 132px; background: var(--coal-2); }
  .rbody p { font-size: 14px; color: #d3d3da; max-width: 720px; margin-bottom: 10px; }
  .rbody p b { color: #fff; }
  .rfacts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 16px; padding: 0; font-size: 13px; font-weight: 600; color: #d8d8de; }
  .rfacts li { display: flex; gap: 9px; align-items: center; }
  .rfacts li::before { content: ""; width: 14px; height: 2px; background: var(--brick-lite); flex: none; }
  .rbtn { font-size: 14px; padding: 12px 20px; }
  .roster .rcode { font-weight: 700; letter-spacing: .08em; font-size: 12px; color: var(--brick-lite); }
  .roster .rname small { display: block; font-size: 12px; color: var(--dim); font-weight: 600; margin-top: 2px; }
  .roster .rname { font-weight: 600; font-size: 15px; }
  .roster .rmeta { font-size: 12.5px; color: var(--dim); font-weight: 600; white-space: nowrap; }
  .roster .rplaces { font-size: 12.5px; font-weight: 700; color: #e8e8ec; white-space: nowrap; }
  .roster .ico { color: var(--dim); width: 18px; height: 18px; }
  .rrow summary:hover .ico { color: var(--brick-lite); }
  .roster-note { padding: 14px 22px; font-size: 13px; color: var(--dim); font-weight: 600; border-bottom: 1px solid var(--line-d); background: var(--coal-2); }
  .rexam { font-style: normal; font-size: 11px; font-weight: 700; color: #6fd3f0; letter-spacing: .03em; }
  .roster-more[hidden] { display: none; }
  .roster-toggle { display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px;
    background: var(--coal-2); border: 0; border-top: 1px solid var(--line-d); color: var(--brick-lite);
    font: 700 16px var(--body); padding: 20px; cursor: pointer; transition: background .15s; }
  .roster-toggle:hover { background: #2d2d37; }
  .roster-toggle .ico { transition: transform .2s; width: 20px; height: 20px; color: var(--brick-lite); }
  .roster-toggle.open .ico { transform: rotate(180deg); }


  /* Подбор программ по интересам */
  .quiz { background: var(--coal); padding: 56px 0; }
  .qz { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
  .qz-side p { color: var(--dim); font-size: 15px; margin-top: 14px; max-width: 400px; }
  .qz-box { min-width: 0; }
  .interest-status { font-size: 14px; margin-top: 18px; color: var(--dim); }
  .interest-status:empty { display: none; }
  .interest-results { list-style: none; }
  .interest-results li { padding: 20px 0; border-bottom: 1px solid var(--line-d); }
  .interest-results h3 { font-size: 18px; line-height: 1.4; margin: 4px 0 8px; }
  .interest-code { font-size: 13px; color: var(--dim); }
  .interest-results p { font-size: 14px; color: #d3d3da; }
  .interest-results a { display: inline-block; margin-top: 12px; padding: 8px 0; font-size: 14px; color: var(--brick-lite); }
  /* ---------- Практика: редакционный блок ---------- */
  .why { background: var(--paper); color: var(--ink); }
  .why h2 { color: var(--ink); }
  .why .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
  .why .ph { position: relative; }
  .why .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .why .ph .cap { position: absolute; left: 0; bottom: -18px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 10px 16px; max-width: 85%; }
  .why .ph .cap b { color: var(--brick-lite); }
  .why .list { display: grid; gap: 22px; margin-top: 30px; }
  .why .item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
  .why .item .bx { width: 46px; height: 46px; background: var(--ink); color: var(--brick-lite); display: grid; place-items: center; }
  .why .item .bx .ico { width: 24px; height: 24px; }
  .why .item h3 { font-size: 16px; margin-bottom: 4px; }
  .why .item p { font-size: 14px; color: #4c4c55; }



  /* ---------- Профессионалитет ---------- */
  .prof { background: var(--coal); padding: 0; }
  .prof .wrap { padding-top: 64px; padding-bottom: 64px; }
  .prof-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
  .prof-logo { width: 280px; height: auto; }
  .prof-lead { color: #d3d3da; font-size: 15.5px; max-width: 560px; margin-top: 16px; }
  .prof-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px 52px; margin-top: 28px; }
  .prof-facts b { white-space: nowrap; font-family: var(--head); font-size: 28px; color: var(--brick-lite); display: block; }
  .prof-facts span { font-size: 13px; color: var(--dim); font-weight: 600; display: block; line-height: 1.35; }
  /* ---------- Студенческая жизнь ---------- */
  .life { background: var(--ink); padding: 84px 0 48px; }
  .life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .life-grid figure { margin: 0; }
  .life-grid .lg-wide { grid-column: span 2; }
  .life-grid img { width: 100%; height: 250px; object-fit: cover; display: block; border-radius: 0; }
  /* ---------- Поступление + форма ---------- */
  .apply { background: var(--ink); }
  .apply .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .route { margin-top: 34px; display: grid; gap: 0; }
  .route .step { display: grid; grid-template-columns: 30px 1fr; gap: 18px; position: relative; padding-bottom: 26px; }
  .route .step::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--line-d); }
  .route .step:last-child::before { display: none; }
  .route .n { width: 30px; height: 30px; background: var(--coal-2); border: 1px solid var(--line-d); color: var(--brick-lite); font: 700 13px var(--body); display: grid; place-items: center; }
  .route b { display: block; font-size: 14.5px; margin-bottom: 2px; }
  .route span { font-size: 13px; color: var(--dim); }
  .route .step.hot .n { background: var(--brick-btn); border-color: var(--brick-btn); color: #fff; }

  form { background: var(--coal); border: 1px solid var(--line-d); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  form .head { grid-column: 1 / -1; margin-bottom: 4px; }
  form .head b { font-family: var(--head); font-size: 19px; display: block; margin-bottom: 4px; }
  form .head span { font-size: 13.5px; color: var(--dim); }
  .f-full { grid-column: 1 / -1; }
  label, legend { font-size: 12px; font-weight: 700; color: #cfcfd6; display: block; margin-bottom: 6px; letter-spacing: .03em; }
  label .req, legend .req { color: var(--brick-lite); }
  input[type=text], input[type=tel], input[type=email], select, textarea {
    width: 100%; background: var(--ink); border: 1px solid #41414d; color: #fff; border-radius: 3px; padding: 15px 14px; font: 500 14px var(--body); }
  input:focus, select:focus, textarea:focus { outline: 2px solid var(--brick); outline-offset: 0; border-color: transparent; }
  fieldset { border: 0; min-width: 0; }
  .seg { display: flex; gap: 8px; }
  .seg label.opt { flex: 1; margin: 0; background: var(--ink); border: 1px solid var(--line-d); border-radius: 3px; padding: 11px; text-align: center; font-size: 13px; cursor: pointer; color: #d8d8de; letter-spacing: 0; }
  .seg input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .seg input:checked + label.opt { background: var(--brick-btn); border-color: var(--brick-btn); color: #fff; }
  .seg input:focus-visible + label.opt { outline: 2px solid var(--brick-lite); outline-offset: 2px; }
  .form-more-toggle { background: none; border: 0; border-bottom: 1px dashed var(--dim); align-self: start; justify-self: start; width: auto; padding: 2px 0; color: #d8d8de; font: 600 13px var(--body); cursor: pointer; }
  .form-more-toggle:hover { color: var(--brick-lite); border-color: var(--brick-lite); }
  .form-more[hidden] { display: none; }
  .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--dim); }
  .consent input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; accent-color: var(--brick-btn); }
  .consent a { color: #d8d8de; display: inline-block; }
  .consent label { margin: 0; font-weight: 500; letter-spacing: 0; }

  /* ---------- Футер ---------- */
  footer { background: #0f0f13; padding: 48px 0 0; color: var(--dim); font-size: 13px; }
  footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
  footer b { color: #fff; display: block; margin-bottom: 10px; font-size: 14px; }
  footer a { color: #d8d8de; }
  footer .row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
  footer .row .ico { color: var(--brick-lite); width: 16px; height: 16px; }
  footer .legal { padding: 18px 0 22px; border-top: 1px solid #232329; font-size: 12px; }
  .accord { display: flex; height: 6px; }
  .accord span { flex: 1; }

  .fab { display: none; }

  @media (max-width: 980px) {
    .nav nav, .nav .call { display: none; }
    .hero .wrap { grid-template-columns: 1fr; padding-right: 24px; }
    .hero .txt { padding: 44px 0 36px; }
    .hero .ph { min-height: 400px; margin: 0 -24px; }
    .hero .ph::before { display: none; }
    .hero .ph .fact { left: 0; bottom: 0; }
    .facts .wrap { grid-template-columns: 1fr; gap: 18px; }
    .flagships { grid-template-columns: 1fr; }
    .rrow summary { grid-template-columns: 76px 1fr 26px; }
    .roster .rmeta, .roster .rplaces { display: none; }
    .roster .rname .rmob { display: block; color: #d8d8de; }
    .rbody { padding: 4px 22px 22px; }
    .why .wrap { grid-template-columns: 1fr; gap: 40px; }
    .apply .wrap { grid-template-columns: 1fr; gap: 40px; }
    .qz { grid-template-columns: 1fr; gap: 28px; }
    .life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .life-grid .lg-wide { grid-column: span 2; }
    .prof-grid { grid-template-columns: 1fr; gap: 32px; }
    .prof-logo { width: 200px; }
  }
  @media (max-width: 620px) {
    form { grid-template-columns: 1fr; padding: 22px; }
    footer .cols { grid-template-columns: 1fr; }
    .facts ul { gap: 14px 22px; }
    .life-grid { grid-template-columns: repeat(2, 1fr); }
    /* Все три вкладки видны сразу — «Заочно» не уезжает за край экрана */
    .sec-head .tabs { display: flex; width: 100%; }
    .tabs button { flex: 1; white-space: normal; line-height: 1.2; padding: 9px 6px; font-size: 12.5px; }
    /* Код специальности — над названием, чтобы название не сжималось в столбик */
    .rrow summary { grid-template-columns: 1fr 26px; grid-template-areas: "code ico" "name ico"; gap: 3px 12px; padding: 14px 18px; }
    .rrow summary .rcode { grid-area: code; }
    .rrow summary .rname { grid-area: name; }
    .rrow summary .ico { grid-area: ico; }
    .rbody { padding: 4px 18px 20px; }
    /* 3 nowrap-колонки не помещаются в 375px — пускаем факты в перенос */
    .prof-facts { display: flex; flex-wrap: wrap; gap: 18px 32px; }
    /* «Профессионалитет» в h2 шире экрана при 26px Dela Gothic */
    h2 { font-size: 23px; }
    .prof-grid > div { min-width: 0; }
    .fab { display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; background: var(--brick-btn); color: #fff; text-align: center; padding: 15px; border-radius: 3px; font: 700 15px var(--body); text-decoration: none; box-shadow: 0 14px 34px rgba(0,0,0,.5); }
    body { padding-bottom: 72px; }
  }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--coal); border-top: 1px solid var(--line-d); }
.faq-list { margin-top: 28px; max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line-d); }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 16px 20px; list-style: none; position: relative; padding-right: 44px; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--brick-lite); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 18px; color: #d3d3da; font-size: 14px; max-width: 720px; }

/* ---------- Документы ---------- */
.docs-sec { background: var(--ink); }
.docs-list { margin-top: 28px; display: grid; max-width: 860px; }
.docs-list a { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-d); padding: 18px 0; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.docs-list a:hover { border-color: var(--brick); }
.docs-list a .ico { color: var(--brick-lite); width: 20px; height: 20px; flex: none; }
.docs-list a .ico:last-child { margin-left: auto; color: var(--dim); }
.docs-list a span { color: #e8e8ec; }

/* ---------- Сообщения формы ---------- */
.form-ok { background: rgba(60,186,148,.14); border: 1px solid #2c8a6d; color: #7fe0c0; border-radius: 4px; padding: 13px 16px; font-size: 14px; font-weight: 600; }
.form-err { color: #ff9c8a; font-size: 12.5px; font-weight: 600; margin-top: 5px; }
select { width: 100%; background: var(--ink); border: 1px solid #41414d; color: #fff; border-radius: 3px; padding: 15px 14px; font: 500 14px var(--body); }

/* Диалог с полным текстом согласия ПДн */
.consent-dialog{max-width:640px;width:calc(100% - 40px);max-height:calc(100dvh - 32px);margin:auto;border:none;border-radius:4px;padding:28px;background:#fff;color:#1c1c20}
.consent-dialog::backdrop{background:rgba(10,10,14,.7)}
.consent-dialog h3{margin:0 0 12px;font-size:20px}
.consent-dialog-text{max-height:50vh;overflow-y:auto;font-size:14px;line-height:1.6;color:#3a3a40}
.consent-dialog-version{font-size:12px;color:#8a8a90;margin:12px 0 16px}

/* Куки-баннер (аналитика только после согласия) */
.cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:680px;margin:0 auto;background:#1d1d23;border:1px solid rgba(255,255,255,.14);border-radius:4px;padding:18px 20px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.cookie-bar p{margin:0;flex:1 1 320px;font-size:13.5px;line-height:1.55;color:#cfccc6}
.cookie-actions{display:flex;gap:10px}
.cookie-actions button{padding:10px 20px;border-radius:4px;border:none;font:inherit;font-weight:700;cursor:pointer;background:#C23E0C;color:#fff}
.cookie-actions button:hover{background:#a83409}
.cookie-actions button.ghost{background:transparent;border:1px solid rgba(255,255,255,.3);color:#cfccc6;font-weight:500}
.cookie-actions button.ghost:hover{border-color:#fff;color:#fff}
@media (max-width:560px){.cookie-bar{flex-direction:column;align-items:stretch}.cookie-bar p{flex:none}.cookie-actions button{flex:1}}

/* hidden обязан побеждать наш display:flex */
.cookie-bar[hidden]{display:none}
body:has(.cookie-bar:not([hidden])) .fab{visibility:hidden}
/* Honeypot: поле-ловушка вне экрана, людям не видно */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* Ключевые даты приёма */
.dates-list{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:0}
.dates-list li{display:flex;gap:16px;align-items:baseline;border-bottom:1px solid var(--line-d);padding:16px 0}
.dates-list time{flex:0 0 96px;font-weight:800;color:#FF7040;font-size:15px;white-space:nowrap}
.dates-list b{font-weight:600}
.dates-list small{display:block;color:#b9b5ae;margin-top:2px}

/* Подпись о политике ПДн под формой */
.policy-note{font-size:12.5px;color:var(--dim);margin:-4px 0 0}
.policy-note a,.consent-dialog-version a{color:inherit;text-decoration:underline}

.consult-unavailable { padding:32px; background:var(--coal); border:1px solid var(--line-d); border-radius:4px; align-self:start; }
.consult-unavailable p { margin:18px 0; color:#d3d3da; }
:focus-visible { outline:3px solid #ff945e; outline-offset:4px; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation:none!important; transition:none!important; } }
.campaign-notice { max-width:560px; color:#c4c1bb; font-size:13px; line-height:1.6; margin-top:14px; }
.dates-list time { flex-basis:135px; white-space:normal; }
@media (max-width:620px) { .dates-list li { flex-direction:column; gap:6px; } .dates-list time { flex-basis:auto; } }
.hero .campaign-notice { margin-bottom:24px; }
@media (max-width:620px) {
  .nav { gap:12px; padding-top:12px; padding-bottom:12px; }
  .nav .org { min-width:0; flex:1; }
  .nav .org small { display:none; }
  .nav .cta { padding:12px 14px; font-size:12px; }
}

/* Условия обучения и подписи фотографий */
.tabs button small { display:block; margin-top:4px; font-weight:400; font-size:12px; }
.life-grid figcaption { padding-top:10px; font-size:13px; line-height:1.5; color:var(--dim); }
.facts .main span { max-width:190px; }
.nav .org small { text-transform:none; letter-spacing:0; font-weight:400; font-size:11px; max-width:260px; }
@media (max-width:620px) {
  .hero .txt { padding-top:30px; }
  .hero p.lead { font-size:16px; }
  .btns .btn { justify-content:center; width:100%; font-size:14px; padding-left:12px; padding-right:12px; }
  .life-grid { gap:24px 14px; }
}

/* Отдельные страницы документов. */
.legal-page{max-width:860px;padding-top:48px;padding-bottom:48px;overflow-wrap:anywhere}
.legal-page h1{font-size:clamp(24px,5vw,32px);line-height:1.2;margin:32px 0}
.legal-page p{line-height:1.65;margin:0 0 20px}
