@font-face { font-family: "Century Gothic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/centurygothic.woff2?v=f8317ba5") format("woff2"); }
@font-face { font-family: "Century Gothic"; font-weight: 700; font-display: swap; src: url("/assets/fonts/centurygothic_bold.woff2?v=92ee0d3a") format("woff2"); }

:root {

  --rb-red: var(--primary, #ff3b0f);
  --rb-on-red: var(--primary-foreground, #ffffff);
  --rb-bg: var(--background, #ffffff);
  --rb-ink: var(--foreground, #2a2a28);
  --rb-dark: var(--accent, #252322);
  --rb-on-dark: var(--accent-foreground, #ffffff);
  --rb-sand: var(--card, #d8d3ca);
  --rb-beige: var(--border, #ccc4b8);
  --rb-muted: var(--muted-foreground, #6c6a65);
  --rb-font: var(--font-family, "Century Gothic", sans-serif);
  --rb-r: var(--radius, 12px);

  --rb-r-lg: calc(var(--rb-r) * 2);
  --rb-r-btn: calc(var(--rb-r) * 2.0833);
  --rb-r-sm: calc(var(--rb-r) / 2);
  --rb-r-round: 50%;

  --rb-olive: #6d6e5e;
  --rb-orange: #f05a28;
  --rb-head: #000000;
  --rb-photo: #000000;
  --rb-shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 1px 3px -1px rgba(0, 0, 0, 0.2);
  --rb-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.02), 0 0.9px 1.5px rgba(0, 0, 0, 0.043), 0 3.5px 6px rgba(0, 0, 0, 0.09);
  --rb-shadow-md: 0 0.9px 1.25px rgba(0, 0, 0, 0.024), 0 3px 5px rgba(0, 0, 0, 0.05), 0 12px 20px rgba(0, 0, 0, 0.09);
  --rb-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --rb-fast: 0.2s;

  --sp-2xs: 0.375rem; --sp-xs: 0.5rem; --sp-sm: 0.75rem; --sp-md: 1.25rem; --sp-lg: 2rem; --sp-xl: 3.25rem;

  --tx-ratio: 1.2;
  --tx-sm: calc(1rem / var(--tx-ratio)); --tx-xs: calc(var(--tx-sm) / var(--tx-ratio));
  --tx-md: calc(1rem * var(--tx-ratio)); --tx-lg: calc(var(--tx-md) * var(--tx-ratio));
  --tx-xl: calc(var(--tx-lg) * var(--tx-ratio)); --tx-2xl: calc(var(--tx-xl) * var(--tx-ratio));
  --tx-3xl: calc(var(--tx-2xl) * var(--tx-ratio));
  --hdr-h: 60px;
}
@media (min-width: 64rem) {
  :root {
    --sp-2xs: 0.5625rem; --sp-xs: 0.75rem; --sp-sm: 1.125rem; --sp-md: 2rem; --sp-lg: 3.125rem; --sp-xl: 5.125rem;
    --tx-ratio: 1.215;
    --hdr-h: 70px;
  }
}

:root, [data-theme="default"] { --t-tone: var(--rb-red); --t-on: var(--rb-on-red); --t-accent: var(--rb-olive); --t-plate: var(--rb-sand); }
[data-theme="building"] { --t-tone: var(--rb-dark); --t-on: var(--rb-on-dark); --t-accent: var(--rb-orange); --t-plate: var(--rb-dark); }
[data-theme="exploitation"] { --t-tone: var(--rb-olive); --t-on: #ffffff; --t-accent: var(--rb-orange); --t-plate: var(--rb-olive); }
[data-theme="protection"] { --t-tone: var(--rb-orange); --t-on: #ffffff; --t-accent: var(--rb-dark); --t-plate: var(--rb-orange); }
[data-theme="about"] { --t-tone: var(--rb-beige); --t-on: var(--rb-head); --t-accent: var(--rb-red); --t-plate: var(--rb-beige); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--rb-bg); color: var(--rb-ink); font-family: var(--rb-font); font-weight: 400;
  font-size: 1rem; line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--rb-head); font-weight: 700; line-height: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
.ico { width: 1em; height: 1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: calc(100% - 2 * var(--sp-md)); max-width: 80rem; margin-inline: auto; }

.h-1 { font-size: var(--tx-2xl); }
.h-2 { font-size: var(--tx-xl); }
.h-3 { font-size: var(--tx-lg); }
@media (min-width: 64rem) { .h-1 { font-size: var(--tx-3xl); } .h-2 { font-size: var(--tx-2xl); } .h-3 { font-size: var(--tx-xl); } }

.rtext { line-height: 1.7; }
.rtext p, .rtext ul, .rtext ol, .rtext table { margin-bottom: 0.9375em; }
.rtext > :last-child { margin-bottom: 0; }
.rtext ul, .rtext ol { padding-left: 1.5em; }
.rtext a { color: var(--rb-red); }
.rtext h2, .rtext h3, .rtext h4 { margin: 1.5em 0 0.5em; line-height: 1.2; }
.rtext h2 { font-size: var(--tx-lg); }
.rtext h3 { font-size: var(--tx-md); }
.rtext > :first-child { margin-top: 0; }
.rtext img { margin-block: var(--sp-sm); border-radius: var(--rb-r-lg); }
.rtext table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: var(--tx-sm); line-height: 1.3; }
.rtext th, .rtext td { padding: var(--sp-xs) var(--sp-sm); text-align: left; vertical-align: top; border-bottom: 1px solid var(--rb-beige); }
.rtext th { color: var(--rb-head); font-weight: 700; }
@media (min-width: 64rem) { .rtext table { display: table; } }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 0.5em; white-space: nowrap;
  padding: 12px 32px; border: 1px solid transparent; border-radius: var(--rb-r-btn); background: none;
  font-family: var(--rb-font); font-size: var(--tx-sm); font-weight: 700; line-height: 1.2; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--rb-fast) ease, border-color var(--rb-fast) ease, color var(--rb-fast) ease, box-shadow var(--rb-fast) ease;
}
.btn--primary { background: var(--t-tone); border-color: var(--t-tone); color: var(--t-on); }
.btn--secondary { background: var(--t-accent); border-color: var(--t-accent); color: #ffffff; }
.btn--primary:hover, .btn--primary:focus-visible, .btn--secondary:hover, .btn--secondary:focus-visible { box-shadow: var(--rb-shadow-md); filter: brightness(0.92); }
.btn--link { padding: 0; border: 0; color: inherit; font-size: inherit; font-weight: inherit; text-transform: none; text-decoration: underline; }
.btn--link:hover, .btn--link:focus-visible { color: var(--rb-red); }
.btn:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-sm); }
.actions:empty { display: none; }

.hdr { position: sticky; top: 0; z-index: 20; height: var(--hdr-h); background: var(--rb-bg); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); transition: transform 0.3s var(--rb-ease); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); }
.hdr__nav, .hdr__end { display: none; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo__img { width: auto; height: 46px; }
.soc { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--rb-ink); text-decoration: none; transition: color var(--rb-fast) ease; }
.soc .ico { width: 22px; height: 22px; }
.soc:hover, .soc:focus-visible { color: var(--rb-red); }
.hdr__socials, .ftr__socials { display: flex; gap: 6px; }
.burger summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; font-size: 24px; color: var(--rb-ink); }
.burger summary::-webkit-details-marker { display: none; }
.burger .burger__close { display: none; }
.burger[open] .burger__open { display: none; }
.burger[open] .burger__close { display: block; }
.burger__panel {
  position: absolute; top: 100%; left: calc(-1 * var(--sp-md)); right: calc(-1 * var(--sp-md));
  max-height: calc(100vh - var(--hdr-h)); overflow: auto; padding: 0 var(--sp-md) var(--sp-lg);
  background: var(--rb-bg); box-shadow: var(--rb-shadow-md); font-size: var(--tx-sm);
}
.burger__nav { display: flex; flex-direction: column; }
.bnav__item { position: relative; border-bottom: 1px solid var(--rb-beige); }
.bnav__link { display: block; padding: var(--sp-sm) 48px var(--sp-sm) 0; font-size: 1rem; text-decoration: none; }
.bnav__open { position: absolute; top: 4px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.bnav__open .ico { transition: transform var(--rb-fast) ease; }
.bnav__open[aria-expanded="true"] .ico { transform: rotate(180deg); }
.bnav__sub { display: none; margin: 0 0 var(--sp-sm); padding: 0 0 0 var(--sp-sm); list-style: none; }
.bnav__open[aria-expanded="true"] + .bnav__sub { display: block; }
.bnav__sublink { display: block; padding: var(--sp-2xs) 0; color: var(--rb-muted); text-decoration: none; }
.bnav__link:hover, .bnav__link:focus-visible, .bnav__sublink:hover, .bnav__sublink:focus-visible { color: var(--rb-red); }
.burger__line { margin-top: var(--sp-xs); }
.burger__line:first-of-type { margin-top: var(--sp-lg); }
.burger__tel { color: inherit; text-decoration: none; font-weight: 700; }
.burger__panel .actions, .burger__panel .hdr__socials { margin-top: var(--sp-md); }
@media (min-width: 64rem) {
  .logo__img { height: 60px; }
  .hdr__nav { display: flex; align-self: stretch; flex: 1 1 auto; margin-left: var(--sp-sm); }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { display: flex; align-items: center; height: 100%; padding: 0 0 0 var(--sp-sm); font-size: var(--tx-sm); text-decoration: none; color: var(--rb-head); transition: color var(--rb-fast) ease; }
  .nav__item:not(:has(.nav__open)) .nav__link { padding-right: var(--sp-sm); }
  .nav__open { display: grid; place-items: center; width: 28px; height: 100%; padding: 0 var(--sp-sm) 0 4px; border: 0; background: none; cursor: pointer; font-size: 12px; }
  .nav__open .ico { transition: transform var(--rb-fast) ease; }
  .nav__sub {
    position: absolute; top: 100%; left: 0; z-index: 2; min-width: 16rem; margin: 0; padding: var(--sp-xs) 0; list-style: none;
    background: var(--rb-bg); border-radius: 0 0 var(--rb-r-sm) var(--rb-r-sm); box-shadow: var(--rb-shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--rb-fast) ease, transform var(--rb-fast) ease, visibility var(--rb-fast);
  }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__open[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__item:hover .nav__open .ico, .nav__open[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__sublink { display: block; padding: var(--sp-2xs) var(--sp-sm); font-size: var(--tx-sm); text-decoration: none; transition: color var(--rb-fast) ease, background-color var(--rb-fast) ease; }
  .nav__link:hover, .nav__link:focus-visible, .nav__sublink:hover, .nav__sublink:focus-visible { color: var(--rb-red); }
  .hdr__end { display: flex; align-items: center; gap: var(--sp-sm); font-size: var(--tx-sm); color: var(--rb-head); }
  .hdr__mail { text-decoration: none; }
  .hdr__mail:hover, .hdr__mail:focus-visible { color: var(--rb-red); }
  .hdr__addr { max-width: 12rem; line-height: 1.2; }
  .hdr__addr p { margin: 0; }
  .burger { display: none; }
}

.pt-sm { padding-top: var(--sp-sm); } .pt-md { padding-top: var(--sp-md); } .pt-lg { padding-top: var(--sp-lg); } .pt-xl { padding-top: var(--sp-xl); }
.pb-sm { padding-bottom: var(--sp-sm); } .pb-md { padding-bottom: var(--sp-md); } .pb-lg { padding-bottom: var(--sp-lg); } .pb-xl { padding-bottom: var(--sp-xl); }
.py-md { padding-block: var(--sp-md); } .py-lg { padding-block: var(--sp-lg); } .py-xl { padding-block: var(--sp-xl); }
.mt-sm { margin-top: var(--sp-sm); } .mt-xl { margin-top: var(--sp-xl); }
.center { text-align: center; }
.center .actions { justify-content: center; }
.band-tone { background: var(--t-tone); color: var(--t-on); }
.band-tone h1, .band-tone h2, .band-tone h3, .band-tone h4 { color: var(--t-on); }
.band-light { background: var(--rb-beige); }
.band-lighter { background: var(--rb-sand); }
.text__in > * + * { margin-top: var(--sp-sm); }
.text__in .h-2 + .rtext, .text__in .h-1 + .rtext { margin-top: var(--sp-md); }
.text__in .actions { margin-top: var(--sp-md); }
.text__img { display: block; max-width: 100%; height: auto; border-radius: var(--rb-r-lg); }

.hero__box { position: relative; display: flex; align-items: center; min-height: 280px; overflow: hidden; border-radius: var(--rb-r-lg); background: var(--rb-photo); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero__in { position: relative; z-index: 1; padding: var(--sp-lg) var(--sp-md); color: #fafafa; }
.hero__title { max-width: 38rem; color: #fafafa; font-size: var(--tx-2xl); }
.hero__note { max-width: 38rem; margin-top: var(--sp-sm); }
.hero__in .actions { margin-top: var(--sp-md); }
.crumbs { margin-top: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); border-radius: var(--rb-r-lg); background: var(--t-tone); color: var(--t-on); font-size: var(--tx-sm); }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.crumbs__item { display: flex; align-items: center; gap: 9px; }
.crumbs__item .ico { width: 12px; height: 12px; opacity: 0.6; }
.crumbs__link { color: inherit; text-decoration: none; }
.crumbs__link:hover, .crumbs__link:focus-visible { text-decoration: underline; }
.crumbs__item[aria-current] { opacity: 0.8; }
@media (min-width: 64rem) {
  .hero__box { min-height: 350px; }
  .hero__in { padding-inline: var(--sp-md); }
  .hero__title { font-size: var(--tx-3xl); }
}

.promo__in { display: grid; gap: var(--sp-sm); align-items: center; }
.promo__img { width: 100%; height: 100%; max-height: 32rem; object-fit: cover; border-radius: var(--rb-r-lg); box-shadow: var(--rb-shadow-xs); }
.promo__card { padding: var(--sp-md); border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow); }
.promo__card > * + * { margin-top: var(--sp-sm); }
.promo__card .actions { margin-top: var(--sp-md); }
@media (min-width: 64rem) {
  .promo__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .promo--right .promo__img { order: 2; }
}

.badge { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--rb-r-round); background: var(--t-plate); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.badge .ico { width: 24px; height: 24px; }
.badge--accent { color: var(--t-accent); }
.badge--white { color: #ffffff; }
.badge--theme { color: var(--t-on); }

.feats__grid { display: grid; gap: var(--sp-sm); margin: 0; padding: 0; list-style: none; }
.feat { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-xs); }
.feat__name { font-size: var(--tx-md); line-height: 1.2; }
.feat__words { color: var(--rb-muted); font-size: var(--tx-sm); line-height: 1.2; }
@media (min-width: 48rem) {
  .feats--2 .feats__grid, .feats--3 .feats__grid, .feats--4 .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .feats--3 .feats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feats--4 .feats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.checks__in { display: grid; gap: var(--sp-sm); align-items: center; max-width: 64rem; }
.checks__img { width: 100%; border-radius: var(--rb-r-lg); box-shadow: var(--rb-shadow-xs); }
.checks__list { display: flex; flex-direction: column; gap: var(--sp-sm); margin: 0; padding: 0; list-style: none; }
.check { display: flex; align-items: flex-start; gap: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-xs); }
.check__name { font-size: var(--tx-md); line-height: 1.2; }
.check__words { margin-top: var(--sp-2xs); color: var(--rb-muted); font-size: var(--tx-sm); line-height: 1.2; }
@media (min-width: 64rem) {
  .checks__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .checks--right .checks__img { order: 2; }
  .check { margin-left: calc(-1 * var(--sp-md)); }
  .checks--right .check { margin-left: 0; margin-right: calc(-1 * var(--sp-md)); }
}

.rail-sec__title { margin-bottom: var(--sp-md); }
.rail__nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: var(--sp-sm); }
.rail__count { margin-right: var(--sp-xs); color: var(--rb-muted); font-size: var(--tx-sm); }
.rail__ctl {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--rb-r-round);
  background: var(--t-tone); color: var(--t-on); font-size: 20px; cursor: pointer; transition: filter var(--rb-fast) ease, opacity var(--rb-fast) ease;
}
.rail__ctl:hover, .rail__ctl:focus-visible { filter: brightness(0.9); }
.rail__ctl:disabled { opacity: 0.4; cursor: default; }
.rail__list {
  display: flex; gap: 12px; margin: 0; padding: 0 0 var(--sp-lg); list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail__list::-webkit-scrollbar { display: none; }
.pcard { display: flex; flex-direction: column; flex: 0 0 85%; overflow: hidden; scroll-snap-align: start; border-radius: var(--rb-r-lg); background: var(--t-tone); color: var(--t-on); transition: box-shadow var(--rb-fast) ease; }
.pcard:hover { box-shadow: var(--rb-shadow-md); }
.pcard__img { width: 100%; aspect-ratio: 302 / 270; object-fit: cover; }
.pcard__body { padding: var(--sp-sm); }
.pcard__name { margin-bottom: var(--sp-xs); color: var(--t-on); font-size: var(--tx-md); line-height: 1.2; }
.pcard__words { font-size: var(--tx-sm); line-height: 1.5; }
@media (min-width: 48rem) { .pcard { flex-basis: 302px; } }

.steps__list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 0 0 var(--sp-lg) 58px; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; top: -8px; left: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--rb-r-round); background: var(--t-tone); color: var(--t-on); font-size: var(--tx-md); font-weight: 700;
}
.step::after { content: ""; position: absolute; top: 40px; bottom: 0; left: 19.5px; width: 1px; background: var(--rb-beige); }
.step:last-child::after { display: none; }
.step__name { font-size: var(--tx-md); line-height: 1.2; }
.step__words { margin-top: var(--sp-xs); line-height: 1.58; }

.tiles__grid { display: grid; gap: var(--sp-sm); margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-xs); transition: box-shadow var(--rb-fast) ease; }
.tile:hover, .tile:focus-within { box-shadow: var(--rb-shadow-md); }
.tile__link { display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; border: 0; background: none; text-align: left; text-decoration: none; cursor: pointer; }
.tile__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile__body { display: flex; flex-direction: column; flex: 1; gap: var(--sp-xs); padding: var(--sp-sm); }
.tile__name { color: var(--rb-head); font-size: var(--tx-md); font-weight: 700; line-height: 1.2; transition: color var(--rb-fast) ease; }
.tile__link:hover .tile__name, .tile__link:focus-visible .tile__name { color: var(--rb-red); }
.tile__words { flex: 1; color: var(--rb-muted); font-size: var(--tx-sm); line-height: 1.4; }
.tile--offer .actions { margin-top: var(--sp-xs); }
@media (min-width: 48rem) { .tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .tiles__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dialog { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: var(--sp-md); background: rgba(0, 0, 0, 0.8); }
.dialog[hidden] { display: none; }
.dialog__box { width: 100%; max-width: 48rem; max-height: 100%; overflow: auto; border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-md); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); padding: var(--sp-sm) var(--sp-md); border-bottom: 1px solid var(--rb-beige); }
.dialog__title { font-size: var(--tx-lg); line-height: 1.2; }
.dialog__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--rb-r-round); background: var(--rb-sand); cursor: pointer; font-size: 18px; transition: background-color var(--rb-fast) ease; }
.dialog__close:hover, .dialog__close:focus-visible { background: var(--rb-beige); }
.dialog__body { display: flex; flex-direction: column; gap: var(--sp-md); padding: var(--sp-md); }
.dialog__img { width: 100%; border-radius: var(--rb-r-lg); }
html.has-dialog { overflow: hidden; }

