/* ===== ОСНОВА ===== */
:root {
  --sn_bg: #f4f7fa;
  --sn_surface: #ffffff;
  --sn_ink: #1c2530;
  --sn_muted: #5b6876;
  --sn_accent: #1f5a8a;
  --sn_accent_deep: #174669;
  --sn_tint: #dbe7f2;
  --sn_soft: #eaf1f7;
  --sn_line: #dce3ea;
  --sn_warn: #a33a28;
  --sn_font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sn_bg);
  color: var(--sn_ink);
  font-family: var(--sn_font);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sn_accent); }
h1, h2, h3, h4 { font-family: var(--sn_font); font-weight: 700; line-height: 1.24; margin: 0 0 .5em; color: var(--sn_ink); }
p { margin: 0 0 1em; }

.sn_wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sn_column { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ===== ШАПКА ===== */
.sn_header { position: sticky; top: 0; z-index: 50; background: var(--sn_surface); border-bottom: 1px solid var(--sn_line); }
.sn_header_row { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.sn_logo { color: var(--sn_ink); text-decoration: none; font-weight: 800; font-size: 23px; letter-spacing: -.01em; white-space: nowrap; }
.sn_nav { display: flex; gap: 22px; margin-left: auto; }
.sn_nav a { color: var(--sn_ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.sn_nav a:hover { color: var(--sn_accent); }
.sn_icon_btn {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--sn_line); border-radius: 10px; background: var(--sn_surface);
  color: var(--sn_ink); cursor: pointer; padding: 0;
}
.sn_icon_btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sn_header_cta {
  background: var(--sn_accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.sn_header_cta:hover { background: var(--sn_accent_deep); }
.sn_menu_btn { display: none; }

@media (max-width: 960px) {
  .sn_nav { display: none; }
  .sn_menu_btn { display: inline-flex; }
  .sn_find_btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .sn_header_cta { display: none; }
  .sn_logo { font-size: 21px; }
}

/* ===== МОБІЛЬНЕ МЕНЮ ===== */
.sn_drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
  width: min(320px, 86vw); background: var(--sn_surface);
  display: flex; flex-direction: column; padding: 16px 20px 24px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .28s ease, visibility .28s;
  box-shadow: -10px 0 30px rgba(28, 37, 48, .12);
}
.sn_drawer_open { transform: none; visibility: visible; }
.sn_drawer_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sn_drawer > a { color: var(--sn_ink); text-decoration: none; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--sn_line); }
.sn_drawer > a.sn_drawer_cta { margin-top: 16px; border: 0; background: var(--sn_accent); color: #fff; text-align: center; border-radius: 999px; }
.sn_drawer_shade { position: fixed; inset: 0; z-index: 80; background: rgba(28, 37, 48, .35); display: none; }
.sn_drawer_shade_on { display: block; }

/* ===== ПОШУК ===== */
.sn_find { position: fixed; inset: 0; z-index: 90; background: rgba(28, 37, 48, .42); display: none; padding: 76px 16px 16px; overflow-y: auto; }
.sn_find_on { display: block; }
.sn_find_box { max-width: 640px; margin: 0 auto; background: var(--sn_surface); border-radius: 14px; padding: 14px; box-shadow: 0 18px 50px rgba(28, 37, 48, .2); }
.sn_find_row { display: flex; gap: 10px; }
.sn_find_row input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px;
  border: 1px solid var(--sn_line); border-radius: 10px; color: var(--sn_ink); background: var(--sn_bg);
}
.sn_find_results { margin-top: 8px; }
.sn_find_item { display: block; padding: 10px 6px; border-bottom: 1px solid var(--sn_line); text-decoration: none; color: var(--sn_ink); }
.sn_find_item:last-child { border-bottom: 0; }
.sn_find_item b { display: block; font-size: 15.5px; }
.sn_find_item span { display: block; color: var(--sn_muted); font-size: 13.5px; line-height: 1.45; }
.sn_find_empty { color: var(--sn_muted); padding: 10px 6px; margin: 0; }

/* ===== ГОЛОВНА ===== */
.sn_main { padding-bottom: 30px; }
.sn_top_story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 44px 0 20px; }
.sn_tag { display: inline-block; color: var(--sn_accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.sn_top_text h1 { font-size: clamp(28px, 3.8vw, 44px); overflow-wrap: break-word; }
.sn_top_text h1 a { color: inherit; text-decoration: none; }
.sn_top_text h1 a:hover { color: var(--sn_accent); }
.sn_intro { font-size: 19px; color: var(--sn_muted); line-height: 1.55; }
.sn_meta { display: inline-block; font-size: 14px; color: var(--sn_muted); }
.sn_top_pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--sn_tint); }

.sn_block { padding: 30px 0 6px; }
.sn_block_head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--sn_ink); margin-bottom: 20px; }
.sn_block_head h2 { font-size: 24px; margin-bottom: 8px; }

