@font-face {
  font-family: Cuprum;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cuprum-regular-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-052F;
}

@font-face {
  font-family: Cuprum;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cuprum-regular-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: Cuprum;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cuprum-bold-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-052F;
}

@font-face {
  font-family: Cuprum;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cuprum-bold-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: ServiceIcons;
  font-display: block;
  src: url("fonts/icons.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 1rem/1.45 Cuprum, Arial, sans-serif; color: #333; background: #fff; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 20px; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; margin-top: 30px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 15px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #87440b; outline-offset: 4px; }
.container { width: 100%; max-width: 1200px; padding: 25px; margin: 0 auto; }
.accent { color: #b15b0f; }
.site-header { background: #fff; box-shadow: 0 1px 4px #0008; position: relative; z-index: 2; }
.header-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-left: 50px; padding-right: 50px; }
.brand { display: block; width: 245px; flex-shrink: 0; }
.hours, .contacts { color: #666; }
.hours p { margin: 0; }
.contacts a { display: block; font-size: 1.125rem; text-decoration: none; }
address { font-style: normal; }
.site-nav { position: relative; z-index: 1; background: #ef8b2e url("images/bg-slider.png") center top; box-shadow: inset 0 1px 4px #0003, 0 1px 4px #0009; }
.site-nav::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; }
.site-nav .container { position: relative; max-width: 1100px; padding: 0; }
.nav-links { list-style: none; display: flex; justify-content: flex-start; padding: 0; margin: 0; }
.nav-links a { display: block; color: #fff; font-size: 1rem; line-height: 20px; padding: 10px 25px; text-decoration: none; text-shadow: 0 1px 2px #0004; transition: background .2s ease; }
.nav-links a:hover, .nav-links [aria-current="page"] { background: #0003; color: #fff; box-shadow: inset 0 0 8px #0001; }
.nav-toggle { display: none; }
.hero-background { background: #ef8b2e url("images/bg-slider.png") center -40px; padding: 24px 0; box-shadow: inset 0 -1px 4px #0009; }
.hero { max-width: 1100px; width: 100%; margin: 0 auto; }
.slides { position: relative; height: 300px; overflow: hidden; background: #333; }
.slide-track { position: relative; height: 100%; }
.slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; bottom: 15px; right: 25px; left: 270px; color: white; font-size: 1.875rem; line-height: 1.2; text-shadow: 0 1px 2px #0006; }
button[data-load-map] { display: none; }
.js-ready button[data-load-map] { display: inline-block; }
.content { flex: 1; }
.content article { width: 100%; display: flow-root; }
.page-illustration { float: right; width: min(38%, 380px); margin: 0 0 20px 25px; }
.breadcrumb { color: #666; margin-bottom: 20px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 25px 0; }
.service { background: #ef8b2e; color: #fff; padding: 20px; display: flex; align-items: center; gap: 18px; text-decoration: none; }
.service strong { font-size: 1.25rem; display: block; }
.service-symbol { font: 2.625rem/1 ServiceIcons; flex-shrink: 0; }
.service p { margin: 0; }
.brands { overflow: hidden; border-top: 1px solid #ccc; margin: 30px 0 0; padding: 25px 0; }
.brand-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.brand-item { display: flex; align-items: center; justify-content: center; width: 220px; height: 85px; flex: 0 0 220px; }
.brands.is-animated .brand-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: brand-ribbon 40s linear infinite; }
.brands:hover .brand-track, .brands:focus-within .brand-track { animation-play-state: paused; }
.brands img { width: 110px; max-height: 65px; object-fit: contain; }
@keyframes brand-ribbon { to { transform: translateX(-50%); } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.map-panel { background: #f4f4f4; border: 1px solid #ccc; padding: 20px; }
.map-frame { width: 100%; height: 420px; border: 0; display: block; }
.requisites { border-collapse: collapse; width: 100%; }
.requisites th, .requisites td { padding: 12px; border: 1px solid #ccc; text-align: left; overflow-wrap: anywhere; }
.requisites th { width: 35%; }
.button { border: 1px solid #914a0d; border-radius: 3px; background: #ef8b2e; color: #222; padding: 8px 18px; display: inline-block; text-decoration: none; }
.button.secondary { background: white; }
.button:hover { background: #ffd1a7; }
.site-footer { background: #6b6b6b; color: white; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1.2fr; gap: 25px; }
.site-footer h2 { font-size: 1.125rem; margin-top: 0; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin: 5px 0; }
.site-footer .button { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff50; padding-top: 20px; margin-top: 20px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; }
.skip-link { position: absolute; top: -100px; left: 10px; z-index: 200; background: white; padding: 10px; }
.skip-link:focus { top: 10px; }
.notice { border-left: 4px solid #ef8b2e; padding: 12px 18px; background: #f5f5f5; }

@media (max-width: 900px) {
  .header-inner { gap: 20px; padding: 20px 25px; }
  .brand { width: 210px; }
  .nav-links a { padding: 10px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 700px) {
  .container { padding: 20px 15px; }
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 20px 30px; }
  .hours { flex: 1; min-width: 150px; }
  .contacts { width: 100%; }
  .js-ready .nav-toggle { display: block; padding: 12px 18px; margin: 8px 0; border: 1px solid #333; background: transparent; }
  .site-nav .container { padding-left: 15px; padding-right: 15px; }
  .js-ready .nav-links { display: none; }
  .nav-links, .js-ready .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { padding: 12px 18px; }
  .slides { height: 240px; }
  .hero-background { padding: 12px 0 18px; }
  .brand-item { width: 160px; flex-basis: 160px; }
  .slide figcaption { left: 15px; right: 15px; bottom: 15px; font-size: 1.4rem; }
  .services, .contact-grid { grid-template-columns: 1fr; }
  .service { flex-direction: row; align-items: center; }
  .map-frame { height: 350px; }
  .requisites th { width: 42%; }
  .page-illustration { float: none; display: block; width: min(100%, 260px); margin: 0 auto 20px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-links a { transition: none; }
}
