body#glavnaya {
  --f24-home-dark: #0d0d0d;
  --f24-home-light: #f0efeb;
  --f24-home-orange: #f03800;
  --f24-home-gutter: clamp(18px, 4vw, 76px);
  --f24-home-max: 1440px;
  --f24-home-space: clamp(44px, 6vw, 98px);
  --f24-home-display: var(--f24-display, "Oswald", "Arial Narrow", Arial, sans-serif);
}

.f24-home-shell {
  width: min(var(--f24-home-max), 100% - 2 * var(--f24-home-gutter));
  margin-inline: auto;
}
.f24-home-section { scroll-margin-top: 92px; }
.f24-home-section h2 {
  margin: 0;
  color: inherit;
  font: 600 clamp(36px, 5.2vw, 78px)/1.03 var(--f24-home-display);
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.f24-home-section h3 { margin: 0; color: inherit; font: 600 23px/1.16 var(--f24-home-display); }
.f24-home-section :is(ul, ol), .f24-home-footer ul { list-style: none; padding: 0; margin: 0; }
.f24-home-section :is(ul, ol) > li, .f24-home-footer li { margin: 0; padding: 0; }
.f24-home-section :is(ul, ol) > li::before, .f24-home-footer li::before { content: none; }
.f24-home-section a, .f24-home-footer a { color: inherit; }
.f24-home-section a:focus-visible, .f24-home-footer a:focus-visible {
  outline: 2px solid #ff754c;
  outline-offset: 4px;
}
.f24-home-section .f24-home-kicker {
  margin: 0 0 16px;
  color: #ff805b;
  font: 750 12px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.f24-home-section .f24-home-intro { margin: 18px 0 0; max-width: 54ch; color: #ccc8c4; font: 450 15px/1.65 Inter, Arial, sans-serif; }
.f24-home-section :is(.f24-home-link, .f24-home-button) {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  box-sizing: border-box;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
  text-decoration: none;
}
.f24-home-section .f24-home-link { border-bottom: 1px solid #ffffff50; }
.f24-home-section .f24-home-link:hover { border-color: #ff805b; }
.f24-home-section .f24-home-button { padding: 12px 18px; background: #c92e00; border: 1px solid #ee410f; }
.f24-home-section .f24-home-button:hover { background: #ae2a07; }
.f24-home-section :is(.f24-home-link, .f24-home-button)::after { content: "↗" / ""; font-size: 17px; }
.f24-home-section .f24-home-link::after { color: #ff805b; }
.f24-home-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 26px; }

.f24-home-projects { padding: var(--f24-home-space) 0; color: #fff; background: var(--f24-home-dark); }
.f24-home-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 52px); }
.f24-home-heading .f24-home-link { flex-shrink: 0; }
.f24-home-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 24px); }
.f24-home-project { position: relative; display: grid; align-content: start; gap: 7px; height: 100%; text-decoration: none; }
.f24-home-project img {
  display: block;
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border: 1px solid #fff2;
  background: #232323;
}
.f24-home-project:hover img { border-color: #ff805b; }
.f24-home-project-title { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; font: 600 clamp(18px, 1.65vw, 25px)/1.15 var(--f24-home-display); overflow-wrap: anywhere; }
.f24-home-project-title::after { content: "↗" / ""; color: #ff805b; }
.f24-home-project-type { color: #c2bcb5; font-size: 13px; }
.f24-home-credit { margin: 22px 0 0; color: #b0aaa4; font-size: 12px; line-height: 1.5; }

.f24-home-workflow { padding: clamp(30px, 4vw, 58px) 0; color: #fff; background: #c92e00; }
.f24-home-workflow .f24-home-shell { display: grid; grid-template-columns: minmax(155px, 1.18fr) 4fr; gap: clamp(18px, 2vw, 38px); }
.f24-home-workflow h2 { font-size: clamp(29px, 3.5vw, 53px); text-wrap: initial; }
.f24-home-workflow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: f24-home-step; }
.f24-home-workflow ol > li { padding: 0 clamp(11px, 1.65vw, 24px) 2px; border-left: 1px solid #ffffff65; counter-increment: f24-home-step; }
.f24-home-workflow ol > li::before { content: counter(f24-home-step, decimal-leading-zero) / ""; display: block; margin: 0 0 13px; color: #ffe3d7; font: 600 29px/1 var(--f24-home-display); }
.f24-home-workflow h3 { font-size: 21px; }
.f24-home-workflow p, .f24-home-advantages li p { margin: 9px 0 0; font-size: 13px; font-weight: 450; line-height: 1.5; }

.f24-home-production, .f24-home-location { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.4fr); color: #fff; background: var(--f24-home-dark); }
.f24-home-split-copy { min-width: 0; padding: clamp(34px, 5vw, 80px) clamp(24px, 3vw, 54px) clamp(34px, 5vw, 80px) max(var(--f24-home-gutter), (100% - var(--f24-home-max)) / 2); }
.f24-home-production h2 { font-size: clamp(36px, 4.2vw, 68px); text-wrap: initial; }
.f24-home-production > img, .f24-home-location > iframe { display: block; width: 100%; height: 100%; min-height: 100%; border: 0; }
.f24-home-production > img { object-fit: cover; object-position: 63% center; }
.f24-home-production .f24-home-production-links { margin-top: 25px; border-top: 1px solid #fff3; }
.f24-home-production-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding-block: 4px; border-bottom: 1px solid #fff3; font-size: 14px; font-weight: 600; }
.f24-home-production-links a:hover { color: #ffa083; }
.f24-home-production-links a::after { content: "↗" / ""; color: #ff805b; }

.f24-home-advantages { padding: var(--f24-home-space) 0; color: #161616; background: var(--f24-home-light); }
.f24-home-advantages .f24-home-shell { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2.1fr); gap: clamp(26px, 4vw, 65px); }
.f24-home-advantages .f24-home-kicker { color: #a92d0a; }
.f24-home-advantages h2 { font-size: clamp(34px, 4vw, 61px); text-wrap: initial; }
.f24-home-advantages ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid #c9c5bd; background: #c9c5bd; }
.f24-home-advantages ul > li { padding: clamp(18px, 2.2vw, 33px); background: var(--f24-home-light); }
.f24-home-advantages li > i { display: block; margin-bottom: 18px; color: #b82d04; font-size: 25px; }
.f24-home-advantages li p { color: #4c4741; }

/* This section contains both directions and a map, not just the legacy map frame. */
#map.f24-home-location { height: auto !important; }
.f24-home-location { grid-template-columns: minmax(330px, .64fr) minmax(0, 1.5fr); border-top: 1px solid #ffffff32; }
.f24-home-location .f24-home-split-copy { container-type: inline-size; }
.f24-home-location #f24-location-title {
  font-size: clamp(36px, 4.2vw, 68px);
  font-size: min(clamp(36px, 4.2vw, 68px), 17cqi);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.f24-home-location address { margin-top: 20px; color: #edeae5; font: 500 16px/1.55 Inter, Arial, sans-serif; }
.f24-home-location > iframe { min-height: 420px; background: #242424; filter: grayscale(1) invert(.88); }

body #footer.f24-home-footer {
  padding: clamp(36px, 5vw, 76px) 0 max(24px, env(safe-area-inset-bottom));
  color: #d1cbc4;
  background: #0a0a0a;
}
.f24-home-footer-grid { display: grid; grid-template-columns: minmax(170px, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 64px); }
.f24-home-footer h2 { margin: 0 0 15px; color: #fff; font: 750 13px/1.4 Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.f24-home-footer img { display: block; width: 82px; height: auto; }
.f24-home-footer-brand p { max-width: 25ch; margin: 18px 0 7px; }
.f24-home-footer p, .f24-home-footer a { color: #c1bab2; font-size: 13px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.f24-home-footer a:hover { color: #fff; text-decoration: underline; }
.f24-home-footer li a { display: inline-flex; align-items: center; min-height: 29px; }
.f24-home-footer-legal { display: flex; flex-wrap: wrap; gap: 7px 24px; margin-top: clamp(28px, 4vw, 50px); padding-top: 18px; border-top: 1px solid #fff3; }
.f24-home-footer-legal p, .f24-home-footer-legal a { margin: 0; font-size: 12px; }
.f24-home-footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1580px) {
  .f24-home-split-copy { padding-left: max(var(--f24-home-gutter), (100vw - var(--f24-home-max)) / 2); }
  .f24-home-production { grid-template-columns: minmax(520px, .78fr) minmax(0, 1.4fr); }
  .f24-home-location { grid-template-columns: minmax(510px, .68fr) minmax(0, 1.4fr); }
  .f24-home-location .f24-home-split-copy { padding-left: min(112px, (100vw - var(--f24-home-max)) / 2); }
}
@media (max-width: 1050px) {
  .f24-home-workflow .f24-home-shell { grid-template-columns: 1fr; }
  .f24-home-advantages .f24-home-shell { grid-template-columns: 1fr; }
  .f24-home-advantages h2 { max-width: 24ch; }
}
@media (max-width: 760px) {
  .f24-home-heading { display: block; }
  .f24-home-heading .f24-home-link { margin-top: 8px; }
  .f24-home-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .f24-home-workflow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .f24-home-production, .f24-home-location { grid-template-columns: minmax(0, 1fr); }
  .f24-home-split-copy { padding-inline: var(--f24-home-gutter); }
  .f24-home-production > img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .f24-home-advantages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f24-home-advantages h3 { font-size: clamp(17px, 4.8vw, 23px); overflow-wrap: break-word; }
  .f24-home-location > iframe { min-height: 320px; }
  .f24-home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f24-home-footer li a { min-height: 34px; }
}

/* Reserve space inside the actual footer: the fixed mobile bar covers the viewport bottom. */
@media (max-width: 900px) and (pointer: coarse) and (hover: none) {
  .frezer-mobile-ready body #footer.f24-home-footer {
    padding-bottom: calc(24px + var(--f24-tabbar, 65px));
  }
}