.docs__grid { display: grid; gap: var(--sp-sm); margin: 0; padding: 0; list-style: none; }
.doc { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-xs); }
.doc__img { width: 100%; aspect-ratio: 311 / 440; object-fit: cover; object-position: top; border-bottom: 1px solid var(--rb-sand); }
.doc__body { display: flex; flex-direction: column; flex: 1; gap: var(--sp-sm); padding: var(--sp-sm); }
.doc__words { flex: 1; font-size: var(--tx-sm); line-height: 1.4; }
.doc__file { align-self: flex-start; }
.doc__file .ico { width: 16px; height: 16px; }
@media (min-width: 48rem) { .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .docs--3 .docs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs--4 .docs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.main__in { display: grid; gap: var(--sp-sm); }
.main__left { display: grid; gap: var(--sp-sm); }
.main__lead { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-md); padding: var(--sp-sm); border-radius: var(--rb-r-lg); background: color-mix(in srgb, var(--rb-sand) 20%, transparent); box-shadow: var(--rb-shadow); }
.main__lead-text { font-size: var(--tx-lg); line-height: 1.2; color: var(--rb-head); }
.main__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-sm); margin: 0; padding: 0; list-style: none; }
.mtile { min-height: 140px; border-radius: var(--rb-r-lg); box-shadow: var(--rb-shadow); transition: box-shadow var(--rb-fast) ease, transform var(--rb-fast) ease; }
.mtile:hover, .mtile:focus-within { box-shadow: var(--rb-shadow-md); transform: scale(1.01); }
.mtile--dark { background: var(--rb-dark); color: var(--rb-on-dark); }
.mtile--olive { background: var(--rb-olive); color: #ffffff; }
.mtile--orange { background: var(--rb-orange); color: #ffffff; }
.mtile--beige { background: var(--rb-beige); color: var(--rb-head); }
.mtile--lead { background: color-mix(in srgb, var(--rb-sand) 20%, transparent); }
.mtile__link { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: var(--sp-sm); color: inherit; text-decoration: none; }
.mtile__more { display: inline-flex; align-items: center; gap: 4px; font-size: var(--tx-xs); font-weight: 700; text-transform: uppercase; opacity: 0.75; }
.mtile__more .ico { width: 10px; height: 10px; }
.mtile__name { font-size: var(--tx-lg); font-weight: 700; line-height: 1.1; }
.main__slides { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--rb-r-lg); background: var(--rb-photo); }
.main__track { position: absolute; inset: 0; }
.mslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--rb-ease), visibility 0.6s; }
.mslide.is-on, .main__track:not(.is-live) .mslide:first-child { opacity: 1; visibility: visible; }
.mslide__img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.mslide__in { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-md) var(--sp-md) 56px; color: #fafafa; }
.mslide__name { color: #fafafa; font-size: var(--tx-lg); }
.mslide__words { margin-top: var(--sp-xs); }
.mslide__words ul { padding-left: 1.2em; }
.mslide .actions { margin-top: var(--sp-sm); }
.slides__ctl { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 26px; height: 51px; padding: 0; border: 0; border-radius: var(--rb-r-sm); background: rgba(0, 0, 0, 0.25); color: #c7c7c7; font-size: 22px; cursor: pointer; transform: translateY(-50%); transition: background-color var(--rb-fast) ease, color var(--rb-fast) ease; }
.slides__ctl:hover, .slides__ctl:focus-visible { background: rgba(0, 0, 0, 0.5); color: #ffffff; }
.slides__ctl--prev { left: 12px; }
.slides__ctl--next { right: 12px; }
.slides__dots { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 10px; height: 40px; }
.slides__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--rb-r-round); background: #ffffff; opacity: 0.5; cursor: pointer; transition: opacity var(--rb-fast) ease; }
.slides__dot[aria-current="true"], .slides__dot:hover, .slides__dot:focus-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mslide { transition: none; } }
@media (min-width: 64rem) {
  .main__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 580px; }
  .main__left { grid-template-rows: auto minmax(0, 1fr); }
  .main__lead { min-height: 192px; }
  .mslide__name { font-size: var(--tx-xl); }
}

