@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/OpenSans-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/OpenSans-latin-400.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;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/OpenSans-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/OpenSans-latin-400.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;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Ubuntu-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Ubuntu-latin-400.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;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Ubuntu-cyrillic-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Ubuntu-latin-700.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;
}:root {
  color-scheme: light;
  --ink: #172737;
  --muted: #4d5b67;
  --navy: #132b40;
  --deep: #102235;
  --line: #dce3e8;
  --tint: #f3f6f7;
  --white: #fff;
  --accent: #f3c274;
  --link: #245879;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: auto; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible { outline: 3px solid #bb7226; outline-offset: 4px; }
:target { scroll-margin-top: 1rem; }
[hidden] { display: none !important; }

h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h1 { margin: .16em 0 .36em; font-size: clamp(2.85rem, 6.4vw, 5.5rem); letter-spacing: -.065em; font-weight: 740; }
h2 { margin-bottom: .72em; font-size: clamp(1.85rem, 3.45vw, 3rem); letter-spacing: -.045em; }
h3 { margin-bottom: .55em; font-size: clamp(1.13rem, 2.1vw, 1.48rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; }
p + p { margin-top: .8em; }

.wrap { width: min(100% - 3.5rem, 73rem); margin-inline: auto; }
.skip { position: absolute; top: .65rem; left: 1rem; z-index: 5; transform: translateY(-200%); background: var(--white); padding: .55rem .9rem; }
.skip:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 5rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.logo { flex: 0 0 auto; display: inline-block; }
.logo img { width: 145px; }
nav { display: flex; flex-wrap: wrap; gap: .55rem 1.7rem; }
nav a, .header-phone { color: var(--ink); text-decoration: none; font-weight: 620; }
nav a:hover, .header-phone:hover { text-decoration: underline; }
.header-phone { white-space: nowrap; }

.hero { color: var(--white); background: var(--deep); }
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.75rem); padding-block: clamp(2.75rem, 7vw, 6rem); }
.hero-content { min-width: 0; }
.eyebrow { color: #f1ca8c; font-size: .89rem; font-weight: 690; letter-spacing: .04em; }
.hero-tagline { font-size: clamp(1.1rem, 2.6vw, 1.55rem); font-weight: 660; }
.hero-copy { max-width: 30rem; color: #dae5ed; font-size: 1.02rem; }
.hero-image { overflow: hidden; border-radius: 1.15rem; background: #203c56; }
.hero-image img { width: 100%; aspect-ratio: 1.36; object-fit: cover; }
.buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; border: 1px solid transparent; border-radius: .5rem; padding: .54rem 1.05rem; font: inherit; font-weight: 680; line-height: 1.25; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--accent); color: #302013; }
.button-primary:hover { background: #ffd391; }
.button-outline { border-color: #93a7b8; color: var(--white); }
.button-outline:hover { background: #28435c; }
.button-secondary { border-color: #b5c7d3; color: var(--navy); background: var(--white); }
.button-secondary:hover { background: #e8f0f4; }

.section { padding-block: clamp(2.4rem, 5.5vw, 4.7rem); }
.section-tint { background: var(--tint); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.service-grid a { display: flex; min-height: 4.8rem; height: 100%; align-items: center; justify-content: space-between; gap: .65rem; border: 1px solid var(--line); border-radius: .65rem; padding: .85rem 1rem; color: var(--navy); background: var(--white); font-weight: 680; line-height: 1.25; text-decoration: none; }
.service-grid a:hover { border-color: #567b93; color: var(--link); }
.service-name { min-width: 0; overflow-wrap: anywhere; }
.service-arrow { flex: 0 0 auto; font-size: 1.15rem; color: var(--link); }
.catalog-link { margin-top: 1rem; }

.archive-details, .faq-item { border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.archive-details + .archive-details, .faq-item + .faq-item { margin-top: .65rem; }
.archive-details summary, .faq-item summary { padding: .85rem 1.05rem; color: var(--navy); cursor: pointer; font-weight: 680; }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.archive-details[open] > :not(summary), .faq-item[open] > :not(summary) { margin: .3rem 1.05rem 1.05rem; }

.details-list { padding-block: 1.1rem; }
.detail-section { padding: clamp(1.75rem, 4.5vw, 3rem) 0; }
.detail-section + .detail-section { border-top: 1px solid var(--line); }
.detail-section > p { margin-top: 1.2rem; }
.prose { max-width: 76ch; color: var(--ink); overflow-wrap: anywhere; }
.prose + .prose { margin-top: .9rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose table { max-width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem; }
.steps { padding-left: 1.55em; }
.steps li + li { margin-top: 1.35rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 60rem; margin-top: 1.25rem; }
.gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: .7rem .9rem; }
.about-grid, .faq-grid { display: grid; grid-template-columns: minmax(11rem, .45fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.about-heading img { width: min(10rem, 100%); margin-top: 1.2rem; }
.lead { margin-bottom: .8rem; font-size: 1.13rem; font-weight: 630; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.2rem; }
.catalog-card { overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); }
.catalog-card img { width: 100%; aspect-ratio: 2.3; object-fit: contain; background: var(--tint); }
.catalog-card > div { padding: .85rem 1rem 1.05rem; }
.catalog-card h4 { margin-bottom: .45rem; }
.catalog-card p { margin-top: .55rem; }
.catalog-card del { color: var(--muted); }
.template-item { max-width: 22rem; }

.callback {
  position: relative;
  color: var(--white);
  background: linear-gradient(90deg, #142b40eb, #132b40f5), url("img/callback.webp") center / cover;
}
.callback-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 1.5rem 4rem; }
.callback :is(a, button, input, textarea, summary):focus-visible { outline-color: var(--accent); }
.callback .alias { position: absolute; inset: 0 auto auto 0; }
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.request-form label { display: grid; gap: .3rem; font-weight: 620; }
.request-form label:last-of-type, .form-note { grid-column: 1 / -1; }
.request-form input, .request-form textarea { min-width: 0; width: 100%; font: inherit; border: 1px solid #b5c5d1; border-radius: .38rem; color: var(--ink); background: var(--white); padding: .52rem .65rem; }
.request-form textarea { resize: vertical; }
.request-form button { justify-self: start; }
.form-note { color: #e0eaf1; font-size: .92rem; }

.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.1rem; }
.contact-item { min-width: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .65rem; overflow-wrap: anywhere; }
.contact-item h3 { font-size: 1.05rem; }
#contacts .archive-details { margin-top: 1.35rem; }
.site-footer { color: #d6e1e9; background: var(--deep); }
.footer-row { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.site-footer a { color: var(--white); }

@media (max-width: 58rem) {
  .service-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 1.75rem; }
  .header-row { gap: 1rem; }
  nav { gap: .55rem .95rem; }
  .callback-grid { gap: 1.4rem 2rem; }
}

@media (max-width: 39rem) {
  .wrap { width: min(100% - 2rem, 73rem); }
  .header-row { display: grid; grid-template-columns: 1fr auto; min-height: auto; padding-block: .62rem .75rem; gap: .25rem .55rem; }
  .logo img { width: 114px; }
  .header-phone { order: 0; font-size: .88rem; }
  nav { grid-column: 1 / -1; order: 1; padding-top: .15rem; }
  nav a { padding-block: .26rem; font-size: .93rem; }
  .hero-grid, .about-grid, .faq-grid, .callback-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.1rem; }
  .hero-image { max-height: 19rem; }
  .hero-image img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr; }
  .about-heading img { display: none; }
  .faq-grid { gap: .2rem; }
}

@media (max-width: 27rem) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 24rem) {
  h1 { font-size: 2.5rem; }
  .contact-grid, .catalog-grid { grid-template-columns: 1fr; }
  .request-form { grid-template-columns: 1fr; }
}
html { scroll-padding-top: calc(var(--header, 5rem) + .75rem); scroll-behavior: smooth; }
.site-header { position: sticky; top: 0; z-index: 10; }
nav { align-items: center; }
.menu-button { display: none; font: inherit; font-weight: 680; min-height: 2.75rem; padding: 0 .9rem; border: 1px solid #b5c7d3; border-radius: .5rem; background: #fff; color: var(--navy); }
.submenu { position: relative; }
.submenu summary { cursor: pointer; font-weight: 620; }
.submenu ul { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 2rem; left: 0; width: 19rem; background: #fff; border: 1px solid var(--line); border-radius: .6rem; box-shadow: 0 12px 30px #10223526; }
.submenu li a { display: block; padding: .5rem .6rem; }
.trap { position: absolute; left: -9999px; }
.request-form .wide { grid-column: 1 / -1; }
.request-form .consent { display: flex; gap: .6rem; align-items: start; font-weight: 400; }
.request-form .consent input { width: 1.2rem; flex: none; margin-top: .3rem; }
.detail-section > p { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
@media (max-width: 68rem) {
  .header-row { display: flex; padding-block: .6rem; min-height: auto; gap: .75rem; }
  .header-phone { margin-left: auto; order: 0; }
  .js .menu-button { display: block; order: 1; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  .js nav { display: none; }
  .js nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: .5rem 1.75rem 1rem; max-height: calc(100vh - 5rem); overflow: auto; background: #fff; border-bottom: 1px solid var(--line); }
  nav > a, .submenu summary { padding: .7rem 0; }
  .submenu ul { position: static; width: auto; border: 0; box-shadow: none; }
}
@media (max-width: 39rem) { .js nav.open { padding-inline: 1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.catalog-card { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 39rem) { .catalog-grid { grid-template-columns: 1fr; } }
@media (max-width: 22rem) { .header-row { gap: .4rem; } .logo img { width: 84px; } .header-phone { font-size: .78rem; } .menu-button { padding: 0 .6rem; } }
:root { --ink: #111; --muted: #666; --navy: #111; --deep: #4d2408; --line: #d6d6d6; --tint: #fff; --accent: #111; --link: #4d2408; font-family: "Open Sans", sans-serif; }
h1, h2, h3, h4 { font-family: Ubuntu, sans-serif; letter-spacing: 0; font-weight: 400; }
h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin: 0 0 .5em; font-weight: 700; }
.prose, .contact-item, .catalog-card p { color: #666; }
.button, .menu-button { border-radius: 100px; font-weight: 400; }
.button-primary { background: #111; color: #fff; }
.button-primary:hover { background: #333; }
.button-outline { border-color: #fff; }
.button-outline:hover { background: #6a3510; }
.logo img { width: 74px; }
nav { gap: .4rem 1.1rem; }
nav a, .header-phone, .submenu summary { font-weight: 400; }
.header-phone { font-size: .9rem; } .header-phone a { color: var(--ink); text-decoration: none; }
.menu-cta { border: 2px solid var(--line); border-radius: 100px; padding: .45rem 1.1rem; }
.hero { position: relative; background: #4d2408; }
.hero-image { position: absolute; inset: 0; border-radius: 0; }
.hero-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: #0006; }
.hero-grid { position: relative; display: block; min-height: 38rem; padding-block: 0; display: flex; align-items: flex-end; }
.hero-content { position: relative; z-index: 1; background: #42200c; padding: 2.25rem 2.5rem; max-width: 34rem; margin-block: 2rem; }
.eyebrow { color: #fff; } .hero-copy { color: #e8ddd5; }
.hero-grid .hero-image { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); z-index: 0; }
.hero { overflow: hidden; }
.service-grid a, .contact-item, .catalog-card, .archive-details, .faq-item { border-radius: 0; }
.service-grid a, .archive-details summary, .faq-item summary { font-weight: 400; }
.callback { background: linear-gradient(#0006, #0006), url("img/callback.webp") center / cover; padding-block: clamp(3rem, 10vw, 8rem); }
#call-to-action { background: #42200c; padding: 2rem; }
.request-form { background: #42200c; padding: 2rem; }
.request-form input:not([type=checkbox]), .request-form textarea { background: transparent; color: #fff; border: 0; border-bottom: 2px solid #c9b5a7; border-radius: 0; }
.request-form .button-primary { background: transparent; border: 2px solid #c9b5a7; }
.map { display: block; width: 100%; height: 22rem; border: 0; }
.contact-note { margin: 1.5rem 0; color: #666; }
.site-footer { background: #000; }
@media (max-width: 68rem) { .header-row { flex-wrap: nowrap; } .menu-cta { border: 0; padding: .7rem 0; } }
@media (max-width: 39rem) { .header-phone { display: flex; flex-direction: column; font-size: .8rem; } .header-phone a { font-size: .8rem; } .hero-grid { min-height: 30rem; } .hero-content { padding: 1.5rem; } .logo img { width: 58px; } }
.hero-grid .hero-image { max-height: none; }
@media (max-width: 39rem) { .sep { display: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { z-index: 20; }
.callback :is(a, button, input, textarea, summary):focus-visible { outline-color: #fff; }
.header-phone a { display: inline-block; min-height: 24px; line-height: 24px; }
.catalog-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
