@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
/* ===== Легендарный выпускной: единый шрифт и размеры текста ===== */
:root{
  --lv-h1: clamp(32px, 4.8vw, 56px);   /* H1 — главный заголовок экрана */
  --lv-h2: clamp(28px, 4vw, 48px);     /* H2 — заголовок раздела */
  --lv-num: clamp(36px, 4.4vw, 52px);  /* крупные цифры */
  --lv-h3: clamp(18px, 1.7vw, 20px);   /* H3 — заголовок карточки */
  --lv-lead: clamp(16px, 1.5vw, 18px); /* подзаголовок */
  --lv-body: clamp(15px, 1.4vw, 16px); /* основной текст */
  --lv-small: 13px;                    /* подписи */
}

/* 1. Один шрифт — Montserrat (как в логобуке). Прежний Muller отключён, строки ниже оставлены комментарием для отката */
/* @font-face{ font-family:'LVfix'; src:url('https://static.tildacdn.com/tild3163-3434-4265-b364-363066653732/MullerRegular.woff') format('woff'); font-weight:100 600; font-style:normal; font-display:swap; }
   @font-face{ font-family:'LVfix'; src:url('https://static.tildacdn.com/tild3562-3339-4265-b564-346363323064/MullerBold.woff') format('woff'); font-weight:700 900; font-style:normal; font-display:swap; } */
body, .t-rec, .t-rec *:not(svg):not(svg *), .t-input, .t-submit, input, button, textarea, select{
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-synthesis: none;
}

/* 2. Страницы Москва / Крым */
.t-rec[data-record-type="131"] h1{ font-size:var(--lv-h1) !important; line-height:1.05 !important; font-weight:700 !important; letter-spacing:0 !important; }
.t-rec[data-record-type="131"] h2{ font-size:var(--lv-h2) !important; line-height:1.1 !important; font-weight:700 !important; letter-spacing:0 !important; }
.t-rec[data-record-type="131"] h3,
.t-rec[data-record-type="131"] summary{ font-size:var(--lv-h3) !important; line-height:1.25 !important; font-weight:700 !important; }
.t-rec[data-record-type="131"] .sub,
.t-rec[data-record-type="131"] .lead{ font-size:var(--lv-lead) !important; line-height:1.5 !important; font-weight:500 !important; }
.t-rec[data-record-type="131"] p,
.t-rec[data-record-type="131"] li,
.t-rec[data-record-type="131"] dd,
.t-rec[data-record-type="131"] blockquote,
.t-rec[data-record-type="131"] .cardd{ font-size:var(--lv-body) !important; line-height:1.5 !important; }
.t-rec[data-record-type="131"] p:not(.strong):not(.addr):not(.more),
.t-rec[data-record-type="131"] dd,
.t-rec[data-record-type="131"] blockquote,
.t-rec[data-record-type="131"] .cardd{ font-weight:500 !important; }
.t-rec[data-record-type="131"] p b, .t-rec[data-record-type="131"] li b,
.t-rec[data-record-type="131"] p strong{ font-weight:700 !important; }
.t-rec[data-record-type="131"] figcaption,
.t-rec[data-record-type="131"] dt,
.t-rec[data-record-type="131"] .small,
.t-rec[data-record-type="131"] .small *{ font-size:var(--lv-small) !important; line-height:1.4 !important; }
.t-rec .btn, .t-rec .t-submit,
.t-rec[data-record-type="396"] [data-elem-type="button"] .tn-atom{ font-size:16px !important; font-weight:700 !important; }

/* 3. Главная: города и отзывы */
#rec4661506301 h2, #rec4661506301 .t-title{ font-size:var(--lv-h2) !important; line-height:1.1 !important; font-weight:700 !important; }
.t-rec[data-record-type="529"] .t-section__title{ font-size:var(--lv-h2) !important; line-height:1.1 !important; font-weight:700 !important; }