.contacts { position: relative; overflow: hidden; }
.contacts__map { position: relative; height: 420px; background: var(--rb-sand); }
.contacts__points { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.contacts__open { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: inherit; }
.contacts__map.is-drawn .contacts__open { display: none; }
.contacts__in { position: relative; z-index: 1; margin-top: calc(-1 * var(--sp-xl)); padding-bottom: var(--sp-lg); }
.contacts__card { max-width: 20rem; padding: var(--sp-md); border-radius: var(--rb-r-lg); background: var(--rb-bg); box-shadow: var(--rb-shadow-md); }
.contacts__logo { width: 193px; height: auto; margin: 0 auto var(--sp-sm); }
.contacts__list { margin: 0; }
.contacts__row { padding-bottom: var(--sp-sm); }
.contacts__row dt { padding-bottom: 12px; color: var(--rb-head); font-size: var(--tx-lg); font-weight: 700; line-height: 1; }
.contacts__row dd { line-height: 1.4; }
.contacts__row .rtext { line-height: 1.4; }
.contacts__link { text-decoration: none; }
.contacts__link:hover, .contacts__link:focus-visible { color: var(--rb-red); }
@media (min-width: 64rem) {
  .contacts { height: 600px; }
  .contacts__map { position: absolute; inset: 0; height: auto; }
  .contacts__in { display: flex; align-items: center; height: 100%; margin-top: 0; padding: 0; pointer-events: none; }
  .contacts__card { pointer-events: auto; }
}

.error { padding-block: var(--sp-xl); }
.error__in { max-width: 48rem; text-align: center; }
.error__title { margin-bottom: var(--sp-sm); font-size: var(--tx-2xl); }
.error__text { color: var(--rb-muted); }
.error .actions { justify-content: center; margin-top: var(--sp-md); }
.error__home { color: var(--rb-red); }

.ftr { padding-bottom: var(--sp-lg); background: var(--rb-bg); font-size: var(--tx-sm); }
.ftr__top { display: flex; justify-content: flex-end; padding-block: 12px; border-bottom: 1px solid var(--rb-beige); }
.ftr__home { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ftr__row { display: grid; gap: var(--sp-lg); padding-block: var(--sp-lg); }
.ftr__grid { display: grid; gap: var(--sp-md); }
.ftr__head { display: block; margin-bottom: 12px; color: var(--rb-head); font-weight: 700; text-decoration: none; }
.ftr__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ftr__link, .ftr__doc { color: inherit; text-decoration: none; }
.ftr__home:hover, .ftr__home:focus-visible, .ftr__head:hover, .ftr__head:focus-visible, .ftr__link:hover, .ftr__link:focus-visible,
.ftr__doc:hover, .ftr__doc:focus-visible, .ftr__credit a:hover, .ftr__credit a:focus-visible { color: var(--rb-red); }
.ftr__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-sm); }
.ftr__brand .logo__img { height: 100px; }
.ftr__credit { margin-block: var(--sp-sm); color: var(--rb-muted); }
.ftr__credit a { color: inherit; }
.ftr__bottom { display: flex; flex-direction: column; gap: var(--sp-xs); color: var(--rb-muted); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: var(--sp-xs) var(--sp-md); }
@media (min-width: 48rem) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .ftr__row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-xl); }
  .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-xl); }
  .ftr__brand { align-items: flex-end; }
  .ftr__credit { text-align: right; }
  .ftr__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.cookie { background: var(--rb-beige); color: var(--rb-head); font-size: var(--tx-xs); }
.cookie__in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); padding-block: var(--sp-xs); }
.cookie__text a { color: inherit; }
.cookie__close { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--rb-r-round); background: rgba(0, 0, 0, 0.5); color: #ffffff; cursor: pointer; transition: background-color var(--rb-fast) ease; }
.cookie__close:hover, .cookie__close:focus-visible { background: rgba(0, 0, 0, 0.7); }

.reveal { opacity: 0.01; transform: translateY(40px); transition: opacity 0.6s var(--rb-ease), transform 0.6s var(--rb-ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
