/* Спортпарк «Варяг» — общие стили блоков (CSS проекта в Тильде). Всё под классами .vrg-* */
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr, .vrg-cst) {
  --vrg-navy: #003078; --vrg-deep: #001f4f; --vrg-blue: #0071AD; --vrg-cyan: #008DD2;
  --vrg-ice: #A2D9F7; --vrg-ice-soft: #EEF7FD; --vrg-ink: #123A63; --vrg-text: #22344d;
  --vrg-muted: #4C6D93; --vrg-line: #D9E6F2; --vrg-paper: #F5F8FC; --vrg-red: #D0302B;
  --vrg-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --vrg-body: 'Golos Text', Arial, sans-serif;
  font-family: var(--vrg-body); color: var(--vrg-text); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr, .vrg-cst) *,
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr, .vrg-cst) *::before,
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr, .vrg-cst) *::after { box-sizing: border-box; }
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr) button { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr) :is(input, textarea, select) { font: inherit; }
:where(.vrg-hdr, .vrg-pg, .vrg-home, .vrg-ftr) a { color: var(--vrg-blue); }
.vrg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .vrg-wrap { padding: 0 16px; } }

/* ---------- Шапка ---------- */
.vrg-hdr { position: relative; z-index: 50; background: #fff; }
.vrg-hdr.is-open { z-index: 99995; }
.vrg-hdr__top { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.vrg-hdr__logo { flex: none; display: block; width: 230px; }
.vrg-hdr__logo img { display: block; width: 100%; height: auto; }
.vrg-hdr__desc { font-size: 14px; line-height: 1.45; color: var(--vrg-muted); max-width: 190px; }
.vrg-hdr__spacer { flex: 1; }
.vrg-hdr__hours { position: relative; }
.vrg-hdr__hours summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--vrg-ink); display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--vrg-line); border-radius: 999px; }
.vrg-hdr__hours summary::-webkit-details-marker { display: none; }
.vrg-hdr__hours summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.vrg-hdr__hours[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.vrg-hdr__hours-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; padding: 16px 18px; background: #fff; border: 1px solid var(--vrg-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 31, 79, .14); }
.vrg-hdr__hours-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--vrg-line); font-size: 14px; }
.vrg-hdr__hours-row:last-child { border-bottom: 0; }
.vrg-hdr__hours-row b { color: var(--vrg-navy); font-weight: 600; }
.vrg-hdr__contacts { text-align: right; }
.vrg-hdr__phone { display: block; font-family: var(--vrg-head); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: .01em; color: var(--vrg-navy) !important; text-decoration: none; white-space: nowrap; }
.vrg-hdr__phone span { color: var(--vrg-muted); font-weight: 500; }
.vrg-hdr__mail { font-size: 14px; color: var(--vrg-muted) !important; text-decoration: none; }
.vrg-hdr__mail:hover { color: var(--vrg-blue) !important; }
.vrg-hdr__soc { display: flex; gap: 8px; }
.vrg-hdr__soc a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--vrg-ice-soft); color: var(--vrg-navy); transition: background .2s; }
.vrg-hdr__soc a:hover { background: var(--vrg-ice); }
.vrg-hdr__soc svg { width: 18px; height: 18px; fill: currentColor; }
.vrg-hdr__burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--vrg-navy) !important; color: #fff !important; place-items: center; }
.vrg-hdr__burger svg { width: 22px; height: 22px; }
.vrg-hdr__nav { background: var(--vrg-navy); }
.vrg-hdr__menu { display: flex; list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1200px; }
.vrg-hdr__item { position: relative; }
.vrg-hdr__link { display: flex; align-items: center; gap: 6px; padding: 15px 16px; font-family: var(--vrg-head); font-weight: 500; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: #fff !important; text-decoration: none; transition: background .2s; }
.vrg-hdr__item:first-child .vrg-hdr__link { padding-left: 0; }
.vrg-hdr__item.has-sub > .vrg-hdr__link::after { content: ''; width: 6px; height: 6px; border-right: 2px solid var(--vrg-ice); border-bottom: 2px solid var(--vrg-ice); transform: rotate(45deg) translateY(-2px); }
.vrg-hdr__item:hover > .vrg-hdr__link, .vrg-hdr__item.is-active > .vrg-hdr__link { color: var(--vrg-ice) !important; }
.vrg-hdr__sub { position: absolute; left: 0; top: 100%; min-width: 260px; padding: 10px 0; list-style: none; margin: 0; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(0, 31, 79, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.vrg-hdr__sub.is-wide { columns: 2; column-gap: 0; width: 600px; }
.vrg-hdr__item:hover > .vrg-hdr__sub, .vrg-hdr__item:focus-within > .vrg-hdr__sub { opacity: 1; visibility: visible; transform: none; }
.vrg-hdr__sub li { break-inside: avoid; }
.vrg-hdr__sub a { display: block; padding: 8px 20px; font-size: 15px; line-height: 1.35; color: var(--vrg-ink) !important; text-decoration: none; }
.vrg-hdr__sub a:hover, .vrg-hdr__sub a.is-active { background: var(--vrg-ice-soft); color: var(--vrg-blue) !important; }
.vrg-hdr__mob { display: none; }
@media (max-width: 1100px) {
  .vrg-hdr__desc { display: none; }
  .vrg-hdr__link { padding: 14px 10px; font-size: 15px; }
}
@media (max-width: 960px) {
  .vrg-hdr__top { gap: 14px; }
  .vrg-hdr__logo { width: 170px; }
  .vrg-hdr__hours, .vrg-hdr__soc, .vrg-hdr__mail, .vrg-hdr__nav { display: none; }
  .vrg-hdr__phone { font-size: 20px; }
  .vrg-hdr__burger { display: grid; }
  .vrg-hdr__mob { display: block; position: fixed; inset: 0; z-index: 9990; background: rgba(0, 20, 50, .45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .vrg-hdr.is-open .vrg-hdr__mob { opacity: 1; visibility: visible; }
  .vrg-hdr__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 32px; transform: translateX(100%); transition: transform .25s ease; }
  .vrg-hdr.is-open .vrg-hdr__panel { transform: none; }
  .vrg-hdr__close { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 10px; background: var(--vrg-ice-soft) !important; color: var(--vrg-navy) !important; font-size: 26px !important; line-height: 1; }
  .vrg-hdr__mlist { list-style: none; margin: 10px 0 0; padding: 0; }
  .vrg-hdr__mlist > li { border-bottom: 1px solid var(--vrg-line); }
  .vrg-hdr__mlist details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .vrg-hdr__mlist details summary::-webkit-details-marker { display: none; }
  .vrg-hdr__mlist details summary::after { content: '+'; font-size: 22px; color: var(--vrg-blue); }
  .vrg-hdr__mlist details[open] summary::after { content: '−'; }
  .vrg-hdr__mlink, .vrg-hdr__mlist summary { display: block; padding: 14px 0; font-family: var(--vrg-head); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; color: var(--vrg-navy) !important; text-decoration: none; }
  .vrg-hdr__mlist ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--vrg-ice); }
  .vrg-hdr__mlist ul a { display: block; padding: 7px 0; font-size: 15px; color: var(--vrg-ink) !important; text-decoration: none; }
  .vrg-hdr__mfoot { margin-top: 22px; display: grid; gap: 8px; font-size: 14px; color: var(--vrg-muted); }
  .vrg-hdr__mfoot .vrg-hdr__phone { font-size: 24px; }
}
@media (max-width: 420px) { .vrg-hdr__logo { width: 140px; } .vrg-hdr__phone { font-size: 17px; } }

/* ---------- Заголовок страницы ---------- */
.vrg-pg__top { background: linear-gradient(180deg, var(--vrg-ice-soft), #fff); border-bottom: 1px solid var(--vrg-line); padding: 26px 0 30px; }
.vrg-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; color: var(--vrg-muted); }
.vrg-crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--vrg-muted); }
.vrg-crumbs a { color: var(--vrg-muted) !important; text-decoration: none; }
.vrg-crumbs a:hover { color: var(--vrg-blue) !important; text-decoration: underline; }
.vrg-pg__h1 { margin: 0; font-family: var(--vrg-head); font-weight: 600; font-size: 42px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; color: var(--vrg-navy); }
@media (max-width: 640px) { .vrg-pg__h1 { font-size: 30px; } .vrg-pg__top { padding: 18px 0 22px; } }

/* ---------- Раскладка: боковое меню + контент ---------- */
.vrg-pg__body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 64px; }
.vrg-pg__body.is-full { grid-template-columns: minmax(0, 1fr); }
.vrg-side { align-self: start; position: sticky; top: 16px; }
.vrg-side__title { margin: 0 0 10px; font-family: var(--vrg-head); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; color: var(--vrg-navy); }
.vrg-side__title a { color: inherit !important; text-decoration: none; }
.vrg-side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--vrg-line); }
.vrg-side li a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.35; color: var(--vrg-ink) !important; text-decoration: none; }
.vrg-side li a:hover { color: var(--vrg-blue) !important; }
.vrg-side li a.is-active { border-left-color: var(--vrg-blue); color: var(--vrg-blue) !important; font-weight: 600; }
.vrg-side__call { margin-top: 24px; padding: 18px; border-radius: 14px; background: var(--vrg-navy); color: #fff; }
.vrg-side__call p { margin: 0 0 6px; font-size: 14px; color: var(--vrg-ice); }
.vrg-side__call a { font-family: var(--vrg-head); font-size: 22px; font-weight: 600; color: #fff !important; text-decoration: none; }
@media (max-width: 960px) {
  .vrg-pg__body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .vrg-side { position: static; order: 2; margin-top: 40px; }
}

/* ---------- Текст страницы ---------- */
.vrg-hero { margin: 0 0 28px; border-radius: 18px; overflow: hidden; background: var(--vrg-ice-soft); }
.vrg-hero img { display: block; width: 100%; height: auto; }
.vrg-prose { font-size: 17px; line-height: 1.6; color: var(--vrg-text); overflow-wrap: break-word; }
.vrg-prose > *:first-child { margin-top: 0 !important; }
.vrg-prose p { margin: 0 0 14px; }
.vrg-prose h2, .vrg-prose h3, .vrg-prose h4 { font-family: var(--vrg-head); font-weight: 600; color: var(--vrg-navy); text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.vrg-prose h2 { margin: 36px 0 14px; font-size: 30px; }
.vrg-prose h3 { margin: 32px 0 12px; font-size: 24px; }
.vrg-prose h3::after { content: ''; display: block; width: 48px; height: 3px; margin-top: 10px; background: var(--vrg-cyan); border-radius: 2px; }
.vrg-prose h4 { margin: 24px 0 10px; font-size: 19px; }
.vrg-prose h5, .vrg-prose h6 { margin: 20px 0 8px; font-size: 17px; color: var(--vrg-navy); }
.vrg-prose ul, .vrg-prose ol { margin: 0 0 16px; padding-left: 22px; }
.vrg-prose li { margin: 0 0 6px; }
.vrg-prose ul li::marker { color: var(--vrg-cyan); }
.vrg-prose a { color: var(--vrg-blue); text-decoration: underline; text-underline-offset: 3px; }
.vrg-prose a:hover { color: var(--vrg-navy); }
.vrg-prose img { max-width: 100%; height: auto; border-radius: 6px; }
.vrg-prose hr { border: 0; border-top: 1px solid var(--vrg-line); margin: 28px 0; }
.vrg-prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.vrg-prose b, .vrg-prose strong { font-weight: 600; }
.vrg-prose table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; line-height: 1.45; background: #fff; }
.vrg-prose table[width]:not([width="100%"]) { width: auto; }
.vrg-prose td, .vrg-prose th { padding: 10px 12px; border: 1px solid var(--vrg-line); vertical-align: top; text-align: left; }
.vrg-prose th, .vrg-prose thead td { background: var(--vrg-ice-soft); color: var(--vrg-navy); font-weight: 600; }
.vrg-prose td p { margin: 0; }
.vrg-tbl { max-width: 100%; overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.vrg-tbl table { margin: 0; min-width: 520px; }
.vrg-mobile-hint { display: none; }
@media (max-width: 640px) { .vrg-mobile-hint { display: block; } .vrg-prose { font-size: 16px; } .vrg-prose h3 { font-size: 21px; } }
.vrg-acc { margin: 0 0 16px; border: 1px solid var(--vrg-line); border-radius: 12px; background: #fff; }
.vrg-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 600; color: var(--vrg-navy); }
.vrg-acc summary::-webkit-details-marker { display: none; }
.vrg-acc summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--vrg-blue); }
.vrg-acc[open] summary::after { content: '−'; }
.vrg-acc > div { padding: 0 18px 8px; }

/* ---------- Галерея и просмотр фото ---------- */
.vrg-gal { margin-top: 40px; }
.vrg-sec-title { margin: 0 0 16px; font-family: var(--vrg-head); font-weight: 600; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; color: var(--vrg-navy); }
.vrg-gal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.vrg-gal__grid a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--vrg-ice-soft); }
.vrg-gal__grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vrg-gal__grid a:hover img { transform: scale(1.05); }
.vrg-lb { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(0, 12, 30, .92); }
.vrg-lb.is-open { display: flex; }
.vrg-lb img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.vrg-lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12) !important; color: #fff !important; font-size: 30px !important; line-height: 1; }
.vrg-lb button:hover { background: rgba(255, 255, 255, .24) !important; }
.vrg-lb__close { top: 18px; right: 18px; }
.vrg-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.vrg-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.vrg-lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .8; }

