@font-face { font-family: "Open Sans"; src: url("/files/3472097ec4d9e57228cbfad3c9911e53923664d3df86568d0b05d674399e034e") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/files/c53aceea2dcf5b4098099c0c4d0a061d17e178a049317b42a422b1a9f7f8eb59") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/files/4a413711684a9dd564ef0f1c10cb62b5d9f7eb6df2cff962f5341a6ecd5f64ae") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/files/22c3e66c8a0ae60bf10ee636bb8a54d61ff77c956f5c4ebe3058b793e56ee727") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --fg: #222222;
  --muted: #666666;
  --accent: #b20101;
  --accent-fg: #ffffff;
  --radius: 4px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как budokan-ufa.ru: белая шапка с эмблемой, девизом, телефоном и адресами, меню по центру с красной «таблеткой», Open Sans, тёмно-красный #b20101, на главной фото с тёмной вуалью, красные плитки направлений, красные полосы. */
body { background: #fff; color: #222; font: 300 14px/1.6 "Open Sans", Arial, sans-serif; }
b, strong { font-weight: 600; }
a { color: #b20101; }
.dev-bar { padding: 6px 16px; background: #222; color: #ccc; text-align: center; font: 400 13px/1.4 "Open Sans", Arial, sans-serif; }
.dev-bar a { color: #fff; }

/* Шапка */
.site-header { border: 0; background: #fff; box-shadow: 0 1px 0 #e5e5e5; }
.site-header-row { max-width: 1240px; padding: 8px 16px; }
.site-name { gap: 24px; color: #222; font: 600 17px/1.3 "Open Sans", Arial, sans-serif; }
.site-logo, .site-logo img { width: 266px; height: 106px; object-fit: contain; border-radius: 0; }
.site-name span { font-size: 0; }
.site-name span::before { content: "Клуб боевых искусств"; display: block; font: 600 17px/1.4 "Open Sans", Arial, sans-serif; color: #222; }
.site-name span::after { content: "Воспитание личности, физической гармонии и силы духа"; display: block; font: 300 11px/1.4 "Open Sans", Arial, sans-serif; color: #888; }
.site-city { display: none; }
.site-tools { gap: 40px; }
.site-tools::before { content: "+7-993-046-03-46\A aiki-ufa@mail.ru"; white-space: pre; color: #b20101; font: 400 17px/1.7 "Open Sans", Arial, sans-serif; }
.site-tools::after { content: "Республика Башкортостан, г. Уфа\A ул. Бульвар Славы, 11\A ул. Блюхера, 40"; white-space: pre; color: #888; font: italic 300 12px/1.9 "Open Sans", Arial, sans-serif; }
.site-nav { max-width: 1240px; border-top: 1px solid #eee; }
.site-nav ul { justify-content: center; gap: 4px 14px; padding: 8px 0; }
.site-nav a { padding: 4px 10px; border: 2px solid transparent; border-radius: 2px; color: #222; font: 600 13px/22px "Open Sans", Arial, sans-serif; }
.site-nav a:hover { color: #b20101; border-color: transparent; }
.site-nav a[aria-current] { background: #b20101; color: #fff; }
@media (max-width: 1099px) {
  .site-tools::after { display: none; }
  .site-logo, .site-logo img { width: 180px; height: 72px; }
}
@media (max-width: 759px) {
  .site-header-row { padding: 6px 10px; gap: 10px; }
  .site-logo, .site-logo img { width: 150px; height: 60px; }
  .site-name span { display: none; }
  .site-tools::before { font-size: 15px; }
  .menu-toggle { width: 40px; height: 40px; background: #b20101; color: #fff; border-radius: 2px; }
  .js-menu .site-nav a { padding: 10px 12px; }
}

/* Содержимое */
.site-main { max-width: 1240px; padding: 24px 16px 40px; }
.site-main h1 { font: 600 30px/1.3 "Open Sans", Arial, sans-serif; color: #222; }
.site-main h2 { font: 600 24px/1.35 "Open Sans", Arial, sans-serif; color: #b20101; }
.site-main h3 { font-weight: 600; }
.rich p, .rich li { color: #222; }
.card { border-radius: 4px; }
.button { border-radius: 2px; font-weight: 600; text-transform: uppercase; }

/* Главная — во всю ширину */
body.page-home .site-main { max-width: none; padding: 0; }
body.page-home .layout-row { display: block; margin: 0; }
.bu-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.bu-hero, .bu-shop { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #333; }
.bu-hero-bg, .bu-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bu-hero::after, .bu-shop::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.bu-shop::after { background: rgba(0, 0, 0, .45); }
.bu-hero-in { position: relative; z-index: 1; max-width: 960px; padding: 40px 16px; }
.bu-hero h1, .bu-shop h2 { color: #fff; font: 800 50px/1.25 "Open Sans", Arial, sans-serif; text-transform: uppercase; margin: 0 0 28px; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.bu-hero p, .bu-shop p { font: 600 26px/1.4 "Open Sans", Arial, sans-serif; text-transform: uppercase; margin: 0 0 24px; }
.bu-btn { display: inline-block; padding: 14px 34px; background: #b20101; color: #fff; font: 600 20px/1.4 "Open Sans", Arial, sans-serif; text-transform: uppercase; text-decoration: none; border-radius: 2px; }
.bu-btn:hover { background: #8f0000; color: #fff; }

.bu-dirs ul { list-style: none; max-width: 1240px; margin: 0 auto; padding: 50px 16px 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 0; }
.bu-dirs a { display: flex; flex-direction: column; align-items: center; gap: 22px; color: #444; font-weight: 600; font-size: 13px; text-decoration: none; }
.bu-icon img { display: block; width: 200px; height: 200px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s; }
.bu-dirs a:hover img { transform: scale(1.04); }
.bu-dirs a:hover { color: #b20101; }

.bu-red { background: #b20101; color: #fff; }
.bu-red a { color: #fff; }
.bu-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 34px; padding-bottom: 34px; }
.bu-goals h2 { color: #fff; font: 400 32px/1.35 "Open Sans", Arial, sans-serif; margin: 0 0 6px; }
.bu-red p, .bu-red li, .bu-red td { color: #fff; }
.bu-goals p { font-size: 13px; line-height: 1.5; margin: 0; }
.bu-checks { list-style: none; margin: 0; padding: 0; }
.bu-checks li { position: relative; padding: 4px 0 4px 32px; font: 600 13px/1.45 "Open Sans", Arial, sans-serif; }
.bu-checks li::before { content: "\2714"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 3px; font-size: 14px; line-height: 20px; text-align: center; }

.bu-word { background: #f5f5f5; padding: 20px 16px; text-align: center; }
.bu-word p { margin: 0; font-size: 13px; color: #555; }

.bu-ideas { background: linear-gradient(#666, #555); color: #fff; padding: 36px 0; }
.bu-ideas ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.bu-ideas li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; font-size: 13px; line-height: 1.45; }
.bu-ideas b { font-weight: 600; max-width: 320px; }
.bu-round { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 3px solid #fff; border-radius: 50%; font-size: 40px; line-height: 1; }

.bu-gym { padding-top: 46px; padding-bottom: 50px; text-align: center; }
.bu-gym p { margin: 0 0 14px; font-size: 14px; }
.bu-gym-t a { color: inherit; }
.bu-gym-ph { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 120px; margin-top: 30px; }
.bu-gym-ph img { display: block; width: 230px; height: 153px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd, 0 2px 6px rgba(0,0,0,.15); }

.bu-foot { padding: 30px 0; }
.bu-foot-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.bu-foot-in > div + div { border-left: 1px solid rgba(255,255,255,.35); padding-left: 30px; }
.bu-foot h3 { margin: 0 0 18px; font: 600 18px/1.3 "Open Sans", Arial, sans-serif; color: #fff; }
.bu-foot h3 a { text-decoration: none; }
.bu-foot p { margin: 0 0 12px; font-size: 13px; }
.bu-foot table { border-collapse: collapse; font-size: 13px; }
.bu-foot td { padding: 1px 24px 1px 0; color: #fff; }
.bu-foot td:first-child { opacity: .85; }

/* Подвал платформы — тёмно-красный, как их нижняя полоса */
.site-footer { background: #8f0000; color: #f3d6d6; }
.site-footer a { color: #fff; }
.site-footer p, .site-footer .label { color: #f3d6d6; }

@media (max-width: 899px) {
  .bu-hero, .bu-shop { min-height: 380px; }
  .bu-hero h1, .bu-shop h2 { font-size: 30px; }
  .bu-hero p, .bu-shop p { font-size: 17px; }
  .bu-btn { font-size: 17px; }
  .bu-dirs ul { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding-top: 32px; }
  .bu-icon img { width: 140px; height: 140px; }
  .bu-goals, .bu-ideas ul, .bu-foot-in { grid-template-columns: 1fr; gap: 24px; }
  .bu-foot-in > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 20px; }
  .bu-goals h2 { font-size: 24px; }
  .bu-gym-ph { gap: 16px; }
}