/* 4. Главная: Zero-блоки (крупные размеры — только на компьютере) */
@media (min-width:960px){
[data-elem-id="1772455842824"] .tn-atom{ font-size:var(--lv-h1) !important; line-height:1.1 !important; font-weight:700 !important; }
[data-elem-id="1772727823806"] .tn-atom,
[data-elem-id="1772787695005000001"] .tn-atom,
[data-elem-id="1772794925399"] .tn-atom,
[data-elem-id="1706554587965"] .tn-atom{ font-weight:700 !important; }
[data-elem-id="1772787695005000001"] .tn-atom,
[data-elem-id="1772794925399"] .tn-atom,
[data-elem-id="1706554587965"] .tn-atom{ font-size:var(--lv-h2) !important; line-height:1.15 !important; }
[data-elem-id="1772788418521"] .tn-atom,
[data-elem-id="1772788438368000001"] .tn-atom,
[data-elem-id="1772788439277000002"] .tn-atom{ font-size:var(--lv-num) !important; line-height:1.6 !important; font-weight:700 !important; }
[data-elem-id="1772794925399"]{ width:1000px !important; margin-left:-145px !important; }
}
[data-elem-id="1772728084357"] .tn-atom, [data-elem-id="1772728300099000004"] .tn-atom,
[data-elem-id="1772728404207000004"] .tn-atom, [data-elem-id="1772728593138000004"] .tn-atom,
[data-elem-id="1772728593139000009"] .tn-atom, [data-elem-id="1772728593139000014"] .tn-atom,
[data-elem-id="1772794680073"] .tn-atom, [data-elem-id="1772794815263000008"] .tn-atom,
[data-elem-id="1772794837799000010"] .tn-atom, [data-elem-id="1772794865304000012"] .tn-atom,
[data-elem-id="1772794741285000003"] .tn-atom, [data-elem-id="1772794778149000001"] .tn-atom{ font-size:var(--lv-h3) !important; line-height:1.25 !important; font-weight:700 !important; }
[data-elem-id="1772728182632"] .tn-atom, [data-elem-id="1772728300099000005"] .tn-atom,
[data-elem-id="1772728404207000005"] .tn-atom, [data-elem-id="1772728593138000005"] .tn-atom,
[data-elem-id="1772728593139000010"] .tn-atom, [data-elem-id="1772728593139000015"] .tn-atom,
[data-elem-id="1772794709445"] .tn-atom, [data-elem-id="1772794815263000009"] .tn-atom,
[data-elem-id="1772794837799000011"] .tn-atom, [data-elem-id="1772794865304000013"] .tn-atom,
[data-elem-id="1772794741285000004"] .tn-atom, [data-elem-id="1772794778149000002"] .tn-atom,
[data-elem-id="1753461498827"] .tn-atom{ font-size:var(--lv-body) !important; line-height:1.45 !important; font-weight:500 !important; }
[data-elem-id="1772789386507"] .tn-atom, [data-elem-id="1772789407416000001"] .tn-atom,
[data-elem-id="1772789409456000002"] .tn-atom{ font-size:var(--lv-small) !important; font-weight:600 !important; letter-spacing:.04em !important; }

