@font-face { font-family: "Alice"; src: url("/files/26f43e1bf6e88ae87c6fcd30197af8a04574862b5a8cc7c171d28bff33c7ace4") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f5f8ff;
  --fg: #092d5f;
  --muted: #4f6383;
  --accent: #092d5f;
  --accent-fg: #ffffff;
  --radius: 16px;
  --font: "Alice", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Alice", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как komatek-club.ru: шрифт Alice везде, тёмно-синий #092d5f, красный #ff202f, бледно-голубой #f5f8ff, скруглённые фото-плитки с синими подписями. */
body { background: #fff; color: #092d5f; font: 400 16px/1.6 "Alice", Georgia, serif; }
a { color: #092d5f; }
h1, h2, h3 { font-family: "Alice", Georgia, serif; font-weight: 400; color: #092d5f; }
.site-header { background: #fff; border-bottom: 1px solid #e2e6ed; }
.site-header-row { max-width: 1320px; padding: 8px 16px; }
.site-logo img, .site-name img { width: auto; height: 76px; object-fit: contain; }
.site-nav { max-width: 1320px; }
.site-nav a { font: 400 15px/1.4 "Alice", Georgia, serif; color: #092d5f; }
.site-nav a:hover { color: #e8101e; }
.site-main { max-width: 1320px; padding: 40px 16px 64px; }
.site-main h1 { font-size: 40px; line-height: 1.15; }
.button, button.button { border-radius: 8px; background: #e8101e; color: #fff; }
.card { border-radius: 16px; }
.rich table { border-collapse: collapse; width: 100%; font-size: 15px; }
.rich th, .rich td { border-bottom: 1px solid #e2e6ed; padding: 8px 10px; text-align: left; vertical-align: top; }
.rich th { background: #092d5f; color: #fff; font-weight: 400; }
.rich img { border-radius: 16px; }
.page-home .site-main { max-width: none; padding: 0 0 48px; }
.page-home .layout-row { display: block; margin: 0; }
.page-home .layout-row > .block > * { margin-top: 0; }
.km-in { max-width: 1320px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.km-hero { position: relative; min-height: 600px; display: flex; align-items: center; background: #092d5f; overflow: hidden; }
.km-hero-bg, .km-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.km-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 45, 95, .55), rgba(9, 45, 95, .1) 70%); }
.km-hero-in { position: relative; z-index: 1; width: 100%; color: #fff; padding-top: 48px; padding-bottom: 48px; }
.site-main .km-hero h1 { margin: 0 0 22px; color: #fff; font-size: 64px; line-height: 1.08; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.km-sub { margin: 0 0 26px; font-size: 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.km-hero-tel { margin: 0 0 6px; font-size: 30px; }
.km-hero-tel a, .km-hero-addr { color: #fff; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.km-hero-addr { margin: 0 0 24px; font-size: 16px; }
.km-btn { display: inline-block; padding: 14px 30px; border-radius: 8px; background: #e8101e; color: #fff; text-decoration: none; font-size: 17px; }
.km-btn:hover { background: #c40b17; color: #fff; }
.km-btn-w { background: #fff; color: #092d5f; }
.km-btn-w:hover { background: #f5f8ff; color: #092d5f; }
.km-services { padding-top: 56px; }
.site-main .km-services h2, .site-main .km-news h2 { margin: 0 0 28px; font-size: 40px; }
.km-services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.km-services .km-t4 { grid-row: span 2; }
.km-services .km-t7 { grid-column: span 2; }
.km-services a { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; background: #092d5f; text-decoration: none; }
.km-services img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.km-services a:hover img { transform: scale(1.04); }
.km-services b { position: absolute; left: 0; bottom: 22px; max-width: 78%; padding: 8px 54px 8px 18px; background: rgba(9, 45, 95, .88); color: #fff; font-weight: 400; font-size: 19px; line-height: 1.25; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.km-services b::after { content: "↗"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #3d5f8f; text-align: center; line-height: 22px; font-size: 13px; }
.km-news { margin-top: 72px; padding: 64px 0; background: #f5f8ff repeating-radial-gradient(ellipse at 20% 0, rgba(9, 45, 95, .035) 0 2px, transparent 2px 28px); }
.km-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.km-all { color: #092d5f; text-decoration: none; font-size: 15px; }
.km-all::after { content: "›"; display: inline-block; margin-left: 8px; width: 18px; height: 18px; border-radius: 50%; background: #e8101e; color: #fff; text-align: center; line-height: 17px; }
.km-news ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.km-news li a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 16px 16px 20px; background: #fff; border-radius: 4px; color: #092d5f; text-decoration: none; box-shadow: 0 4px 18px rgba(9, 45, 95, .06); }
.km-pic { position: relative; display: block; margin-bottom: 16px; }
.km-pic img { display: block; width: 100%; aspect-ratio: 387 / 200; object-fit: cover; }
.km-pic time { position: absolute; left: 0; top: 14px; padding: 3px 18px 3px 10px; background: #e8101e; color: #fff; font-size: 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.km-news b { font-weight: 400; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.km-news i { font-style: normal; font-size: 14px; color: #4f6383; margin-bottom: 14px; }
.km-news em { margin-top: auto; font-style: normal; font-size: 13px; }
.km-news em::after { content: "›"; display: inline-block; margin-left: 8px; width: 16px; height: 16px; border-radius: 50%; background: #092d5f; color: #fff; text-align: center; line-height: 15px; }
.km-call { margin-top: 72px; }
.km-call-box { display: flex; align-items: center; gap: 48px; padding: 40px 56px; border-radius: 20px; background: #092d5f; color: #fff; overflow: hidden; }
.km-call-pic { flex: 0 0 260px; }
.km-call-pic img { display: block; width: 100%; height: auto; }
.site-main .km-call h2 { margin: 0 0 12px; color: #fff; font-size: 34px; line-height: 1.2; }
.km-call-txt p { margin: 0 0 16px; }
.km-call-txt a { color: #fff; }
.km-call-tels .km-btn { margin: 0 10px 10px 0; }
.km-call-tels .km-btn-w { color: #092d5f; }
.km-addr { margin-top: 56px; }
.km-addr dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding-top: 28px; border-top: 1px solid #e2e6ed; }
.km-addr dt { color: #94a6bf; font-size: 13px; margin-bottom: 6px; }
.km-addr dd { margin: 0; }
.km-addr a { text-decoration: none; }
.site-footer { background: #fff; color: #092d5f; border-top: 1px solid #e2e6ed; }
.site-footer a { color: #092d5f; }
@media (max-width: 999px) {
  .site-main .km-hero h1 { font-size: 46px; }
  .km-news ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-addr dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-call-box { padding: 32px; gap: 28px; }
  .km-call-pic { flex-basis: 180px; }
}
@media (max-width: 640px) {
  .km-hero { min-height: 520px; }
  .site-main .km-hero h1 { font-size: 36px; }
  .km-sub { font-size: 20px; }
  .km-hero-tel { font-size: 24px; }
  .site-main .km-services h2, .site-main .km-news h2 { font-size: 30px; }
  .km-services ul { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
  .km-services .km-t4 { grid-row: auto; }
  .km-services .km-t7 { grid-column: auto; }
  .km-news ul, .km-addr dl { grid-template-columns: minmax(0, 1fr); }
  .km-call-box { flex-direction: column; padding: 28px 20px; text-align: center; }
  .km-call-pic { flex-basis: auto; width: 160px; }
  .site-main .km-call h2 { font-size: 26px; }
  .site-main h1 { font-size: 30px; }
  .rich table { display: block; overflow-x: auto; }
}
