@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/rf-fonts/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/rf-fonts/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.rf-audio {
  margin: .9rem 0 1.1rem;
}
.rf-audio audio {
  display: block;
  width: min(100%, 32rem);
}
.rf-source #perekrestnoe-uteplenie {
  background: #fbfaf6;
  max-width: 53rem;
}
#perekrestnoe-uteplenie h2 { max-width: 22ch; }
#perekrestnoe-uteplenie .rf-audio { margin-block: 1rem 1.35rem; }
#perekrestnoe-uteplenie .rf-guide-points > li {
  padding: .65rem .3rem .7rem;
  margin: 0;
  border-bottom: 1px solid #dedfd5;
}
.rf-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap: 1.25rem 2rem;
  max-width: 72rem;
  margin: auto;
  padding: 1.3rem;
  border-top: 1px solid #89988d;
}
.rf-footer-links ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.rf-footer-links li { margin: .55rem 0; }
.rf-footer-links a { color: inherit; text-underline-offset: .2rem; }
.rf-consent-document { justify-self: start; font-size: .93rem; }
.rf-cookie-banner {
  position: fixed;
  inset: auto 1rem max(1rem,env(safe-area-inset-bottom)) auto;
  z-index: 120;
  box-sizing: border-box;
  width: min(26rem,calc(100% - 2rem));
  padding: 1rem 1.15rem;
  color: #1e332a;
  background: #f9faf5;
  border: 1px solid #aabcae;
  border-radius: .85rem;
  box-shadow: 0 .35rem 1.45rem #17251c40;
  animation: rf-cookie-in .22s ease-out;
}
.rf-cookie-banner[hidden] { display: none; }
.rf-cookie-banner h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.rf-cookie-banner p { margin: 0 0 .3rem; line-height: 1.45; }
.rf-cookie-banner a { color: #244033; }
.rf-cookie-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.rf-cookie-actions button, .rf-cookie-reset {
  min-height: 44px;
  padding: .4rem .65rem;
  border: 1px solid #244033;
  border-radius: .45rem;
  background: #fff;
  color: #244033;
  font: inherit;
  cursor: pointer;
}
.rf-cookie-actions button:last-child { color: white; background: #244033; }
.rf-client-catalog #prices { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,26rem),1fr)); }
.rf-client-catalog #prices .rf-catalog-group h2 { font-size: 1.2rem; color: #244033; }
.rf-client-catalog .rf-price-list { margin-block: 0; }
.rf-service-costs [data-price-id][hidden], .rf-roof-rates [data-price-id][hidden] { display: none; }
@keyframes rf-cookie-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .rf-cookie-banner { animation: none; } }

body :is(h1, h2, h3, h4, h5, h6, button, [role="button"], summary),
body #main-nav a,
body main :is(.title, .s68-button, .rf-client-button, .rf-client-secondary),
body .rf-cookie-banner button {
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.rf-source .rf-editorial :is(h1,h2),
.rf-source .rf-about h1,
body .rf-contact-dark h2 {
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body :is(h1,h2,h3) { overflow-wrap: anywhere; }
body #main-nav a { white-space: normal; }
.rf-cookie-banner {
  z-index: 1200;
  max-height: min(22rem,calc(100dvh - 1.5rem));
  overflow-y: auto;
}
.rf-cookie-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
}
.rf-cookie-actions button { line-height: 1.25; }
#s68-portfolio,
#s68-related-works { overflow: clip; }
.rf-revealed { animation: rf-rise-in 380ms ease-out; }
[data-rf-reveal="left"].rf-revealed { animation: rf-left-in 380ms ease-out; }
[data-rf-reveal="right"].rf-revealed { animation: rf-right-in 400ms 45ms ease-out; }
@keyframes rf-rise-in { from { opacity: .72; transform: translateY(10px); } }
@keyframes rf-left-in { from { opacity: .74; transform: translateX(-12px); } }
@keyframes rf-right-in { from { opacity: .74; transform: translateX(12px); } }
@media (pointer: coarse) {
  #rf-photo-viewer [data-zoom-in], #rf-photo-viewer [data-zoom-out] { display: none; }
  [data-rf-reveal].rf-revealed { animation: rf-rise-in 380ms ease-out; }
}
@media (max-width: 375px) {
  .rf-cookie-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rf-revealed, [data-rf-reveal].rf-revealed { animation: none; }
}