/* 5. Рамки «ПРИХОДИ» и «КОРПОРАЦИЯ» привязаны к словам */
[data-elem-id="1772796158032"],
[data-elem-id="1772795546377000001"],
[data-elem-id="1772796209591000001"]{ display:none !important; }
[data-elem-id="1772455842824"] .tn-atom strong:nth-of-type(3),
[data-elem-id="1772787695005000001"] .tn-atom span:first-child{
  display:inline-block; position:relative; padding:0 .12em; margin:0;
  outline:1px solid rgba(255,255,255,.75); outline-offset:.06em; border-radius:.22em; line-height:inherit;
}
[data-elem-id="1772455842824"] .tn-atom strong:nth-of-type(3){ margin-right:.45em; }
[data-elem-id="1772455842824"] .tn-atom strong:nth-of-type(3)::after{
  content:""; position:absolute; right:-.55em; bottom:-.45em; width:.85em; height:.85em;
  background:url(https://static.tildacdn.com/tild3630-3630-4632-a130-643865623039/photo_3.png) center/contain no-repeat;
  pointer-events:none;
}

/* 6. Белые граффити на светлых блоках страниц Москва и Крым */
.lv2 section:not(.dark):not(.lime):not(.hero){
  background-image:url('https://static.tildacdn.com/tild3038-6164-4535-b833-343538643137/offwhite.png') !important;
  background-repeat:no-repeat !important;
  background-size:min(1000px,150vw) auto !important;
}
.lv2 section:not(.dark):not(.lime):not(.hero):nth-of-type(odd){ background-position:right -260px top -120px !important; }
.lv2 section:not(.dark):not(.lime):not(.hero):nth-of-type(even){ background-position:left -300px bottom -200px !important; }


/* 7. Единые роли текста на всех блоках главной */
@media (min-width:960px){
[data-elem-id="1772727823806"] .tn-atom,
[data-elem-id="1772463532189"] .tn-atom,
[data-elem-id="1774447862354000003"] .tn-atom,
[data-elem-id="1774448543579000007"] .tn-atom,
[data-elem-id="1774447876251000004"] .tn-atom,
[data-elem-id="1774448561542000009"] .tn-atom{ font-size:var(--lv-h2) !important; line-height:1.15 !important; font-weight:700 !important; }
}
/* отзывы: имя = подзаголовок карточки, текст = основной текст */
.t-rec[data-record-type="529"] .t529__text{ font-size:var(--lv-body) !important; line-height:1.5 !important; font-weight:500 !important; }
.t-rec[data-record-type="529"] .t529__name, .t-rec[data-record-type="529"] .t529__name span{ font-size:var(--lv-h3) !important; line-height:1.25 !important; font-weight:700 !important; }
/* бегущая строка = основной текст */
.t-rec[data-record-type="1003"] .t-text{ font-size:var(--lv-body) !important; font-weight:500 !important; }
/* карточки городов */
#rec4661506301 .lvg-place{ font-size:var(--lv-body) !important; line-height:1.5 !important; font-weight:500 !important; }
#rec4661506301 .lvg-go{ font-size:16px !important; font-weight:700 !important; }


/* ===== 8. Шкала шрифтов v2 — 7 размеров (заменяет значения переменных выше) ===== */
:root{
--lv-h1: clamp(32px, 4.6vw, 56px); /* H1, лозунг */
--lv-h2: clamp(28px, 3.6vw, 44px); /* H2, заголовок раздела */
--lv-num: clamp(34px, 4vw, 48px); /* крупные цифры */
--lv-h3: clamp(18px, 1.6vw, 20px); /* заголовок карточки */
--lv-lead: clamp(18px, 1.6vw, 20px); /* подзаголовок — тот же размер, что H3, но обычный */
--lv-body: clamp(16px, 1.3vw, 17px); /* основной текст */
--lv-btn: clamp(14px, 1.2vw, 15px); /* кнопки, метки, меню */
--lv-small: 12px; /* мелкий и юридический */
}

/* Москва и Крым */
.lv2 p,.lv2 li,.lv2 dd,.lv2 .list span,.lv2 .tl p,.lv2 blockquote,.lv2 input{font-size:var(--lv-body) !important;line-height:1.55 !important}
.lv2 p,.lv2 dd,.lv2 blockquote,.lv2 .list span,.lv2 .stats span,.lv2 .mlist li span,.lv2 .phones span{font-weight:400 !important}
.lv2 p.strong,.lv2 p.addr,.lv2 p.more,.lv2 .c2 dd{font-weight:700 !important}
.lv2 h1,.lv2 .lvhero-slogan{font-size:var(--lv-h1) !important;line-height:1.05 !important;font-weight:700 !important}
.lv2 h2{font-size:var(--lv-h2) !important;line-height:1.1 !important;font-weight:700 !important}
.lv2 .price .now,.lv2 .ticket .now,.lv2 .stats b,.lv2 .tl .t,.lv2 .cardd b,.lv2 .badge b{font-size:var(--lv-num) !important;line-height:1 !important;font-weight:700 !important}
.lv2 h3,.lv2 summary,.lv2 .steps2 b,.lv2 .gar b,.lv2 .team figcaption,.lv2 .st4 b,.lv2 .sc b,.lv2 .mlist li,.lv2 .phones a,.lv2 .ticket .tr b,.lv2 .price s,.lv2 .ticket s,.lv2 .date,.lv2 .facts b{font-size:var(--lv-h3) !important;line-height:1.25 !important;font-weight:700 !important}
.lv2 .lead,.lv2 .hero p.sub,.lv2 .parents p,.t-rec .lv2 .lvhero h1{font-size:var(--lv-lead) !important;line-height:1.45 !important;font-weight:400 !important}
.lv2 .parents p.strong{font-weight:700 !important}
.lv2 .btn,.lv2 button.btn,.lv2 .t-submit,.lv2 .tag,.lv2 nav,.lv2 .facts div,.lv2 label,.lv2 .mlist li span,.lv2 .phones span,.lv2 .rev figcaption,.lv2 .ticket .k,.lv2 .price small,.lvh .lvh-cta,.lvh .lvh-cities a,.lvh .lvh-tel,.lvh .lvh-panel a,.lv2 .lvhero-chip,.lv2 .lvhero .btn{font-size:var(--lv-btn) !important;line-height:1.2 !important}
.lv2 .btn,.lv2 button.btn,.lv2 .t-submit,.lv2 .tag,.lv2 .lvhero-chip,.lv2 .lvhero .btn,.lvh .lvh-cta,.lvh .lvh-cities a{letter-spacing:.03em !important;font-weight:700 !important}
.lv2 .small,.lv2 .cmp dt,.lv2 footer,.lv2 .ck,.lvh .lvh-panel .cap2,.lv2 .t-input-error{font-size:var(--lv-small) !important;line-height:1.4 !important}
.lv2 .num,.lv2 .badge,.lv2 .logo{font-weight:700 !important}
.lv2 p{max-width:65ch}

/* Главная: блок городов и контакты */
.lvg-city{font-size:var(--lv-h2) !important;line-height:1.1 !important;font-weight:700 !important}
.lvg-date,.lvg-go i,.lvk-name,.lvk-tel,.lvk-logo{font-size:var(--lv-h3) !important;line-height:1.25 !important;font-weight:700 !important}
.lvg-place,.lvk-sub,.t1003__item-txt{font-size:var(--lv-body) !important;font-weight:400 !important}
.lvk-role,.lvk-btn{font-size:var(--lv-btn) !important;font-weight:700 !important;letter-spacing:.03em !important}
.lvk-bot{font-size:var(--lv-small) !important;font-weight:400 !important}
.lvk-req h4{font-size:var(--lv-btn) !important;font-weight:700 !important;letter-spacing:.03em !important}
.tn-atom__form form > div[style] > span,.tn-atom__form form > div[style] > span a{font-size:var(--lv-small) !important;line-height:1.4 !important}

/* Главная: первый экран (только компьютер, мобильная раскладка Zero не трогается) */
@media (min-width:960px){
[data-elem-id="1772463766328"] .tn-atom,[data-elem-id="1772463800696000001"] .tn-atom,
[data-elem-id="1772463875347000003"] .tn-atom,[data-elem-id="1772463875348000004"] .tn-atom,
[data-elem-id="1772463898197000007"] .tn-atom,[data-elem-id="1772463898197000008"] .tn-atom,
[data-elem-id="1772464431974000001"] .tn-atom{font-size:var(--lv-h3) !important;font-weight:700 !important}
[data-elem-id="1772463677263000002"] .tn-atom,[data-elem-id="1772791807410000001"] .tn-atom,
[data-elem-id="1772791815123000002"] .tn-atom{font-size:var(--lv-btn) !important;font-weight:700 !important}
}


/* 8a. Усиление: перекрывает старые правила 500 и инлайн-стиль первого экрана */
.t-rec[data-record-type="131"] .lv2 p:not(.strong):not(.addr):not(.more),.t-rec[data-record-type="131"] .lv2 dd,.t-rec[data-record-type="131"] .lv2 blockquote,.t-rec[data-record-type="131"] .lv2 .sub,.t-rec[data-record-type="131"] .lv2 .lead{font-weight:400 !important}
.t-rec[data-record-type="131"] .lv2 .c2 dd{font-weight:700 !important}
html .t-rec .lv2 .lvhero h1{font-size:var(--lv-lead) !important;line-height:1.45 !important;font-weight:400 !important}

/* ===== 9. Montserrat: шрифт, начертания, интерлиньяж, регистр ===== */
/* шрифт на всех элементах, сильнее стилей внутри страниц */
#allrecords, #allrecords *:not(svg):not(path):not(i){font-family:'Montserrat', Arial, sans-serif !important}
/* начертания: 400 текст, 600 метки, 700 заголовки, 800 цены и цифры */
.lv2 .price .now,.lv2 .ticket .now,.lv2 .stats b,.lv2 .tl .t,.lv2 .cardd b,.lv2 .badge b{font-weight:800 !important}
.lv2 h1,.lv2 .lvhero-slogan{font-weight:800 !important}
.lv2 .q{font-weight:800 !important;line-height:1 !important}
.lv2 .cardd{font-weight:400 !important}
/* заголовки разделов — обычный регистр, лозунг и кнопки остаются заглавными */
.lv2 h2{text-transform:none !important;letter-spacing:-0.01em !important;line-height:1.1 !important}
/* главная: интерлиньяж крупных элементов Zero-блоков */
[data-elem-id="1772727823806"] .tn-atom{line-height:1.1 !important}
[data-elem-id="1772788418521"] .tn-atom,[data-elem-id="1772788438368000001"] .tn-atom,[data-elem-id="1772788439277000002"] .tn-atom{line-height:1 !important;font-weight:800 !important}

/* планшет: Montserrat шире — подтягиваем две строки, чтобы не вылезали за край */
@media (min-width:640px) and (max-width:1199px){
[data-elem-id="1772463532189"] .tn-atom{letter-spacing:-0.02em !important}
[data-elem-id="1772787695005000001"] .tn-atom{letter-spacing:-0.04em !important}
}

/* главная, «Преимущества формата»: текст в плашках не выходит за край */
#rec2001788361 .tn-elem[data-elem-type="text"] .tn-atom{line-height:1.35 !important}
#rec2001788361 [data-elem-id="1772794865304000013"] .tn-atom,#rec2001788361 [data-elem-id="1772794709445"] .tn-atom,#rec2001788361 [data-elem-id="1772794741285000004"] .tn-atom{font-size:15px !important}
@media (max-width:479px){
#rec2001788361 .tn-elem[data-elem-type="text"] .tn-atom{line-height:1.3 !important}
#rec2001788361 [data-elem-id="1772794865304000013"] .tn-atom,#rec2001788361 [data-elem-id="1772794709445"] .tn-atom,#rec2001788361 [data-elem-id="1772794741285000004"] .tn-atom{font-size:14px !important}
}
