/* =====================================================================
   Информационные страницы в стиле новой главной (поверх home-new.css)
   Корень: <main class="hn hn-page" id="hn-root">
   ===================================================================== */
.hn.hn-page { background: #f6fbff; padding-top: var(--hn-header-h, 72px); min-height: 70vh; --hn-edge: clamp(16px, 4.2vw, 88px); overflow-x: clip; }
@media (min-width: 1200px) { .hn.hn-page { --hn-edge: clamp(32px, 4.2vw, 88px); } }
body:has(.hn-page) { background: #f6fbff; }
.hn-page__body { padding-bottom: clamp(24px, 3vw, 48px); }

/* ---------- шапка страницы ---------- */
.hn-ph { position: relative; margin: clamp(10px, 1.4vw, 20px) var(--hn-edge) 0; padding: clamp(34px, 4.6vw, 76px) clamp(22px, 4vw, 72px); border-radius: clamp(24px, 2.4vw, 36px); overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #e3f3ff 0%, #f3faff 55%, #e9f6ff 100%); }
.hn-ph::before { content: ''; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff 0, #d4ecfc 60%, rgba(212, 236, 252, 0) 100%); }
.hn-ph::after { content: ''; position: absolute; z-index: -1; right: 6%; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(7, 157, 220, .16); }
.hn-ph__inner { max-width: 980px; }
.hn-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 clamp(16px, 2vw, 28px); font-size: 14px; color: #5b7390; }
.hn-crumbs a { color: #5b7390; text-decoration: none; transition: color .2s ease; }
.hn-crumbs a:hover { color: var(--hn-accent); }
.hn-crumbs i { font-style: normal; opacity: .5; }
.hn-crumbs span { color: #0f2238; font-weight: 500; }
.hn-ph__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 8px 16px; border-radius: 999px; background: #d6eefc; color: #0679ad; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hn-ph__eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hn-accent); }
.hn-ph h1 { margin: 0; font-size: clamp(32px, 3.8vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: #0b1c2f; text-transform: none; text-align: left; text-wrap: balance; }
.hn-ph h1 span, .hn-sec__head h2 span, .hn-cta h2 span { color: var(--hn-accent); }
.hn-ph__lead { max-width: 760px; margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; color: #3f5573; }
.hn-ph__lead p { margin: 0; }
.hn-ph__meta { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; color: #5b7390; }
.hn-ph__meta svg, .hn-post__meta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hn-ph__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- секции ---------- */
.hn-sec { padding: clamp(32px, 4vw, 64px) 0 0; }
.hn-sec--tight { padding-top: clamp(24px, 3vw, 44px); }
.hn-wrap { margin: 0 var(--hn-edge); }
.hn-wrap--narrow { max-width: 900px; margin-left: auto; margin-right: auto; padding: 0 var(--hn-edge); box-sizing: content-box; }
@media (min-width: 1000px) { .hn-wrap--narrow { padding: 0; width: min(900px, calc(100% - 2 * var(--hn-edge))); } }
.hn-sec__head { max-width: 760px; margin: 0 0 clamp(22px, 2.6vw, 38px); }
.hn-sec__head h2 { margin: 0; font-size: clamp(28px, 2.8vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: #0b1c2f; text-transform: none; text-align: left; }
.hn-sec__head p:not(.hn-ph__eyebrow) { margin: 14px 0 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; color: #3f5573; }

/* ---------- кнопки ---------- */
.hn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 28px; border: 0; border-radius: 18px; background: #079ddc; color: #fff; font: 600 16px/1 'Montserrat', sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 16px 28px -14px rgba(7, 126, 190, .8); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hn-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.hn-btn:hover { background: #067fb4; color: #fff; transform: translateY(-2px); }
.hn-btn:hover svg { transform: translateX(3px); }
.hn-btn--light { background: #fff; color: #0679ad; box-shadow: 0 16px 30px -16px rgba(5, 40, 70, .7); }
.hn-btn--light:hover { background: #fff; color: #045f88; }
.hn-btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.hn-btn--ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.hn-btn--soft { background: #e6f4fd; color: #0679ad; box-shadow: none; }
.hn-btn--soft:hover { background: #d8edfb; color: #045f88; }

/* ---------- плитки-иконки ---------- */
.hn-tile { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 18px; color: var(--hn-accent);
  background: linear-gradient(150deg, #f6fcff 0%, #dcf1ff 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(7, 157, 220, .1), 0 8px 18px -10px rgba(7, 126, 190, .45);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background .28s ease, color .2s ease, box-shadow .28s ease; }
.hn-tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.hn-tile--solid { background: linear-gradient(150deg, #2cb9f2, #0782c8); color: #fff; }
.hn-tile--solid svg { fill: currentColor; stroke: none; width: 26px; height: 26px; }
@media (hover: hover) {
  *:hover > .hn-tile:not(.hn-tile--solid), .hn-card:hover .hn-tile:not(.hn-tile--solid) { background: linear-gradient(150deg, #2cb9f2, #0782c8); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 24px -10px rgba(7, 126, 190, .75); }
  *:hover > .hn-tile svg { transform: scale(1.1) rotate(-5deg); }
}

/* ---------- карточки ---------- */
.hn-card { padding: clamp(22px, 2.4vw, 36px); border-radius: 28px; background: #fff; box-shadow: 0 1px 0 #e6f0f8, 0 22px 44px -30px rgba(12, 70, 110, .35); }
.hn-grid { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hn-feat { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.2vw, 32px); border-radius: 28px; background: #fff; border: 1px solid #e3eef6; box-shadow: 0 18px 40px -30px rgba(12, 70, 110, .4); transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .2s ease; }
.hn-feat h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: #0f2238; text-transform: none; text-align: left; }
.hn-feat p { margin: 0; font-size: 15px; line-height: 1.6; color: #5b7390; }
@media (hover: hover) { .hn-feat:hover { transform: translateY(-4px); border-color: #bfe3f7; box-shadow: 0 28px 50px -28px rgba(12, 70, 110, .5); } }

/* шаги */
.hn-flow { counter-reset: hnstep; display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; }
.hn-flow li { position: relative; counter-increment: hnstep; padding: clamp(22px, 2vw, 30px); border-radius: 28px; background: #fff; border: 1px solid #e3eef6; }
.hn-flow li::before { content: counter(hnstep, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--hn-accent); }
.hn-flow h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #0f2238; text-transform: none; text-align: left; }
.hn-flow p { margin: 0; font-size: 15px; line-height: 1.6; color: #5b7390; }

/* две колонки */
.hn-split { display: grid; gap: clamp(20px, 3vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hn-split { grid-template-columns: 1fr 1fr; } }
.hn-split__visual { min-height: 280px; border-radius: 32px; background: linear-gradient(150deg, #dff1fd, #f1f9ff); display: grid; place-items: center; color: var(--hn-accent); box-shadow: 0 30px 60px -36px rgba(12, 60, 100, .45); overflow: hidden; }
.hn-split__visual svg { width: 38%; max-width: 160px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.hn-split ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.hn-split li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; color: #3f5573; }
.hn-split li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #079ddc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* тарифы */
.hn-plans { display: grid; gap: clamp(14px, 1.8vw, 26px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.hn-plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 2.6vw, 38px); border-radius: 32px; background: #fff; border: 1px solid #e3eef6; box-shadow: 0 18px 40px -30px rgba(12, 70, 110, .4); transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease; }
.hn-plan h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #0f2238; text-transform: none; text-align: left; }
.hn-plan__price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--hn-accent); }
.hn-plan__price small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: #6b7f98; }
.hn-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.hn-plan li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: #3f5573; }
.hn-plan li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e1f3fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23079ddc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hn-plan--accent { background: linear-gradient(160deg, #0a8fd0 0%, #067fb4 100%); border-color: transparent; box-shadow: 0 40px 70px -36px rgba(7, 126, 190, .8); }
.hn-plan--accent h3, .hn-plan--accent .hn-plan__price, .hn-plan--accent li { color: #fff; }
.hn-plan--accent .hn-plan__price small { color: #cfeafa; }
.hn-plan--accent li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.hn-plan__badge { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (hover: hover) { .hn-plan:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(12, 70, 110, .5); } }
.hn-note { margin: 22px 0 0; font-size: 14px; color: #6b7f98; }

/* аккордеон */
.hn-acc { display: grid; gap: 12px; max-width: 900px; }
.hn-acc details { border-radius: 20px; background: #fff; border: 1px solid #e3eef6; padding: 0 24px; box-shadow: 0 10px 24px -18px rgba(30, 80, 120, .35); transition: border-color .2s ease, box-shadow .2s ease; }
.hn-acc details:hover { border-color: #bfe3f7; }
.hn-acc details[open] { border-color: #9fd6f2; box-shadow: 0 18px 36px -20px rgba(7, 126, 190, .45); padding-bottom: 18px; }
.hn-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; color: #142640; }
.hn-acc summary::-webkit-details-marker { display: none; }
.hn-acc summary::after { content: ''; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #edf5fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23405b80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease, background-color .2s ease; }
.hn-acc details[open] summary::after { background-color: #079ddc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.hn-acc p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #5b7390; }

/* ---------- призыв внизу ---------- */
.hn-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 3.6vw, 56px) clamp(24px, 4vw, 72px); border-radius: clamp(24px, 2.4vw, 36px); color: #fff; overflow: hidden; position: relative; isolation: isolate;
  background: linear-gradient(120deg, #0f2a3d 0%, #0b4a6e 60%, #0a7db5 100%); box-shadow: 0 40px 70px -40px rgba(7, 70, 110, .8); }
.hn-cta::after { content: ''; position: absolute; z-index: -1; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); }
.hn-cta h2 { margin: 0 0 10px; max-width: 640px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: #fff; text-transform: none; text-align: left; }
.hn-cta p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: #cfe6f5; }
.hn-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- статья / текст из админки ---------- */
.hn-prose { font-size: 17px; line-height: 1.75; color: #2c4260; overflow-wrap: anywhere; }
.hn-prose > *:first-child { margin-top: 0; }
.hn-prose h1, .hn-prose h2, .hn-prose h3, .hn-prose h4 { color: #0b1c2f; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; text-transform: none; text-align: left; font-family: 'Montserrat', sans-serif; }
.hn-prose h2 { margin: 2em 0 .6em; font-size: clamp(24px, 2.2vw, 32px); }
.hn-prose h3 { margin: 1.6em 0 .5em; font-size: clamp(20px, 1.8vw, 24px); }
.hn-prose h4 { margin: 1.4em 0 .4em; font-size: 18px; }
.hn-prose p { margin: 0 0 1.1em; }
.hn-prose a { color: #0679ad; text-decoration: underline; text-decoration-color: rgba(6, 121, 173, .35); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.hn-prose a:hover { color: #045f88; text-decoration-color: currentColor; }
.hn-prose ul, .hn-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.hn-prose li { margin: .35em 0; padding-left: .2em; }
.hn-prose li::marker { color: var(--hn-accent); font-weight: 700; }
.hn-prose img { max-width: 100%; height: auto; border-radius: 22px; margin: .6em 0; }
.hn-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--hn-accent); border-radius: 0 20px 20px 0; background: #e9f6ff; color: #1d3a57; }
.hn-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0; font-size: 15px; border: 1px solid #dcebf6; border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }
.hn-prose th, .hn-prose td { padding: 12px 16px; border-bottom: 1px solid #e6f0f8; text-align: left; }
.hn-prose th { background: #eaf5fd; font-weight: 600; color: #0f2238; }
.hn-prose iframe, .hn-prose ymaps { max-width: 100%; border-radius: 22px; }
.hn-prose--intro { margin-bottom: 28px; max-width: 760px; }
.hn-wrap--narrow .hn-prose { background: #fff; padding: clamp(22px, 3.4vw, 52px); border-radius: 32px; box-shadow: 0 1px 0 #e6f0f8, 0 30px 60px -44px rgba(12, 70, 110, .4); }
/* вложенные «боковые» стили старых страниц не должны ломать вёрстку */
.hn-prose .container, .hn-prose .row { width: auto; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.hn-prose [class*="col-"] { float: none; width: auto; padding: 0; }

/* ---------- блог ---------- */
.hn-posts { display: grid; gap: clamp(16px, 1.8vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .hn-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hn-posts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .hn-posts--feature > .hn-post:first-child { grid-column: span 2; flex-direction: row; } }
.hn-post { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid #e3eef6; color: inherit; text-decoration: none; box-shadow: 0 18px 40px -32px rgba(12, 70, 110, .45); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .2s ease; }
.hn-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, #dff1fd, #f1f9ff); }
.hn-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hn-post__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--hn-accent); }
.hn-post__ph svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.hn-post__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 1.8vw, 28px); flex: 1; }
.hn-post__meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #6b7f98; }
.hn-post strong { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.28; letter-spacing: -.02em; color: #0f2238; }
.hn-post__text { font-size: 15px; line-height: 1.6; color: #5b7390; }
.hn-post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: #079ddc; }
.hn-post__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
@media (hover: hover) { .hn-post:hover { transform: translateY(-5px); border-color: #bfe3f7; box-shadow: 0 32px 56px -30px rgba(12, 70, 110, .5); } .hn-post:hover .hn-post__img img { transform: scale(1.06); } .hn-post:hover .hn-post__more svg { transform: translateX(4px); } }
@media (min-width: 1100px) { .hn-posts--feature > .hn-post:first-child .hn-post__img { flex: 0 0 52%; aspect-ratio: auto; } .hn-posts--feature > .hn-post:first-child strong { font-size: 26px; } }

/* ---------- контакты ---------- */
.hn-contacts { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .hn-contacts { grid-template-columns: minmax(300px, 420px) 1fr; } }
.hn-ccards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hn-ccards a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 24px; background: #fff; border: 1px solid #e3eef6; text-decoration: none; color: #0f2238; box-shadow: 0 14px 30px -26px rgba(12, 70, 110, .5); transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, box-shadow .28s ease; }
.hn-ccards small { display: block; font-size: 13px; color: #6b7f98; margin-bottom: 2px; }
.hn-ccards strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
@media (hover: hover) { .hn-ccards a:hover { transform: translateY(-3px); border-color: #bfe3f7; box-shadow: 0 24px 44px -28px rgba(12, 70, 110, .5); } }
.hn-contacts .hn-card { min-width: 0; }

/* ---------- старые страницы без отдельного оформления (карта сайта, 404 и т.п.) ---------- */
.hn-legacy { margin: clamp(16px, 2vw, 28px) var(--hn-edge) 0; padding: clamp(22px, 3vw, 44px); border-radius: 32px; background: #fff; box-shadow: 0 1px 0 #e6f0f8, 0 30px 60px -44px rgba(12, 70, 110, .4); }
.hn-legacy h1 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; text-transform: none; color: #0b1c2f; }
.hn-legacy ul { padding-left: 1.2em; } .hn-legacy a { color: #0679ad; }
.hn-404 { text-align: center; padding: clamp(40px, 6vw, 96px) 20px; }
.hn-404__code { display: block; font-size: clamp(88px, 14vw, 180px); font-weight: 700; line-height: 1; letter-spacing: -.05em; background: linear-gradient(150deg, #2cb9f2, #0782c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hn-404 h1 { margin: 10px 0 12px; font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; color: #0b1c2f; text-transform: none; }
.hn-404 p { margin: 0 auto 26px; max-width: 520px; color: #5b7390; font-size: 17px; line-height: 1.6; }
.hn-404 .hn-ph__actions { justify-content: center; }

@media (max-width: 767px) {
  .hn-ph { padding: 28px 20px 32px; }
  .hn-btn { width: 100%; }
  .hn-cta__actions { width: 100%; }
  .hn-cta__actions .hn-btn { flex: 1 1 100%; }
  .hn-prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hn-feat, .hn-plan, .hn-post, .hn-ccards a, .hn-btn { transition: none; } }

.hn-prose b, .hn-prose strong { font-weight: 600; color: #0f2238; }
.hn-post__img { min-height: 160px; }

/* перекрываем общее правило `.hn a { color: inherit }` */
.hn .hn-btn { color: #fff; }
.hn .hn-btn:hover { color: #fff; }
.hn .hn-btn--light, .hn .hn-btn--light:hover { color: #0679ad; }
.hn .hn-btn--light:hover { color: #045f88; }
.hn .hn-btn--soft { color: #0679ad; }
.hn .hn-btn--soft:hover { color: #045f88; }
.hn .hn-btn--ghost, .hn .hn-btn--ghost:hover { color: #fff; }
.hn .hn-crumbs a { color: #5b7390; }
.hn .hn-crumbs a:hover { color: var(--hn-accent); }
.hn .hn-post { color: #0f2238; }
.hn .hn-post__more { color: #079ddc; }
.hn .hn-ccards a { color: #0f2238; }
.hn .hn-prose a { color: #0679ad; }
.hn .hn-prose a:hover { color: #045f88; }
.hn .hn-legacy a { color: #0679ad; }

.hn-empty { display: grid; gap: 14px; justify-items: start; }
.hn-empty h2 { margin: 6px 0 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; color: #0b1c2f; text-transform: none; }
.hn-empty p { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.65; color: #5b7390; }
.hn-wrap--narrow .hn-empty.hn-card { padding: clamp(24px, 3.4vw, 52px); }

/* старые страницы без отдельной новой вёрстки (карта сайта и т.п.) внутри новой оболочки */
.hn-page > .container { width: auto; max-width: none; margin: clamp(16px, 2vw, 28px) var(--hn-edge); padding: clamp(22px, 3vw, 44px); border-radius: 32px; background: #fff; box-shadow: 0 1px 0 #e6f0f8, 0 30px 60px -44px rgba(12, 70, 110, .4); }
.hn-page > .container .breadcrumb { background: transparent; padding: 0; margin: 0 0 18px; font-size: 14px; }
.hn-page > .container h1 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; text-transform: none; color: #0b1c2f; }
.hn-page > .container a:not(.btn) { color: #0679ad; }
.hn-page > .container .btn-primary { border: 0; border-radius: 16px; padding: 14px 26px; background: #079ddc; color: #fff; font-weight: 600; }
.hn-page > .container ul { line-height: 1.8; }
.hn-prose p:has(> br:only-child), .hn-prose p:empty { margin: 0; line-height: .5; }
.hn-plan__price { white-space: nowrap; }
.hn-plan ul { margin-bottom: 4px; }
.hn-note a { color: #0679ad; text-decoration: underline; text-underline-offset: 3px; }
.hn-plan__badge { top: -13px; right: 24px; background: #fff; color: #0679ad; box-shadow: 0 8px 18px -8px rgba(5, 40, 70, .5); }
.hn-page [id] { scroll-margin-top: 96px; }
.hn-plan__price small { white-space: normal; }
.hn-acc a { color: #0679ad; text-decoration: underline; text-underline-offset: 3px; }
.hn-split ul + * { margin-top: 0; }

/* ---------- поиск ---------- */
.hn-sform { display: flex; flex-wrap: wrap; gap: 12px; max-width: 720px; margin-top: 24px; }
.hn-sform__field { position: relative; flex: 1 1 280px; display: flex; align-items: center; }
.hn-sform__field svg { position: absolute; left: 18px; width: 22px; height: 22px; fill: none; stroke: #5b7390; stroke-width: 1.9; stroke-linecap: round; pointer-events: none; }
.hn-sform input[type="search"] { width: 100%; height: 56px; padding: 0 20px 0 52px; border: 1px solid #dcebf6; border-radius: 18px; background: #fff; font: 500 16px 'Montserrat', sans-serif; color: #0f2238; box-shadow: 0 10px 24px -18px rgba(12, 70, 110, .5); transition: border-color .2s ease, box-shadow .2s ease; }
.hn-sform input[type="search"]:focus { outline: none; border-color: #079ddc; box-shadow: 0 0 0 4px rgba(7, 157, 220, .14); }
.hn-sres { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.hn-sitem { display: flex; gap: 16px; padding: 16px; border-radius: 26px; background: #fff; border: 1px solid #e3eef6; color: #0f2238; text-decoration: none; box-shadow: 0 18px 40px -32px rgba(12, 70, 110, .45); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .2s ease; }
.hn-sitem__img { flex: 0 0 120px; height: 120px; border-radius: 18px; overflow: hidden; background: linear-gradient(150deg, #dff1fd, #f1f9ff); display: grid; place-items: center; }
.hn-sitem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hn-sitem__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hn-sitem strong { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.hn-sitem small { font-size: 13px; color: #6b7f98; }
.hn-sitem__attrs { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #46607d; }
.hn-sitem__attrs em { font-style: normal; color: #6b7f98; }
.hn-sitem .hn-post__more { margin-top: auto; }
@media (hover: hover) { .hn-sitem:hover { transform: translateY(-4px); border-color: #bfe3f7; box-shadow: 0 28px 50px -28px rgba(12, 70, 110, .5); } .hn-sitem:hover img { transform: scale(1.06); } .hn-sitem:hover .hn-post__more svg { transform: translateX(4px); } }
.hn-spag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; font-size: 14px; color: #6b7f98; }
.hn-spag .pagination { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hn-spag .pagination li > a, .hn-spag .pagination li > span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 14px; background: #fff; border: 1px solid #e3eef6; color: #0f2238; text-decoration: none; font-weight: 600; }
.hn-spag .pagination li.active > span { background: #079ddc; border-color: #079ddc; color: #fff; }
.hn-spag .pagination li > a:hover { border-color: #079ddc; color: #079ddc; }
@media (max-width: 480px) { .hn-sitem { flex-direction: column; } .hn-sitem__img { flex-basis: auto; width: 100%; height: 180px; } }
/* ---------- документ (согласие) ---------- */
.hn-prose--doc h2 { font-size: clamp(20px, 1.8vw, 24px); margin: 1.6em 0 .5em; }
.hn-prose--doc ul { margin-bottom: 1em; }
/* страницы старого содержимого в новой оболочке (поиск и т.п.): те же поля и фон */
.hn-page__body { --hn-edge: clamp(16px, 4.2vw, 88px); }
@media (min-width: 1200px) { .hn-page__body { --hn-edge: clamp(32px, 4.2vw, 88px); } }
.hn-page__body.hn-search { background: #f6fbff; padding-top: clamp(10px, 1.4vw, 20px); padding-bottom: clamp(24px, 3vw, 48px); }
.hn-page__body.hn-search .hn-ph { margin-top: 0; }

/* ---------- пример паспорта ---------- */
.hn-demo__note { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 12px 18px; border-radius: 16px; background: #e3f3fd; color: #0a5e87; font-size: 14px; }
.hn-demo__note svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-demo__top { display: grid; gap: clamp(14px, 1.8vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .hn-demo__top { grid-template-columns: 280px 1fr; align-items: start; } }
.hn-demo__qr { text-align: center; }
.hn-demo__qr img { width: 100%; max-width: 200px; height: auto; border-radius: 12px; }
.hn-demo__qr p { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #5b7390; }
.hn-demo__main { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 1000px) { .hn-demo__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hn-demo__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.hn-demo__gallery a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #e6f1f9; }
.hn-demo__gallery .hn-demo__big { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.hn-demo__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .hn-demo__gallery a:hover img { transform: scale(1.05); } }
.hn-demo__specs h2 { margin: 6px 0 14px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; color: #0b1c2f; text-transform: none; text-align: left; }
.hn-demo__specs dl { margin: 0; display: grid; border: 1px solid #e3eef6; border-radius: 18px; overflow: hidden; }
.hn-demo__specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 15px; }
.hn-demo__specs dl > div:nth-child(odd) { background: #f4f9fd; }
.hn-demo__specs dt { color: #6b7f98; }
.hn-demo__specs dd { margin: 0; font-weight: 600; color: #0f2238; text-align: right; }
.hn-demo__cols { display: grid; gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(14px, 1.8vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .hn-demo__cols { grid-template-columns: 1fr 1fr; } }
.hn-demo__h { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.02em; color: #0b1c2f; text-transform: none; text-align: left; }
.hn-demo__h .hn-tile { width: 48px; height: 48px; flex-basis: 48px; border-radius: 15px; }
.hn-demo__h .hn-tile svg { width: 24px; height: 24px; }
.hn-demo__h i { font-style: normal; min-width: 26px; height: 26px; padding: 0 8px; display: grid; place-items: center; border-radius: 13px; background: #fff3cc; color: #8a6200; font-size: 13px; font-weight: 700; }
.hn-demo__item + .hn-demo__item { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e6f0f8; }
.hn-demo__item strong { display: block; font-size: 16px; font-weight: 600; color: #0f2238; }
.hn-demo__item p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #5b7390; }
.hn-demo__history { margin-top: clamp(14px, 1.8vw, 24px); }
.hn-demo__tl { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid #cfe9f8; display: grid; gap: 24px; }
.hn-demo__tl li { position: relative; }
.hn-demo__tl li::before { content: ''; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #079ddc; box-shadow: 0 0 0 4px #dff2fc; }
.hn-demo__tl time { display: block; font-size: 13px; font-weight: 600; color: #079ddc; }
.hn-demo__tl strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; color: #0f2238; }
.hn-demo__tl p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #5b7390; }
.hn-demo__who { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: #eaf4fb; color: #46607d; font-size: 13px; }
