@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/files/d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #ededed;
  --fg: #000000;
  --muted: #555555;
  --accent: #7a0f0f;
  --accent-fg: #ffffff;
  --radius: 0px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как box-dinastya.ru: Tilda-одностраничник в Roboto, тёмно-красная вуаль на первом экране, белая карточка на чёрном мраморе, жёлтая кнопка, красный плакат расписания, жёлтая полоса, светло-серые абонементы, тёмные контакты. */
html { overflow-x: clip; }
body { background: #fff; color: #000; font: 300 16px/1.55 Roboto, Arial, sans-serif; }
a { color: #7a0f0f; }
h1, h2, h3 { font-family: Roboto, Arial, sans-serif; }
.dev-bar { padding: 6px 16px; background: #0a0a0a; color: #bdbdbd; text-align: center; font: 400 13px/1.4 Roboto, Arial, sans-serif; }
.dev-bar a { color: #ffda0a; }

/* Шапка: чёрная, логотип и меню прописными */
.site-header { background: #000; border: 0; padding: 8px 16px; }
.site-name { color: #fff; font: 700 16px/1.2 Roboto, Arial, sans-serif; }
.site-logo img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 50%; }
.site-nav a { color: #fff; border: 0; font: 500 13px/1.4 Roboto, Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.site-nav a:hover, .site-nav a[aria-current] { color: #ffda0a; border: 0; }
.site-city summary, .site-langs a { color: #fff; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #fff; }

/* Страницы */
.site-main { max-width: 1160px; padding: 40px 16px 60px; }
.site-main h1 { font: 700 40px/1.2 Roboto, Arial, sans-serif; }
.rich h2 { font-weight: 700; }
.rich h3 { font-weight: 700; }
.button, button.button { background: #f2e641; color: #000; border-radius: 30px; font-weight: 700; }
.button:hover { background: #ffda0a; color: #000; }
.site-footer { background: #0f0f0f; color: #b3b3b3; }
.site-footer a { color: #fff; }

/* Главная: блоки во всю ширину */
.page-home .site-main { padding-top: 0; padding-bottom: 0; }
.page-home .layout-row { margin-bottom: 0; }
.bd-full { width: 100vw; margin-left: calc(50% - 50vw); }
.bd-bg { position: absolute; inset: 0; margin: 0; }
.bd-bg picture, .bd-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Первый экран */
.bd-hero { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.bd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(76, 8, 8, .55), rgba(20, 0, 0, .8)); }
.bd-hero-in { position: relative; z-index: 1; padding: 90px 16px; }
.site-main .bd-hero h1 { color: #fff; font: 700 72px/1.15 Roboto, Arial, sans-serif; margin: 0 0 28px; }
.bd-hero p { color: #dbdbdb; font: 400 20px/1.5 Roboto, Arial, sans-serif; margin: 0; }
.bd-down { display: inline-block; margin-top: 70px; color: #fff; font-size: 40px; line-height: 1; text-decoration: none; }

/* О нас */
.bd-about { position: relative; background: #000; padding: 110px 16px; overflow: hidden; }
.bd-card { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; background: #fff; padding: 60px 60px 50px; }
.site-main .bd-card h2 { font: 700 30px/1.2 Roboto, Arial, sans-serif; margin: 0 0 34px; color: #000; }
.bd-card p { font: 300 16px/1.6 Roboto, Arial, sans-serif; margin: 0 0 18px; }

/* Программы */
.bd-programs { max-width: 1160px; margin: 0 auto; padding: 100px 16px 90px; text-align: center; }
.site-main .bd-programs h2 { font: 700 34px/1.2 Roboto, Arial, sans-serif; margin: 0 0 22px; color: #000; }
.bd-sub { font: 300 18px/1.5 Roboto, Arial, sans-serif; margin: 0 0 60px; }
.bd-programs ol { list-style: none; padding: 0; margin: 0 auto 60px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.bd-programs li { padding: 0 34px; border-left: 1px solid #d1d1d1; }
.bd-programs li:first-child { border-left: 0; }
.bd-programs li span { display: block; font: 500 14px/1 Roboto, Arial, sans-serif; margin-bottom: 18px; }
.site-main .bd-programs h3 { font: 700 18px/1.3 Roboto, Arial, sans-serif; margin: 0 0 16px; color: #000; }
.bd-programs li p { font: 300 15px/1.55 Roboto, Arial, sans-serif; margin: 0; }
.bd-yellow { display: inline-block; background: #f2e641; color: #000; padding: 18px 46px; border-radius: 30px; font: 700 14px/1 Roboto, Arial, sans-serif; text-decoration: none; }
.bd-yellow:hover { background: #ffda0a; color: #000; }

/* Плакат расписания */
.bd-schedule { background: #fff; padding: 20px 16px 50px; }
.bd-poster { position: relative; max-width: 980px; margin: 0 auto; background: #ee4136; padding: 30px 26px; }
.bd-poster > .bd-ptitle { position: absolute; left: 26px; top: 30px; width: calc((100% - 52px - 56px) / 3); padding-top: 30px; }
.site-main .bd-ptitle h2 { font: 900 28px/1.3 "Arial Black", Roboto, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #1d1d1d; margin: 0 0 40px; }
.bd-tag { background: #fff; display: inline-block; padding: 16px 26px; font: 400 22px/1 Georgia, "Times New Roman", serif; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.bd-days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bd-days li { background: #f5fdfd; padding: 28px 18px 24px; min-height: 340px; }
.bd-days li:first-child { grid-column: 2; }
.site-main .bd-days h3 { font: 700 17px/1.2 Georgia, "Times New Roman", serif; letter-spacing: .2em; text-transform: uppercase; text-align: center; margin: 0 0 22px; color: #1d1d1d; }
.bd-row { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.bd-time { background: #9fbccb; border-radius: 8px; padding: 6px 12px; font: 400 18px/1.2 Georgia, "Times New Roman", serif; white-space: nowrap; }
.bd-row b { font: 700 22px/1.1 Georgia, "Times New Roman", serif; }
.bd-row b.bd-small { font-size: 19px; }
.bd-pt { margin-top: 40px; }
.bd-note { font: 700 13px/1.4 Georgia, "Times New Roman", serif; text-align: center; margin: 6px 0 0; }
.bd-notes p { font: 400 15px/1.6 Georgia, "Times New Roman", serif; margin: 0 0 18px; }
.bd-tel a { color: #000; font-weight: 700; text-decoration: none; }
.bd-cap { text-align: center; font: 300 13px/1.4 Roboto, Arial, sans-serif; color: #555; margin: 18px 0 0; }
.bd-cap a { color: #555; }

/* Фотогалерея */
.bd-gallery { background: #0a0a0a; color: #fff; padding: 90px 0 70px; }
.bd-in { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.site-main .bd-gallery h2 { color: #fff; font: 700 34px/1.2 Roboto, Arial, sans-serif; margin: 0 0 26px; }
.bd-gallery p { font: 300 18px/1.5 Roboto, Arial, sans-serif; margin: 0 0 50px; }
.bd-gallery ul { list-style: none; margin: 0; padding: 0 calc(50vw - 430px); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bd-gallery li { flex: 0 0 860px; scroll-snap-align: center; }
.bd-gallery img { width: 100%; height: 520px; object-fit: cover; display: block; }

/* Жёлтая полоса */
.bd-join { background: #ffda0a; padding: 100px 16px; }
.site-main .bd-join h2 { max-width: 1160px; margin: 0 auto; padding: 0 16px; font: 700 36px/1.3 Roboto, Arial, sans-serif; color: #000; }

/* Абонементы */
.bd-prices { background: #ededed; padding: 100px 0 110px; }
.site-main .bd-prices h2 { font: 700 34px/1.2 Roboto, Arial, sans-serif; margin: 0 0 40px; color: #000; }
.bd-prices .bd-sub { max-width: 560px; font-size: 18px; margin: 0 0 80px; }
.bd-prices ul { list-style: none; padding: 0; margin: 0; }
.bd-prices li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #d6d6d6; }
.bd-prices li span { color: #999; font: 400 16px/1.4 Roboto, Arial, sans-serif; }
.bd-prices li b { font: 700 16px/1.4 Roboto, Arial, sans-serif; white-space: nowrap; }

/* Контакты */
.bd-contacts { display: grid; grid-template-columns: 1fr 1fr; background: #0f0f0f; color: #fff; min-height: 560px; }
.bd-map { position: relative; display: block; filter: grayscale(1); }
.bd-map picture, .bd-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-map span { position: absolute; left: 24px; bottom: 24px; background: #fff; color: #000; padding: 10px 18px; font: 500 14px/1 Roboto, Arial, sans-serif; }
.bd-ct { padding: 90px 60px; }
.site-main .bd-ct h2 { color: #fff; font: 400 28px/1.2 Roboto, Arial, sans-serif; text-transform: uppercase; margin: 0 0 26px; }
.bd-ct p { color: #d3d3d3; font: 300 15px/1.6 Roboto, Arial, sans-serif; margin: 0 0 22px; }
.bd-ct a { color: #fff; }
.bd-soc a { display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; background: #ffda0a; color: #000; font: 700 13px/34px Roboto, Arial, sans-serif; text-decoration: none; }

@media (max-width: 960px) {
  .site-main .bd-hero h1 { font-size: 44px; }
  .bd-hero { min-height: 520px; }
  .bd-hero p { font-size: 16px; }
  .bd-hero p br { display: none; }
  .bd-about { padding: 60px 16px; }
  .bd-card { padding: 34px 22px; }
  .bd-programs { padding: 60px 16px; }
  .bd-programs ol { grid-template-columns: 1fr; gap: 40px; }
  .bd-programs li { border: 0; padding: 0; }
  .bd-poster { padding: 20px 14px; }
  .bd-poster > .bd-ptitle { position: static; width: auto; padding: 0 0 24px; }
  .site-main .bd-ptitle h2 { font-size: 22px; margin-bottom: 18px; }
  .bd-days { grid-template-columns: 1fr; gap: 14px; }
  .bd-days li:first-child { grid-column: auto; }
  .bd-days li { min-height: 0; }
  .bd-gallery { padding: 60px 0; }
  .bd-gallery ul { padding: 0 16px; }
  .bd-gallery li { flex-basis: 86vw; }
  .bd-gallery img { height: 60vw; }
  .bd-join { padding: 60px 16px; }
  .site-main .bd-join h2 { font-size: 26px; }
  .bd-prices { padding: 60px 0; }
  .bd-prices .bd-sub { margin-bottom: 36px; }
  .bd-contacts { grid-template-columns: 1fr; }
  .bd-map { height: 260px; }
  .bd-ct { padding: 40px 16px; }
}
