:root {
  --ink: #17133d;
  --ink-soft: #403b62;
  --muted: #716d88;
  --violet: #6b52d9;
  --violet-dark: #5640bd;
  --violet-soft: #eeeafe;
  --orange: #ffb34c;
  --orange-dark: #ef9b28;
  --mint: #dff7ed;
  --surface: #ffffff;
  --surface-soft: #f8f7fc;
  --line: #e9e6f1;
  --shadow: 0 24px 64px rgba(31, 24, 75, .11);
  --shadow-soft: 0 12px 36px rgba(31, 24, 75, .08);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 136px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.trustbar { color: #e9e7f7; background: var(--ink); font-size: 12px; }
.trustbar__inner { min-height: 36px; display: flex; align-items: center; gap: 30px; }
.trustbar__item { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.trustbar__item svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 1.9; }
.trustbar a { margin-left: auto; color: #fff; border-bottom: 1px dashed rgba(255,255,255,.5); }
.trustbar a:hover { color: var(--orange); }

.site-header { position: relative; z-index: 20; background: #fff; }
.header-main { border-bottom: 1px solid var(--line); }
.header-main__inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 190px; }
.brand__mark { width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--violet); border-radius: 14px 14px 14px 4px; transform: rotate(-2deg); box-shadow: 0 8px 18px rgba(107,82,217,.25); }
.brand__mark svg { width: 27px; height: 27px; fill: currentColor; }
.brand__text { position: relative; display: inline-flex; align-items: baseline; line-height: 1; font-size: 22px; letter-spacing: -.6px; }
.brand__text b { font-weight: 800; }
.brand__text em { color: var(--violet); font-weight: 800; font-style: normal; }
.brand__text small { position: absolute; top: 25px; left: 0; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.7px; white-space: nowrap; }
.header-promise { padding-left: 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; font-size: 13px; }
.header-promise strong { font-size: 14px; }
.header-promise span { color: var(--muted); }
.header-contact { margin-left: auto; display: grid; justify-items: end; line-height: 1.2; }
.header-contact__caption { color: var(--muted); font-size: 11px; }
.header-contact__phone { margin-top: 3px; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.header-contact__phone:hover { color: var(--violet); }
.text-button { padding: 3px 0 0; border: 0; border-bottom: 1px dashed var(--violet); color: var(--violet); background: transparent; font-size: 12px; cursor: pointer; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); transition: .2s; }

.main-nav { border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(30,24,65,.035); }
.main-nav__inner { height: 51px; display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; color: var(--ink-soft); font-size: 14px; font-weight: 650; white-space: nowrap; }
.main-nav a:not(.main-nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -15px; height: 2px; background: var(--violet); transition: right .2s; }
.main-nav a:hover { color: var(--violet); }
.main-nav a:hover::after { right: 0; }
.main-nav__cta { margin-left: auto; padding: 9px 18px; color: var(--violet) !important; background: var(--violet-soft); border-radius: 10px; }

.hero { position: relative; overflow: hidden; padding: 72px 0 78px; background: linear-gradient(120deg, #f7f5ff 0%, #f7f6fc 55%, #f2f4ff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(#d6d0f0 1px, transparent 1px); background-size: 23px 23px; mask-image: linear-gradient(90deg, #000, transparent 68%); }
.hero__orb { position: absolute; border-radius: 999px; filter: blur(1px); }
.hero__orb--one { width: 360px; height: 360px; top: -240px; left: 25%; background: rgba(255,179,76,.15); }
.hero__orb--two { width: 460px; height: 460px; right: -220px; bottom: -320px; background: rgba(107,82,217,.1); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .78fr); align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: 1.35px; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 3px; background: var(--orange); border-radius: 10px; }
.hero h1 { max-width: 690px; margin-bottom: 22px; font-size: clamp(40px, 5vw, 60px); line-height: 1.07; letter-spacing: -2.5px; }
.hero h1 mark { position: relative; color: var(--violet); background: transparent; white-space: nowrap; }
.hero h1 mark::after { content: ""; position: absolute; z-index: -1; left: -3px; right: -2px; bottom: 1px; height: 13px; background: rgba(255,179,76,.38); transform: rotate(-1deg); border-radius: 50%; }
.hero__lead { max-width: 620px; margin-bottom: 28px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero__benefits { display: flex; gap: 25px; margin-bottom: 30px; }
.hero__benefits > div { display: flex; align-items: center; gap: 10px; }
.hero__benefits svg { width: 33px; height: 33px; padding: 7px; color: var(--violet); background: white; border: 1px solid #e8e3fa; border-radius: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero__benefits span { display: flex; flex-direction: column; }
.hero__benefits b { font-size: 13px; }
.hero__benefits small { color: var(--muted); font-size: 11px; }
.hero__actions { display: flex; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.button--primary { color: white; background: var(--violet); box-shadow: 0 12px 26px rgba(107,82,217,.25); }
.button--primary:hover { background: var(--violet-dark); box-shadow: 0 16px 30px rgba(107,82,217,.32); }
.button--ghost { color: var(--ink); background: white; border-color: #ded9ec; }
.button--ghost:hover { border-color: var(--violet); color: var(--violet); }
.button--wide { width: 100%; }
.button--light { color: var(--violet); background: white; }
.button--accent { color: var(--ink); background: var(--orange); }
.button--accent:hover { background: #ffc066; }
.hero__note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.hero__note b { color: var(--ink); }
.avatar-stack { display: flex; }
.avatar-stack i { width: 30px; height: 30px; display: grid; place-items: center; margin-left: -6px; color: white; background: var(--violet); border: 2px solid white; border-radius: 50%; font-size: 9px; font-weight: 800; font-style: normal; }
.avatar-stack i:first-child { margin-left: 0; background: #ef9b28; }
.avatar-stack i:nth-child(2) { background: #3ca379; }

.calculator-card { padding: 26px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; box-shadow: var(--shadow); }
.calculator-card__heading { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.calculator-card__heading > div > span { color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.calculator-card__heading h2 { margin: 2px 0 0; font-size: 23px; line-height: 1.2; letter-spacing: -.5px; }
.calculator-card__badge { padding: 6px 9px; color: #2d775b; background: var(--mint); border-radius: 8px; font-size: 10px; font-weight: 750; }
.bryansk-hero-photo { position: relative; height: 132px; margin: 17px 0 0; overflow: hidden; border-radius: 13px; }
.bryansk-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(14, 10, 43, .82)); }
.bryansk-hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 48%; }
.bryansk-hero-photo figcaption { position: absolute; z-index: 2; left: 15px; bottom: 11px; color: white; }
.bryansk-hero-photo figcaption span, .bryansk-hero-photo figcaption strong { display: block; }
.bryansk-hero-photo figcaption span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.bryansk-hero-photo figcaption strong { font-size: 13px; }
.calculator { padding-top: 19px; }
.field { display: block; margin-bottom: 15px; }
.field > span:first-child { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.field input:not([type="range"]), .field select, .field textarea { width: 100%; color: var(--ink); background: #fbfaff; border: 1px solid #dedbe8; border-radius: 10px; outline: none; transition: border .2s, box-shadow .2s; }
.field input:not([type="range"]), .field select { height: 45px; padding: 0 13px; }
.field textarea { padding: 11px 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107,82,217,.1); }
.field select { appearance: none; padding-right: 38px; }
.select-wrap { position: relative; display: block; }
.select-wrap svg { position: absolute; top: 14px; right: 12px; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; }
.calculator__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 50px !important; }
.input-suffix i { position: absolute; top: 12px; right: 13px; color: var(--muted); font-size: 12px; font-style: normal; }
.field--range > span:first-child { display: flex; justify-content: space-between; }
.field--range > span:first-child label { font-style: normal; }
.field--range output { color: var(--violet); font-weight: 800; }
.field--range input { width: 100%; height: 5px; appearance: none; background: linear-gradient(90deg, var(--violet) 50%, #e3e0ec 50%); border-radius: 20px; outline: none; }
.field--range input::-webkit-slider-thumb { width: 18px; height: 18px; appearance: none; background: white; border: 5px solid var(--violet); border-radius: 50%; box-shadow: 0 2px 8px rgba(66,47,143,.25); cursor: pointer; }
.field--range input::-moz-range-thumb { width: 10px; height: 10px; background: white; border: 5px solid var(--violet); border-radius: 50%; box-shadow: 0 2px 8px rgba(66,47,143,.25); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; margin-top: 4px; color: #9b97aa; font-size: 9px; }
.range-scale i { font-style: normal; }
.calculator__result { margin: 17px 0; padding: 14px 16px; background: var(--violet-soft); border: 1px solid #dfdaf8; border-radius: 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.calculator__result > span { color: var(--ink-soft); font-size: 11px; }
.calculator__result strong { color: var(--violet); font-size: 21px; }
.calculator__result small { grid-column: 1 / -1; margin-top: 2px; color: var(--muted); font-size: 9px; }
.calculator__policy { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 9px 0 0; color: #9793a7; font-size: 8px; }
.calculator__policy svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }

.metrics { position: relative; z-index: 2; background: var(--ink); color: white; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 0; }
.metrics__grid div { display: flex; align-items: baseline; justify-content: center; gap: 10px; border-right: 1px solid rgba(255,255,255,.13); }
.metrics__grid div:last-child { border-right: 0; }
.metrics strong { color: var(--orange); font-size: 23px; }
.metrics span { color: #c9c6da; font-size: 12px; }

.universities { padding: 23px 0; background: white; border-bottom: 1px solid var(--line); }
.universities__inner { display: flex; align-items: center; gap: 52px; }
.universities__heading { min-width: 175px; }
.universities__heading span, .universities__heading strong { display: block; }
.universities__heading span { color: var(--violet); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.universities__heading strong { font-size: 13px; }
.universities__list { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.universities__list > span { display: flex; flex-direction: column; padding-left: 15px; border-left: 2px solid var(--violet-soft); }
.universities__list b { font-size: 15px; }
.universities__list small { color: var(--muted); font-size: 8px; }

.section { padding: 96px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading > div { max-width: 660px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .advantages__content h2, .faq__heading h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 43px); line-height: 1.15; letter-spacing: -1.4px; }
.section-heading > p { max-width: 460px; margin-bottom: 3px; color: var(--muted); }
.section-heading--center { display: block; max-width: 700px; margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center p { margin: 14px auto 0; }

.services { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(31,24,75,.035); transition: transform .25s, box-shadow .25s, border .25s; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); border-color: #d7d0f3; box-shadow: var(--shadow-soft); }
.service-card__tag { position: absolute; top: 0; right: 0; padding: 6px 11px; color: #664712; background: #fff0ce; border-radius: 0 21px 0 10px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.service-card__icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 22px; color: var(--violet); background: var(--violet-soft); border-radius: 14px; }
.service-card__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-card h3 { margin-bottom: 9px; font-size: 20px; }
.service-card p { min-height: 74px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.service-card__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.service-card__meta span { color: var(--muted); font-size: 11px; }
.service-card__meta b { font-size: 15px; }
.service-card > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--violet); font-size: 13px; font-weight: 750; }
.service-card > a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.service-card > a:hover svg { transform: translateX(4px); }
.service-card--featured { border-color: #d8d1f5; }
.service-card--request { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: white; background: var(--violet); border-color: var(--violet); }
.service-card--request::before { content: "?"; position: absolute; right: 17px; bottom: -78px; color: rgba(255,255,255,.07); font-size: 260px; font-weight: 900; line-height: 1; }
.service-card--request > span { position: relative; color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.service-card--request h3 { position: relative; margin: 12px 0; font-size: 24px; }
.service-card--request p { position: relative; min-height: auto; color: #e2def6; }
.service-card--request .button { position: relative; margin-top: 4px; }

.bryansk-section { color: white; background: var(--ink); }
.section-heading--local h2 { color: white; }
.section-heading--local > p { color: #c4c0d6; }
.bryansk-gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 230px 230px; gap: 16px; }
.bryansk-place { position: relative; overflow: hidden; margin: 0; border-radius: 20px; }
.bryansk-place--large { grid-row: 1 / 3; }
.bryansk-place img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s; }
.bryansk-place:hover img { transform: scale(1.035); }
.bryansk-place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 43%, rgba(10, 8, 34, .86)); }
.bryansk-place figcaption { position: absolute; z-index: 2; left: 22px; right: 18px; bottom: 17px; }
.bryansk-place figcaption small, .bryansk-place figcaption strong { display: block; }
.bryansk-place figcaption small { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.bryansk-place figcaption strong { color: white; font-size: 18px; }
.bryansk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 17px; }
.bryansk-features article { display: flex; align-items: center; gap: 11px; padding: 17px; background: rgba(255, 255, 255, .065); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; }
.bryansk-features svg { flex: 0 0 auto; width: 35px; height: 35px; padding: 8px; color: var(--orange); background: rgba(255, 179, 76, .1); border-radius: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bryansk-features span, .bryansk-features b, .bryansk-features small { display: block; }
.bryansk-features b { color: white; font-size: 12px; }
.bryansk-features small { color: #aaa6bd; font-size: 9px; }

.advantages { background: var(--surface-soft); }
.advantages__grid { display: grid; grid-template-columns: .86fr 1fr; gap: 94px; align-items: center; }
.advantages__visual { min-height: 540px; display: grid; place-items: center; border-radius: 36px; background: linear-gradient(145deg, #ece8fc, #f9f7ff); overflow: hidden; }
.paper-stack { position: relative; width: 330px; height: 420px; }
.paper { position: absolute; width: 290px; height: 370px; padding: 34px 28px; background: white; border: 1px solid #e5e1ef; border-radius: 10px; box-shadow: 0 28px 55px rgba(45,35,96,.13); }
.paper--back { top: 20px; left: 33px; transform: rotate(8deg); background: #ddd5fa; }
.paper--front { top: 18px; left: 11px; transform: rotate(-3deg); }
.paper__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.paper__top i { width: 24px; height: 24px; display: grid; place-items: center; color: white; background: #51b78d; border-radius: 50%; font-style: normal; }
.paper__title { width: 80%; height: 18px; margin: 55px auto 35px; background: var(--ink); border-radius: 3px; }
.paper__line { width: 80%; height: 5px; margin: 13px auto; background: #e8e6ee; border-radius: 4px; }
.paper__line--wide { width: 100%; }
.paper__line--short { width: 58%; }
.paper__score { position: absolute; bottom: 34px; left: 28px; right: 28px; display: flex; align-items: center; gap: 9px; padding: 13px; color: #267357; background: var(--mint); border-radius: 10px; }
.paper__score strong { font-size: 22px; }
.paper__score span { font-size: 10px; }
.visual-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-soft); }
.visual-badge svg { width: 28px; height: 28px; padding: 6px; color: var(--violet); background: var(--violet-soft); border-radius: 8px; fill: none; stroke: currentColor; stroke-width: 2; }
.visual-badge span { display: flex; flex-direction: column; }
.visual-badge b { font-size: 11px; }
.visual-badge small { color: var(--muted); font-size: 9px; }
.visual-badge--top { top: 0; right: -65px; }
.visual-badge--bottom { bottom: 5px; left: -50px; }
.advantages__content .eyebrow { margin-bottom: 12px; }
.advantages__content h2 { margin-bottom: 18px; }
.section-lead { color: var(--muted); font-size: 16px; }
.advantage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 31px; }
.advantage-list article { display: flex; gap: 12px; }
.advantage-list article > div:first-child { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; color: var(--violet); background: white; border: 1px solid #e6e1f5; border-radius: 11px; }
.advantage-list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.advantage-list h3 { margin-bottom: 4px; font-size: 15px; }
.advantage-list p { margin-bottom: 0; color: var(--muted); font-size: 11px; }

.process { position: relative; background: white; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid::before { content: ""; position: absolute; top: 52px; left: 12%; right: 12%; border-top: 2px dashed #d8d3e7; }
.process-grid article { position: relative; padding: 28px 24px 25px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 18px; }
.process-grid__number { position: absolute; top: 13px; right: 16px; color: #dfdbea; font-size: 25px; font-weight: 900; }
.process-grid__icon { position: relative; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--violet); background: var(--violet-soft); border: 5px solid white; border-radius: 15px; box-shadow: 0 0 0 1px #dfdaf5; }
.process-grid__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.process-grid h3 { margin-bottom: 7px; font-size: 17px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.process-cta { margin-top: 28px; padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 16px; }
.process-cta > div { display: flex; flex-direction: column; }
.process-cta strong { font-size: 16px; }
.process-cta span { color: var(--muted); font-size: 12px; }

.pricing { background: var(--surface-soft); }
.price-table { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 30px rgba(36,28,78,.04); }
.price-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table th:nth-child(1), .price-table td:nth-child(1) { width: 42%; }
.price-table th:nth-child(2), .price-table td:nth-child(2) { width: 18%; }
.price-table th:nth-child(3), .price-table td:nth-child(3) { width: 18%; }
.price-table th:nth-child(4), .price-table td:nth-child(4) { width: 22%; }
.price-table thead { color: var(--muted); background: #f3f1f8; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.price-table th { padding: 13px 25px; text-align: left; }
.price-table tbody tr { min-height: 73px; border-top: 1px solid var(--line); font-size: 13px; }
.price-table td { height: 73px; padding: 12px 25px; }
.price-table td:first-child { display: flex; align-items: center; gap: 12px; }
.price-table tbody svg { flex: 0 0 auto; width: 34px; height: 34px; padding: 7px; color: var(--violet); background: var(--violet-soft); border-radius: 9px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.price-table td:nth-child(2) { color: var(--muted); }
.price-table strong { font-size: 15px; white-space: nowrap; }
.price-table td:last-child { text-align: right; }
.price-table a { display: inline-block; padding: 8px 12px; color: var(--violet); background: var(--violet-soft); border-radius: 8px; font-size: 11px; font-weight: 750; }
.price-table a:hover { color: white; background: var(--violet); }
.price-table__row--accent { background: #fdfcff; }
.price-table__row i { margin-left: 4px; padding: 4px 7px; color: #815a12; background: #fff1ce; border-radius: 6px; font-size: 8px; font-weight: 800; font-style: normal; text-transform: uppercase; }
.pricing__note { margin: 13px 0 0; color: var(--muted); font-size: 10px; }

.reviews { background: white; }
.review-score { display: flex; align-items: center; gap: 12px; }
.review-score > strong { font-size: 37px; }
.review-score > span { display: flex; flex-direction: column; }
.review-score i, .review-card__top > i { color: var(--orange-dark); font-style: normal; letter-spacing: 1px; }
.review-score small { color: var(--muted); font-size: 10px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(31,24,75,.035); }
.review-card__top { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--violet); border-radius: 50%; font-size: 12px; font-weight: 800; }
.review-card__avatar--green { background: #3ca379; }
.review-card__avatar--orange { background: #e49a35; }
.review-card__top > span:nth-child(2) { display: flex; flex-direction: column; }
.review-card__top b { font-size: 13px; }
.review-card__top small { color: var(--muted); font-size: 9px; }
.review-card__top > i { margin-left: auto; font-size: 10px; }
.review-card > p { min-height: 120px; margin: 21px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.review-card__bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.review-card__bottom span { display: flex; align-items: center; gap: 4px; color: #2c8a67; }
.review-card__bottom svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.faq { background: var(--surface-soft); }
.faq__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 86px; align-items: start; }
.faq__heading { position: sticky; top: 30px; }
.faq__heading h2 { margin-bottom: 16px; }
.faq__heading p { max-width: 380px; margin-bottom: 25px; color: var(--muted); }
.accordion { display: grid; gap: 10px; }
.accordion__item { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; }
.accordion__item button { width: 100%; min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border: 0; background: transparent; text-align: left; font-weight: 750; cursor: pointer; }
.accordion__item button i { position: relative; flex: 0 0 auto; width: 25px; height: 25px; background: var(--violet-soft); border-radius: 7px; }
.accordion__item button i::before, .accordion__item button i::after { content: ""; position: absolute; top: 12px; left: 7px; width: 11px; height: 1.5px; background: var(--violet); transition: transform .2s; }
.accordion__item button i::after { transform: rotate(90deg); }
.accordion__item.is-open button i::after { transform: rotate(0deg); }
.accordion__content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.accordion__content p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); font-size: 13px; }
.accordion__item.is-open { border-color: #d8d2f1; }
.accordion__item.is-open .accordion__content { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__content p { padding-bottom: 18px; }

.final-cta { padding: 75px 0; color: white; background: var(--violet); overflow: hidden; }
.final-cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.final-cta__inner::before { content: ""; position: absolute; width: 430px; height: 430px; top: -255px; right: -120px; border: 80px solid rgba(255,255,255,.04); border-radius: 50%; }
.eyebrow--light { color: #fff; }
.final-cta h2 { margin-bottom: 15px; }
.final-cta__inner > div > p { margin-bottom: 0; color: #e3dff8; }
.quick-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 22px; color: var(--ink); background: white; border-radius: 18px; box-shadow: 0 20px 50px rgba(37,26,93,.24); }
.quick-form label { display: flex; flex-direction: column; gap: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.quick-form input, .quick-form select { height: 45px; padding: 0 12px; color: var(--ink); background: #faf9fd; border: 1px solid #dedbe8; border-radius: 9px; outline: none; }
.quick-form input:focus, .quick-form select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107,82,217,.1); }
.quick-form .button { grid-column: 1 / -1; }
.quick-form > p { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 5px; margin: -1px 0 0; color: var(--muted); font-size: 8px; }
.quick-form > p svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }

.footer { padding: 62px 0 25px; color: #c9c6d8; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1fr; gap: 60px; }
.brand--light { color: white; }
.brand--light .brand__text em { color: var(--orange); }
.brand--light .brand__text small { color: #9995af; }
.footer__about p { max-width: 290px; margin-top: 22px; color: #9995ad; font-size: 12px; }
.footer__grid h3 { margin-bottom: 18px; color: white; font-size: 13px; }
.footer__grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__grid > div:not(:first-child) > a { color: #aaa6bc; font-size: 12px; }
.footer__grid > div:not(:first-child) > a:hover { color: var(--orange); }
.footer__contacts .footer__phone { color: white !important; font-size: 19px !important; font-weight: 800; }
.footer__contacts > span { color: #77728d; font-size: 10px; }
.footer__contacts > div { display: flex; gap: 7px; margin-top: 7px; }
.footer__contacts > div a { width: 31px; height: 31px; display: grid; place-items: center; color: white; background: rgba(255,255,255,.08); border-radius: 8px; font-size: 9px; font-weight: 800; }
.footer__bottom { display: grid; grid-template-columns: auto auto 1fr; gap: 35px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #77728d; font-size: 9px; }
.footer__bottom p { max-width: 540px; margin: 0 0 0 auto; text-align: right; }
.footer__bottom a:hover { color: white; }

.floating-chat { position: fixed; z-index: 12; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; color: white; background: #27a579; border: 3px solid white; border-radius: 999px; box-shadow: 0 10px 30px rgba(24,84,63,.25); font-size: 10px; font-weight: 750; }
.floating-chat svg { width: 27px; height: 27px; padding: 5px; background: rgba(255,255,255,.15); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.floating-chat:hover { transform: translateY(-2px); }

.modal[hidden], .toast[hidden] { display: none; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,12,45,.72); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; width: min(100%, 490px); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; background: white; border-radius: 22px; box-shadow: 0 30px 80px rgba(12,7,38,.35); animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(15px) scale(.98); } }
.modal__close { position: absolute; top: 13px; right: 13px; width: 35px; height: 35px; border: 0; color: var(--muted); background: var(--surface-soft); border-radius: 9px; font-size: 23px; cursor: pointer; }
.modal__panel .eyebrow { margin-bottom: 8px; }
.modal__panel h2 { margin-bottom: 10px; font-size: 29px; letter-spacing: -.7px; }
.modal__panel > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.modal-form small { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 9px; color: var(--muted); font-size: 9px; }
.modal-form small svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.toast { position: fixed; z-index: 120; right: 22px; bottom: 22px; width: min(calc(100% - 44px), 360px); display: flex; align-items: center; gap: 12px; padding: 16px; color: white; background: var(--ink); border-radius: 14px; box-shadow: 0 20px 50px rgba(20,14,51,.28); }
.toast > svg { width: 31px; height: 31px; padding: 7px; color: white; background: #3ca379; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; }
.toast span { display: flex; flex-direction: column; }
.toast b { font-size: 12px; }
.toast small { color: #bdb9ce; font-size: 9px; }

@media (max-width: 1020px) {
  html { scroll-padding-top: 90px; }
  .header-promise { display: none; }
  .main-nav__inner { gap: 19px; overflow-x: auto; scrollbar-width: none; }
  .main-nav__inner::-webkit-scrollbar { display: none; }
  .hero { padding-top: 58px; }
  .hero__grid { grid-template-columns: 1fr .78fr; gap: 38px; }
  .hero h1 { font-size: 46px; }
  .hero__benefits { gap: 13px; flex-wrap: wrap; }
  .hero__benefits > div { flex: 1 1 140px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .universities__inner { gap: 30px; }
  .advantages__grid { gap: 50px; }
  .advantages__visual { min-height: 500px; }
  .paper-stack { transform: scale(.86); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .footer__contacts { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .trustbar__inner { min-height: 33px; justify-content: space-between; gap: 12px; }
  .trustbar__item--desktop { display: none; }
  .header-main__inner { min-height: 73px; }
  .header-contact { display: none; }
  .brand { min-width: 0; }
  .brand__mark { width: 39px; height: 39px; border-radius: 12px 12px 12px 4px; }
  .brand__mark svg { width: 23px; height: 23px; }
  .brand__text { font-size: 20px; }
  .brand__text small { top: 23px; font-size: 7px; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; top: 106px; left: 0; right: 0; display: none; background: white; box-shadow: 0 20px 40px rgba(20,14,55,.14); }
  .main-nav.is-open { display: block; }
  .main-nav__inner { height: auto; display: grid; gap: 0; padding: 10px 15px 16px; }
  .main-nav a { padding: 11px 5px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav__cta { margin: 10px 0 0; text-align: center; border-bottom: 0 !important; }
  .hero { padding: 45px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(35px, 11vw, 47px); letter-spacing: -1.8px; }
  .hero h1 mark { white-space: normal; }
  .hero__lead { font-size: 16px; }
  .hero__benefits { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__benefits > div:last-child { grid-column: 1 / -1; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .calculator-card { padding: 21px 17px; border-radius: 20px; }
  .bryansk-hero-photo { height: 145px; }
  .metrics__grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .metrics__grid div { min-height: 67px; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .metrics__grid div:nth-child(2) { border-right: 0; }
  .metrics__grid div:nth-child(n+3) { border-bottom: 0; }
  .metrics strong { font-size: 20px; }
  .metrics span { font-size: 10px; }
  .section { padding: 68px 0; }
  .universities__inner { display: block; }
  .universities__heading { margin-bottom: 17px; }
  .universities__list { grid-template-columns: 1fr 1fr; gap: 13px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2, .advantages__content h2, .faq__heading h2, .final-cta h2 { font-size: 33px; letter-spacing: -1px; }
  .section-heading > p { margin-top: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
  .bryansk-gallery { grid-template-columns: 1fr; grid-template-rows: 310px 205px 205px; }
  .bryansk-place--large { grid-row: auto; }
  .bryansk-features { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: 1fr; gap: 45px; }
  .advantages__visual { min-height: 440px; order: 2; }
  .paper-stack { transform: scale(.78); }
  .advantage-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { text-align: left; padding-left: 88px; min-height: 112px; }
  .process-grid__icon { position: absolute; top: 28px; left: 22px; }
  .process-grid__number { top: 10px; }
  .process-cta { align-items: stretch; flex-direction: column; }
  .price-table table, .price-table tbody { display: block; }
  .price-table thead { display: none; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 7px 16px; padding: 18px; }
  .price-table tbody td { width: auto !important; height: auto; padding: 0; }
  .price-table tbody td:first-child { grid-column: 1 / -1; }
  .price-table tbody td:nth-child(2) { grid-column: 1; }
  .price-table tbody td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .price-table tbody td:last-child { grid-column: 1 / -1; text-align: stretch; }
  .price-table tbody a { display: block; margin-top: 5px; text-align: center; }
  .review-score { margin-top: 20px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card > p { min-height: auto; }
  .faq__grid { grid-template-columns: 1fr; gap: 35px; }
  .faq__heading { position: static; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .quick-form { grid-template-columns: 1fr; }
  .quick-form .button, .quick-form > p { grid-column: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .footer__contacts { grid-column: 1 / -1; }
  .footer__bottom { grid-template-columns: 1fr; gap: 10px; }
  .footer__bottom p { margin-left: 0; text-align: left; }
  .floating-chat { width: 51px; height: 51px; right: 14px; bottom: 14px; padding: 8px; justify-content: center; }
  .floating-chat svg { width: 31px; height: 31px; }
  .floating-chat span { display: none; }
}

@media (max-width: 420px) {
  .trustbar a { font-size: 10px; }
  .hero__benefits { grid-template-columns: 1fr; }
  .hero__benefits > div:last-child { grid-column: auto; }
  .calculator__row { grid-template-columns: 1fr; gap: 0; }
  .universities__list { grid-template-columns: 1fr; }
  .calculator__result { grid-template-columns: 1fr; }
  .calculator__result strong { margin-top: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__about, .footer__contacts { grid-column: 1; }
  .modal__panel { padding: 29px 20px 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.city-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.city-directory a {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.city-directory a:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.city-directory span { font-size: 17px; font-weight: 750; }
.city-directory small { color: rgba(255,255,255,.62); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.toast--error { background: #8d2437 !important; }
button[disabled] { opacity: .65; cursor: wait; }
.photo-credit {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 2;
  max-width: calc(100% - 20px);
  overflow: hidden;
  border-radius: 6px;
  background: rgba(16,13,39,.72);
  padding: 4px 7px;
  color: rgba(255,255,255,.78);
  font-size: 9px;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-credit:hover { color: #fff; }
@media (max-width: 980px) { .city-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .city-directory { grid-template-columns: 1fr; } }