.sn_topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sn_topic { display: block; background: var(--sn_surface); border: 1px solid var(--sn_line); border-top: 4px solid var(--sn_accent); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--sn_ink); }
.sn_topic h3 { font-size: 20px; }
.sn_topic p { color: var(--sn_muted); font-size: 15.5px; margin: 0; }
.sn_topic:hover h3 { color: var(--sn_accent); }

.sn_cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sn_card { display: flex; flex-direction: column; background: var(--sn_surface); border: 1px solid var(--sn_line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--sn_ink); transition: box-shadow .2s ease, border-color .2s ease; }
.sn_card:hover { border-color: #b9c9d8; box-shadow: 0 8px 24px rgba(28, 37, 48, .08); }
.sn_card_kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sn_accent); margin-bottom: 8px; }
.sn_card_title { font-size: 19px; margin-bottom: 8px; }
.sn_card_text { color: var(--sn_muted); font-size: 15px; line-height: 1.5; flex: 1; }
.sn_card_date { font-size: 13.5px; color: var(--sn_muted); }

.sn_howto { background: var(--sn_soft); border-radius: 14px; padding: 24px 26px; }
.sn_howto h2 { font-size: 21px; }
.sn_howto p { margin: 0; color: var(--sn_ink); }

/* ===== СТАТТЯ / СТОРІНКИ ===== */
.sn_crumbs { font-size: 14px; color: var(--sn_muted); margin-bottom: 14px; }
.sn_crumbs a { color: var(--sn_muted); }
.sn_article_head, .sn_page_head { padding: 40px 0 18px; }
.sn_article_head h1, .sn_page_head h1 { font-size: clamp(27px, 3.6vw, 42px); overflow-wrap: break-word; }
.sn_figure { margin: 8px 0 26px; }
.sn_figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--sn_tint); }
.sn_figcap { font-size: 14px; color: var(--sn_muted); margin-top: 8px; }

.sn_body { font-size: 18px; line-height: 1.7; }
.sn_body h2 { font-size: 25px; margin-top: 1.5em; }
.sn_body ul, .sn_body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.sn_body li { margin-bottom: .45em; }
.sn_body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sn_accent);
  font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--sn_ink);
}
.sn_aside { background: var(--sn_soft); border: 1px solid #c9d9e8; border-radius: 12px; padding: 16px 20px; margin: 1.6em 0; font-size: 16.5px; line-height: 1.6; }
.sn_table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; background: var(--sn_surface); }
.sn_table th, .sn_table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sn_line); vertical-align: top; }
.sn_table th { background: var(--sn_soft); font-weight: 700; }
.sn_doc { padding-bottom: 20px; }

.sn_sources { border-top: 1px solid var(--sn_line); margin-top: 34px; padding-top: 18px; font-size: 14.5px; color: var(--sn_muted); }
.sn_sources h2 { font-size: 18px; }
.sn_sources ol { padding-left: 1.2em; margin: 0; }
.sn_sources li { margin-bottom: .5em; overflow-wrap: anywhere; }
.sn_more { padding-top: 40px; }

.sn_contact_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 10px 0 18px; }
.sn_contact_item { background: var(--sn_surface); border: 1px solid var(--sn_line); border-radius: 12px; padding: 18px 20px; }
.sn_contact_item h2 { font-size: 18px; margin-top: 0; }
.sn_contact_item p { margin: 0 0 6px; overflow-wrap: anywhere; }
.sn_contact_note { color: var(--sn_muted); font-size: 15px; }

/* ===== ПІДВАЛ ===== */
.sn_footer { background: var(--sn_surface); border-top: 1px solid var(--sn_line); margin-top: 40px; padding: 40px 0 26px; font-size: 15px; }
.sn_footer_grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 28px; }
.sn_footer_brand p { color: var(--sn_muted); margin: 10px 0; }
.sn_footer_contacts a { display: block; color: var(--sn_ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.sn_footer_col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sn_muted); margin-bottom: 10px; }
.sn_footer_col a { display: block; color: var(--sn_ink); text-decoration: none; padding: 3px 0; }
.sn_footer_col a:hover { color: var(--sn_accent); }
.sn_disclaimer { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--sn_line); color: var(--sn_muted); font-size: 13.5px; line-height: 1.55; }
.sn_footer_base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 14px; color: var(--sn_muted); font-size: 13.5px; }
.sn_footer_base a { color: var(--sn_muted); }

