:root {
  --ink: #111111;
  --muted: #4b4b4b;
  --brand: #607b83;
  --footer: #cfddf7;
  --soft: #f3f4f5;
  --button: #b6b6b6;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Roboto, Arial, sans-serif; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }

.site-header { background: var(--white); }
.header-inner { width: min(1200px, calc(100% - 40px)); min-height: 150px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo-link { grid-column: 2; display: block; width: min(440px, 60vw); }
.logo-link img { display: block; width: 100%; height: auto; }
.header-phone { grid-column: 3; justify-self: end; color: var(--brand); font-size: 17px; font-weight: 700; }
.memo-tab { grid-column: 3; justify-self: end; max-width: 210px; color: var(--brand); font-size: 14px; line-height: 1.3; font-weight: 700; text-align: right; }
.memo-tab:hover, .memo-tab.active { color: #263f46; }
.site-nav { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 10px 20px; background: #263f46; color: var(--white); }
.site-nav a { font-size: 15px; font-weight: 700; }
.site-nav a:hover, .site-nav a.active { text-decoration: underline; }
.site-nav a[href="memo-bachelor.html"] { padding: 12px 24px; border: 3px solid #f1c84b; background: var(--white); color: #263f46; box-shadow: 0 4px 0 #f1c84b; text-align: center; }
.site-nav a[href="memo-bachelor.html"]:hover, .site-nav a[href="memo-bachelor.html"].active { background: #fff7d7; text-decoration: none; transform: translateY(-1px); }

.split { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; }
.media-panel { min-height: 760px; background-position: center; background-size: cover; }
.hero-photo { background-image: url("assets/hero-admissions.jpg"); background-position: 66% center; }
.text-panel { display: flex; flex-direction: column; justify-content: center; padding: 64px max(5vw, 64px); }
.hero-text h1 { max-width: 560px; margin: 0 0 32px; font-size: 36px; line-height: 1.23; font-weight: 700; }
.hero-text p, .lead-list { max-width: 630px; font-size: 25px; line-height: 1.55; }
.hero-text p { margin: 23px 0 0; font-weight: 300; }

.dash-list { margin: 0; padding: 0; list-style: none; }
.dash-list li { position: relative; padding-left: 22px; }
.dash-list li::before { content: "–"; position: absolute; left: 0; }
.lead-list li { margin: 8px 0; }

.button { min-height: 50px; width: fit-content; margin-top: 30px; padding: 14px 28px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: var(--button); color: #303030; font-size: 14px; font-weight: 700; }
.button:hover { background: #a7a7a7; }
.consultation-open { cursor: pointer; }
.consultation-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.consultation-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 25, .68); }
.modal-dialog { position: relative; width: min(650px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #f2f4f4; box-shadow: 0 20px 70px rgba(0,0,0,.32); }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 42px; height: 42px; border: 0; background: transparent; color: #333; font-size: 34px; line-height: 1; cursor: pointer; }
.consultation-form { max-width: 650px; padding: 32px; background: #f2f4f4; }
.consultation-form h2 { margin: 0 0 20px; font-size: 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: grid; gap: 7px; color: #333; font-size: 13px; font-weight: 700; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid #c9cece; border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-weight: 400; }
.form-grid input { min-height: 46px; padding: 0 12px; }
.form-grid textarea { min-height: 108px; padding: 11px 12px; resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-submit { margin-top: 18px; cursor: pointer; }\n.form-submit:disabled { cursor: progress; opacity: .75; }

.messenger-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.messenger-button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; font-weight: 700; }
.messenger-button span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 10px; }
.telegram-button { background: #2589d8; }
.whatsapp-link-button { background: #24a85a; }

.notice-section { padding: 74px 20px; }
.memo-promo { width: min(1100px, calc(100% - 40px)); margin: 64px auto 0; padding: 36px 42px; display: flex; align-items: center; justify-content: space-between; gap: 42px; background: var(--footer); }
.memo-promo span { color: var(--brand); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.memo-promo h2 { margin: 8px 0 8px; font-size: 31px; }
.memo-promo p { max-width: 680px; margin: 0; color: #3f4b50; font-size: 17px; line-height: 1.5; }
.memo-button { flex: 0 0 auto; margin-top: 0; background: #263f46; color: var(--white); }

.mobilization-focus { padding: 64px 20px 18px; }
.focus-inner { width: min(1100px, 100%); margin: 0 auto; padding: 42px 48px; border: 4px solid #263f46; background: #fff7d7; box-shadow: 0 12px 0 #cfddf7; }
.focus-label { display: inline-flex; margin-bottom: 14px; padding: 7px 12px; background: #263f46; color: var(--white); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.focus-inner h2 { max-width: 860px; margin: 0 0 18px; font-size: 34px; line-height: 1.2; }
.focus-inner p { max-width: 930px; margin: 16px 0 0; color: #303638; font-size: 19px; line-height: 1.58; font-weight: 300; }
.focus-options { margin: 28px 0 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.focus-options div { padding: 22px 24px; background: var(--white); border-left: 6px solid #607b83; }
.focus-options strong { display: block; margin-bottom: 8px; font-size: 24px; }
.focus-options span { display: block; color: #3f4b50; font-size: 17px; line-height: 1.5; }
.focus-actions { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.focus-law-link { margin-top: 30px; color: #263f46; font-size: 14px; font-weight: 800; text-decoration: underline; }
.narrow-copy { width: min(860px, 100%); margin: 0 auto; }
.narrow-copy > p { margin: 0; font-size: 25px; line-height: 1.52; font-weight: 300; }

.advantages-section { padding: 76px 20px 94px; background: var(--soft); }
.wide-copy { width: min(960px, 100%); margin: 0 auto; font-size: 25px; line-height: 1.55; font-weight: 300; }
.wide-copy h2 { margin: 0 0 20px; font-size: 32px; font-weight: 700; }
.wide-copy .dash-list li { margin: 7px 0; }
.wide-copy p { margin: 32px 0 0; }

.program-row { width: min(1200px, calc(100% - 40px)); min-height: 555px; margin: 0 auto; padding: 60px 0; display: grid; grid-template-columns: 55% 45%; }
.program-row.reverse { direction: rtl; }
.program-row.reverse > * { direction: ltr; }
.program-image { min-height: 495px; background-size: cover; background-position: center; }
.program-image-offline { background-image: url("assets/hero-admissions.jpg"); background-position: 70% center; }
.program-image-online { background: linear-gradient(rgba(96,123,131,.18), rgba(96,123,131,.18)), url("assets/hero-admissions.jpg") 22% center/cover; }
.program-copy { display: flex; flex-direction: column; justify-content: center; padding: 22px 20px 22px 60px; }
.reverse .program-copy { padding: 22px 60px 22px 20px; }
.program-copy h2 { margin: 0 0 18px; font-size: 26px; line-height: 1.25; }
.program-copy h3 { margin: 22px 0 10px; font-size: 18px; }
.program-copy p, .compact-list { margin: 0; color: #333; font-size: 17px; line-height: 1.55; font-weight: 300; }
.compact-list li { margin: 3px 0; }

.legal-section { padding: 76px 20px; border-top: 1px solid #e5e5e5; }
.legal-section h2 { margin: 0 0 20px; font-size: 32px; }
.legal-section .small-note { margin-top: 22px; color: #6b6b6b; font-size: 15px; }

.order-section { padding: 70px 20px; background: var(--brand); color: var(--white); }
.order-inner { width: min(960px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.order-inner h2 { margin: 0 0 16px; font-size: 34px; }
.order-inner p { margin: 0; font-size: 19px; line-height: 1.55; font-weight: 300; }
.order-actions { display: grid; gap: 12px; }
.bottom-messenger { width: 100%; min-height: 54px; }
.phone-card { padding: 18px 22px; background: var(--white); color: var(--ink); }
.phone-card small, .phone-card strong { display: block; }
.phone-card small { margin-bottom: 5px; color: #777; font-size: 12px; text-transform: uppercase; }
.phone-card strong { font-size: 26px; }
.dark-button { width: 100%; margin-top: 0; background: #263538; color: var(--white); }
.whatsapp-button { width: 100%; margin-top: 0; background: #24a85a; color: var(--white); }
.whatsapp-button:hover { background: #1f914e; }

.site-footer { min-height: 156px; padding: 30px 20px; display: grid; place-items: center; background: var(--footer); text-align: center; }
.site-footer div { display: grid; gap: 4px; font-size: 24px; line-height: 1.25; }
.site-footer a { font-weight: 700; }

.floating-messengers { position: fixed; right: 28px; bottom: 26px; z-index: 10; display: grid; gap: 12px; }
.messenger-float { width: 66px; height: 66px; display: grid; place-items: center; border: 4px solid var(--white); border-radius: 50%; color: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.messenger-float svg { width: 34px; height: 34px; fill: currentColor; }
.telegram-float { background: #2589d8; }
.whatsapp-float { background: #24c768; }
.messenger-float:hover { filter: brightness(.92); transform: translateY(-1px); }

.memo-page { padding: 64px 20px 100px; background: #f5f6f5; }
.memo-article { width: min(860px, 100%); margin: 0 auto; padding: 62px 72px; background: var(--white); box-shadow: 0 16px 50px rgba(24,37,40,.08); }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--brand); font-size: 14px; font-weight: 700; }
.article-label { margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.memo-article h1 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; }
.article-lead { margin: 0 0 34px; color: #344044; font-size: 23px; line-height: 1.55; }
.memo-article h2 { margin: 48px 0 16px; font-size: 28px; line-height: 1.2; }
.memo-article > p:not(.article-label):not(.article-lead):not(.article-note) { margin: 0 0 20px; color: #3b4345; font-size: 18px; line-height: 1.7; }
.year-example { margin: 34px 0 48px; padding: 26px 28px; border-left: 6px solid var(--brand); background: var(--footer); }
.year-example strong, .year-example span { display: block; }
.year-example strong { margin-bottom: 8px; font-size: 13px; text-transform: uppercase; }
.year-example span { font-size: 21px; line-height: 1.45; font-weight: 700; }
.article-checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d9dede; }
.article-checklist li { position: relative; padding: 15px 12px 15px 34px; border-bottom: 1px solid #d9dede; font-size: 17px; }
.article-checklist li::before { content: "✓"; position: absolute; left: 8px; color: var(--brand); font-weight: 900; }
.article-warning { margin-top: 44px; padding: 28px; background: #263f46; color: var(--white); }
.article-warning strong { display: block; margin-bottom: 10px; font-size: 21px; }
.article-warning p { margin: 0; color: #e3e9ea; font-size: 16px; line-height: 1.6; }
.article-note { margin: 28px 0 0; color: #747b7d; font-size: 13px; line-height: 1.55; }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 12px; }
.law-link { margin-top: 30px; color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
  .header-inner { min-height: 120px; }
  .header-phone { display: none; }
  .memo-tab { grid-column: 3; font-size: 12px; }
  .split { min-height: 0; grid-template-columns: 1fr; }
  .media-panel { min-height: 480px; }
  .memo-promo { align-items: flex-start; flex-direction: column; }
  .focus-inner { padding: 34px 30px; }
  .focus-options { grid-template-columns: 1fr; }
  .text-panel { padding: 54px 40px 70px; }
  .program-row, .program-row.reverse { width: 100%; padding: 0; grid-template-columns: 1fr; direction: ltr; }
  .program-image { min-height: 430px; }
  .program-copy, .reverse .program-copy { padding: 52px 40px 66px; }
  .order-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 600px) {
  .header-inner { width: calc(100% - 28px); min-height: 112px; display: flex; justify-content: center; }
  .header-inner { flex-wrap: wrap; padding: 18px 0; }
  .memo-tab { width: 100%; max-width: none; text-align: center; }
  .logo-link { width: min(370px, 86vw); }
  .media-panel { min-height: 360px; }
  .text-panel { padding: 44px 22px 58px; }
  .hero-text h1 { font-size: 32px; }
  .hero-text p, .lead-list, .narrow-copy > p, .wide-copy { font-size: 21px; }
  .consultation-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .messenger-button { width: 100%; }
  .notice-section, .advantages-section, .legal-section { padding: 56px 22px; }
  .wide-copy h2, .legal-section h2 { font-size: 28px; }
  .program-image { min-height: 330px; }
  .program-copy, .reverse .program-copy { padding: 42px 22px 56px; }
  .program-copy h2 { font-size: 24px; }
  .order-section { padding: 56px 22px; }
  .order-inner h2 { font-size: 30px; }
  .phone-card strong { font-size: 23px; }
  .site-footer div { font-size: 19px; }
  .floating-messengers { right: 16px; bottom: 16px; gap: 10px; }
  .messenger-float { width: 58px; height: 58px; }
  .messenger-float svg { width: 30px; height: 30px; }
  .memo-page { padding: 24px 12px 70px; }
  .site-nav { min-height: 50px; gap: 14px; flex-wrap: wrap; }
  .site-nav a { font-size: 13px; text-align: center; }
  .site-nav a[href="memo-bachelor.html"] { width: min(100%, 390px); padding: 11px 15px; }
  .memo-promo { width: calc(100% - 28px); margin-top: 36px; padding: 28px 22px; }
  .memo-button { width: 100%; }
  .mobilization-focus { padding: 46px 14px 8px; }
  .focus-inner { padding: 28px 20px; border-width: 3px; box-shadow: 0 8px 0 #cfddf7; }
  .focus-inner h2 { font-size: 27px; }
  .focus-inner p { font-size: 17px; }
  .focus-options div { padding: 18px; }
  .focus-options strong { font-size: 21px; }
  .focus-actions .button, .focus-law-link { width: 100%; }
  .memo-article { padding: 38px 22px; }
  .memo-article h1 { font-size: 36px; }
  .article-lead { font-size: 20px; }
}

/* full refresh 20260713 */
.button, button.button, a.button { min-height: 54px !important; padding: 0 30px !important; border-radius: 8px !important; background: #1f5f6b !important; color: #fff !important; font-size: 15px !important; font-weight: 800 !important; box-shadow: 0 10px 24px rgba(31,95,107,.24) !important; }
.button:hover, button.button:hover, a.button:hover { background: #184b55 !important; }
.memo-button { background: #1f5f6b !important; color: #fff !important; }
.messenger-button { border-radius: 8px !important; font-weight: 800 !important; box-shadow: 0 10px 22px rgba(20,52,58,.18) !important; }
.mobilization-focus { padding: 0 26px 76px; background: #fff; }
.focus-inner { width: min(980px, 100%); margin: 0 auto; padding: 46px 54px 50px; border-top: 8px solid #263f46; background: #f7f9fb; box-shadow: 0 18px 48px rgba(38,63,70,.12); }
.focus-label { display: inline-flex; margin-bottom: 16px; padding: 8px 13px; background: #263f46; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.focus-inner h2 { max-width: 820px; margin: 0 0 20px; font-size: 34px; line-height: 1.22; }
.focus-inner p { max-width: 820px; margin: 16px 0 0; color: #303638; font-size: 19px; line-height: 1.62; font-weight: 300; }
.focus-options { margin: 30px 0 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.focus-options div { padding: 24px 26px; background: #fff; border-left: 6px solid #607b83; box-shadow: 0 8px 24px rgba(38,63,70,.08); }
.focus-options strong { display: block; margin-bottom: 8px; font-size: 24px; }
.focus-options span { display: block; color: #3f4b50; font-size: 17px; line-height: 1.5; }
.focus-law-link { min-height: 54px; margin-top: 30px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #263f46; border-radius: 8px; color: #263f46; font-size: 14px; font-weight: 800; text-decoration: none; }
@media (max-width: 900px) { .focus-inner { padding: 34px 30px; } .focus-options { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mobilization-focus { padding: 0 14px 52px; } .focus-inner { padding: 28px 20px; } .focus-inner h2 { font-size: 27px; } .focus-inner p { font-size: 17px; } .focus-actions .button, .focus-law-link { width: 100%; } }
/* /full refresh 20260713 */

.footer-link { width: fit-content; margin: 0 auto; text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-telegram-link { color: #1769aa !important; }
.footer-whatsapp-link { color: #15803d !important; }
.footer-link:hover { filter: brightness(.82); }