/* ---------- Документы ---------- */
.vrg-docs { margin-top: 36px; display: grid; gap: 10px; }
.vrg-docs a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--vrg-line); border-radius: 12px; color: var(--vrg-ink) !important; text-decoration: none; background: #fff; }
.vrg-docs a:hover { border-color: var(--vrg-blue); }
.vrg-docs i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--vrg-red); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.vrg-docs small { display: block; color: var(--vrg-muted); font-size: 13px; }

/* ---------- Карточки (страницы-разделы) ---------- */
.vrg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 8px 0 28px; }
.vrg-card { display: flex; flex-direction: column; border: 1px solid var(--vrg-line); border-radius: 16px; overflow: hidden; background: #fff; color: var(--vrg-text) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
a.vrg-card:hover { box-shadow: 0 14px 34px rgba(0, 48, 120, .14); transform: translateY(-2px); }
.vrg-card__img { aspect-ratio: 3 / 2; background: var(--vrg-ice-soft); overflow: hidden; }
.vrg-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vrg-card__body { padding: 14px 16px 18px; }
.vrg-card__title { font-family: var(--vrg-head); font-weight: 500; font-size: 19px; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; color: var(--vrg-navy); }
.vrg-card__text { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--vrg-muted); }

/* ---------- Запись: кнопка и форма ---------- */
.vrg-cta { margin-top: 40px; display: flex; align-items: center; gap: 24px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(120deg, var(--vrg-navy), var(--vrg-blue)); color: #fff; }
.vrg-cta__text { flex: 1; font-size: 16px; line-height: 1.5; color: #e6f3fc; }
.vrg-cta__text b { display: block; margin-bottom: 4px; font-family: var(--vrg-head); font-weight: 600; font-size: 24px; text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.vrg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: #fff !important; color: var(--vrg-navy) !important; font-family: var(--vrg-head) !important; font-weight: 600 !important; font-size: 17px !important; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s; }
.vrg-btn:hover { background: var(--vrg-ice) !important; }
.vrg-btn--blue { background: var(--vrg-blue) !important; color: #fff !important; }
.vrg-btn--blue:hover { background: var(--vrg-navy) !important; }
@media (max-width: 640px) { .vrg-cta { flex-direction: column; align-items: stretch; padding: 22px 20px; } .vrg-btn { width: 100%; } }
.vrg-modal { position: fixed; inset: 0; z-index: 99990; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 20, 50, .55); }
.vrg-modal.is-open { display: flex; }
.vrg-modal__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px 28px; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.vrg-modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--vrg-ice-soft) !important; color: var(--vrg-navy) !important; font-size: 24px !important; line-height: 1; }
.vrg-modal__title { margin: 0 40px 6px 0; font-family: var(--vrg-head); font-weight: 600; font-size: 26px; text-transform: uppercase; color: var(--vrg-navy); line-height: 1.15; }
.vrg-modal__sub { margin: 0 0 18px; font-size: 14px; color: var(--vrg-muted); }
.vrg-form { font-family: var(--vrg-body); }
.vrg-field { margin-bottom: 14px; }
.vrg-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--vrg-ink); }
.vrg-field input, .vrg-field textarea { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--vrg-line); border-radius: 10px; background: var(--vrg-paper); color: var(--vrg-ink); font-size: 16px; outline: none; }
.vrg-field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.vrg-field input:focus, .vrg-field textarea:focus { border-color: var(--vrg-blue); background: #fff; }
.vrg-field .t-input-error { margin-top: 4px; font-size: 13px; color: var(--vrg-red); }
.vrg-form__note { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: var(--vrg-muted); }
.vrg-form .t-submit { width: 100%; height: 54px; border-radius: 12px; background: var(--vrg-blue); color: #fff; font-family: var(--vrg-head); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.vrg-form .t-submit:hover { background: var(--vrg-navy); }

/* ---------- Главная ---------- */
.vrg-home { padding: 48px 0; }
.vrg-home--ice { background: var(--vrg-ice-soft); }
.vrg-home__h2 { margin: 0 0 12px; font-family: var(--vrg-head); font-weight: 600; font-size: 38px; line-height: 1.1; text-transform: uppercase; color: var(--vrg-navy); }
.vrg-home__lead { max-width: 820px; margin: 0 0 26px; font-size: 18px; line-height: 1.55; color: var(--vrg-muted); }
.vrg-home .vrg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .vrg-home .vrg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vrg-home .vrg-cards { grid-template-columns: minmax(0, 1fr); } .vrg-home__h2 { font-size: 28px; } }
.vrg-adv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vrg-adv a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--vrg-line); color: var(--vrg-navy) !important; text-decoration: none; font-family: var(--vrg-head); font-weight: 500; font-size: 18px; line-height: 1.2; text-transform: uppercase; transition: border-color .2s; }
.vrg-adv a:hover { border-color: var(--vrg-blue); }
.vrg-adv img { flex: none; width: 56px; height: 56px; }
@media (max-width: 960px) { .vrg-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .vrg-adv { grid-template-columns: minmax(0, 1fr); } }
.vrg-about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.vrg-about .vrg-prose p { font-size: 18px; }
.vrg-tg { padding: 28px; border-radius: 18px; background: var(--vrg-navy); color: #fff; }
.vrg-tg p { margin: 0 0 18px; font-size: 18px; line-height: 1.5; color: #e6f3fc; }
.vrg-tg b { display: block; font-family: var(--vrg-head); font-size: 26px; font-weight: 600; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
@media (max-width: 860px) { .vrg-about { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Подвал ---------- */
.vrg-ftr { background: var(--vrg-deep); color: #c7d6ea; padding: 48px 0 28px; font-size: 15px; }
.vrg-ftr__grid { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 40px; }
.vrg-ftr__logo { display: inline-block; padding: 12px 16px; border-radius: 12px; background: #fff; }
.vrg-ftr__logo img { display: block; width: 190px; height: auto; }
.vrg-ftr__badge { display: inline-block; margin-top: 18px; }
.vrg-ftr__badge img { display: block; width: 180px; height: auto; }
.vrg-ftr__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.vrg-ftr__menu a, .vrg-ftr a { color: #dbe8f7 !important; text-decoration: none; }
.vrg-ftr__menu a:hover, .vrg-ftr a:hover { color: #fff !important; text-decoration: underline; }
.vrg-ftr__phone { display: block; font-family: var(--vrg-head); font-size: 28px; font-weight: 600; color: #fff !important; text-decoration: none !important; }
.vrg-ftr__info { display: grid; gap: 8px; }
.vrg-ftr__soc { display: flex; gap: 10px; margin-top: 8px; }
.vrg-ftr__soc a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.vrg-ftr__soc a:hover { background: rgba(255, 255, 255, .2); }
.vrg-ftr__soc svg { width: 20px; height: 20px; fill: #fff; }
.vrg-ftr__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: #9fb4cf; }
.vrg-ftr__bottom iframe { display: block; border: 0; }
@media (max-width: 900px) { .vrg-ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.vrg-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9980; display: none; align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; padding: 16px 20px; border-radius: 14px; background: rgba(0, 31, 79, .96); color: #e6f3fc; font-size: 13px; line-height: 1.45; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.vrg-cookie.is-on { display: flex; }
.vrg-cookie a { color: #fff !important; text-decoration: underline !important; }
.vrg-cookie button { flex: none; padding: 10px 20px; border-radius: 10px; background: #fff !important; color: var(--vrg-navy) !important; font-weight: 600; }
@media (max-width: 640px) { .vrg-cookie { flex-direction: column; align-items: stretch; } }

/* ---------- Контакты ---------- */
.vrg-contacts { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
.vrg-contacts__card { padding: 24px; border-radius: 18px; background: var(--vrg-ice-soft); display: grid; gap: 18px; }
.vrg-contacts__card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--vrg-muted); }
.vrg-contacts__card dd { margin: 4px 0 0; font-size: 17px; color: var(--vrg-ink); }
.vrg-contacts__map { width: 100%; height: 520px; border: 0; border-radius: 18px; }
@media (max-width: 900px) { .vrg-contacts { grid-template-columns: minmax(0, 1fr); } .vrg-contacts__map { height: 380px; } }

/* ---------- Готовые страницы пользователя внутри раскладки ---------- */
.vrg-cst { min-width: 0; }