/* ===== ПОЯВА ===== */
.sn_pre { opacity: 0; transform: translateY(14px); }
.sn_shown { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

@media (max-width: 860px) {
  .sn_top_story { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .sn_topics { grid-template-columns: 1fr; }
  .sn_footer_grid { grid-template-columns: 1fr 1fr; }
  .sn_footer_brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .sn_wrap, .sn_column { padding: 0 16px; }
  .sn_body { font-size: 17px; }
  .sn_body h2 { font-size: 22px; }
  .sn_intro { font-size: 17.5px; }
  .sn_contact_grid { grid-template-columns: 1fr; }
  .sn_footer_grid { grid-template-columns: 1fr; }
  .sn_table { font-size: 14.5px; }
  .sn_table th, .sn_table td { padding: 8px; }
}

/* ===== ЦІЛЬОВА: ЗАГОЛОВОК ===== */
.sn_offer { padding: 30px 0 10px; }
.sn_title {
  max-width: 900px; margin: 0 auto 22px; text-align: center;
  font-size: clamp(24px, 4.2vw, 42px); line-height: 1.22; overflow-wrap: break-word;
}
.sn_mark {
  display: inline;
  background: var(--sn_tint);
  color: var(--sn_ink);
  padding: 0 .16em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ===== ЦІЛЬОВА: ПЛЕЄР ===== */
.sn_player { max-width: 900px; margin: 0 auto; }
.sn_frame { position: relative; overflow: hidden; border-radius: 16px; background: #10161c; box-shadow: 0 16px 40px rgba(28, 37, 48, .18); }
.sn_video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; object-fit: cover;
  background: #10161c;
  filter: blur(3px); transform: scale(1.04);
  transition: filter .35s ease, transform .35s ease;
}
.sn_video.sn_sharp { filter: none; transform: none; }
.sn_frame:fullscreen { border-radius: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.sn_frame:-webkit-full-screen { border-radius: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.sn_frame:fullscreen .sn_video { aspect-ratio: auto; width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; }
.sn_frame:-webkit-full-screen .sn_video { aspect-ratio: auto; width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; }
.sn_video:fullscreen { aspect-ratio: auto; object-fit: contain; filter: none; transform: none; }
.sn_video:-webkit-full-screen { aspect-ratio: auto; object-fit: contain; filter: none; transform: none; }

.sn_cover { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.sn_cover_off { display: none; }
.sn_overlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; z-index: 3; }
.sn_scrim {
  position: absolute; left: 50%; top: 50%; width: 330px; height: 330px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(16,20,24,.58) 0%, rgba(16,20,24,0) 76%);
  z-index: -1; pointer-events: none;
}
.sn_play {
  position: absolute; left: 0; top: 0; width: 84px; height: 84px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 3px solid #fff; background: var(--sn_accent); color: #fff; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .35);
}
.sn_play::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--sn_accent); border: 3px solid #fff;
}
.sn_play::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8); pointer-events: none;
  animation: sn_halo 2.6s ease-out infinite;
}
.sn_play svg { position: relative; z-index: 1; display: block; width: 34px; height: 34px; fill: #fff; }
.sn_play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.sn_play_label {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  white-space: nowrap; pointer-events: none;
  background: rgba(16,20,24,.8); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.3; padding: 5px 11px; border-radius: 999px;
}
@keyframes sn_halo {
  0% { transform: scale(1); opacity: .85; }
  75%, 100% { transform: scale(1.42); opacity: 0; }
}
.sn_cover_off .sn_play::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .sn_play::after { animation: none; display: none; }
  .sn_pre { transform: none; }
  .sn_shown { transition: none; }
}

.sn_wait { position: absolute; inset: 0; z-index: 1; display: none; align-items: center; justify-content: center; pointer-events: none; }
.sn_player_wait .sn_wait { display: flex; }
.sn_wait span { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: sn_spin .9s linear infinite; }
@keyframes sn_spin { to { transform: rotate(360deg); } }

.sn_fs {
  position: absolute; right: 10px; bottom: 10px; z-index: 4;
  width: 40px; height: 40px; border: 0; border-radius: 10px; padding: 0;
  background: rgba(16, 20, 24, .62); color: #fff; cursor: pointer;
  display: none; align-items: center; justify-content: center;
}
.sn_player_on .sn_fs { display: flex; }
.sn_fs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sn_fs .sn_fs_exit { display: none; }
.sn_fs_active .sn_fs_enter { display: none; }
.sn_fs_active .sn_fs_exit { display: block; }

.sn_sound { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 900px; margin: 14px auto 0; color: var(--sn_muted); font-size: 15px; text-align: center; }
.sn_sound svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--sn_accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sn_sound b { color: var(--sn_ink); }
.sn_sound_off { visibility: hidden; }

/* ===== ЦІЛЬОВА: ЗАЯВКА ===== */
.sn_order {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center;
  max-width: 960px; margin: 34px auto 0; padding: 28px;
  background: var(--sn_surface); border: 1px solid var(--sn_line); border-radius: 18px;
  box-shadow: 0 14px 40px rgba(28, 37, 48, .07);
  scroll-margin-top: 90px;
}
.sn_order_pic { background: var(--sn_soft); border-radius: 14px; padding: 18px; }
.sn_order_pic img { width: 100%; max-width: 360px; margin: 0 auto; }
.sn_kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sn_accent); margin-bottom: 8px; }
.sn_order h2 { font-size: clamp(22px, 2.6vw, 28px); }
.sn_order_note { color: var(--sn_muted); font-size: 15.5px; }
.sn_field { margin-bottom: 14px; }
.sn_field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sn_field input {
  width: 100%; font: inherit; font-size: 17px; color: var(--sn_ink);
  padding: 12px 14px; border: 1px solid #c6d1dc; border-radius: 10px; background: #fff;
}
.sn_field input:focus { outline: none; border-color: var(--sn_accent); box-shadow: 0 0 0 3px rgba(31, 90, 138, .18); }
.sn_phone { display: flex; border: 1px solid #c6d1dc; border-radius: 10px; background: #fff; overflow: hidden; }
.sn_phone:focus-within { border-color: var(--sn_accent); box-shadow: 0 0 0 3px rgba(31, 90, 138, .18); }
.sn_phone_code { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--sn_soft); font-weight: 700; font-size: 16px; border-right: 1px solid #c6d1dc; white-space: nowrap; }
.sn_flag { display: inline-flex; flex-direction: column; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; }
.sn_flag i { flex: 1; }
.sn_flag_top { background: #0057b7; }
.sn_flag_bottom { background: #ffd700; }
.sn_phone input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.sn_phone input:focus { box-shadow: none; }
.sn_phone_tip { min-height: 20px; font-size: 13.5px; margin-top: 5px; color: var(--sn_muted); }
.sn_phone_tip_ok { color: var(--sn_accent); }
.sn_phone_tip_warn { color: var(--sn_warn); }
.sn_submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 17px; font-weight: 700; color: #fff; background: var(--sn_accent);
  border: 0; border-radius: 12px; padding: 15px 18px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 90, 138, .28);
}
.sn_submit:hover { background: var(--sn_accent_deep); }
.sn_submit:disabled { opacity: .7; cursor: default; }
.sn_submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sn_consent { font-size: 13px; color: var(--sn_muted); margin: 12px 0 0; line-height: 1.5; }
.sn_perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sn_line); }
.sn_perk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sn_ink); }
.sn_perk svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--sn_accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ===== ЦІЛЬОВА: ФІНАЛ ===== */
.sn_final { max-width: 960px; margin: 34px auto 10px; padding: 32px 26px; text-align: center; background: var(--sn_soft); border: 1px solid #c9d9e8; border-radius: 18px; }
.sn_final h2 { font-size: clamp(22px, 3vw, 30px); }
.sn_final p { color: var(--sn_muted); max-width: 620px; margin: 0 auto 20px; }
.sn_final_btn { display: inline-flex; align-items: center; gap: 10px; background: var(--sn_accent); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; }
.sn_final_btn:hover { background: var(--sn_accent_deep); }
.sn_final_btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .sn_order { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .sn_order_pic img { max-width: 240px; }
}
@media (max-width: 560px) {
  .sn_video { filter: blur(1.8px); }
  .sn_video.sn_sharp { filter: none; }
  .sn_frame { border-radius: 12px; }
  .sn_perks { grid-template-columns: 1fr; }
  .sn_sound { font-size: 14px; }
  .sn_final { padding: 26px 18px; }
}
