/* reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
body { position: relative; min-width: 100%; min-height: 100%; line-height: normal; overflow: auto; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; text-size-adjust: none; -ms-text-size-adjust: none; }
button, input, select, textarea, button:focus, input:focus, select:focus, textarea:focus { -webkit-appearance: none; -moz-appearance: none; box-shadow: none; outline: none; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type=number] { -moz-appearance: textfield; }
ul, ol, li { list-style-type: none; padding: 0; margin: 0; display: block; line-height: normal; }
a, a:focus, a:hover { text-decoration: none; outline: none; box-shadow: none; }

:root {
  --color-text-primary: #1f1f1f;
  --color-text-secondary: #898989;
  --color-brand: #d4ab55;
  --color-fill-secondary: #f5f5f5;
  --color-btn: #eccb86;
  --container-max: 1440px;
  --container-pad: 100px;
  --header-height: 84px;
  --hero-zone-top-pad: 144px;
  --hero-top-pad: 60px;
  --font: 'Inter', Arial, sans-serif;
  --font-size-min: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Bebas без глифа ₽ — inline SVG viewBox 12.8×17.1, fill #fcba01; высота = cap-height цифр */
.kadr-ruble {
  display: inline-block;
  height: 0.75em;
  height: 1cap;
  width: auto;
  aspect-ratio: 12.8 / 17.1;
  margin: 0 0.03em;
  vertical-align: baseline;
  line-height: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.kadr-ruble svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

html { scroll-behavior: smooth; }

.skip_link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: 200; padding: 12px 20px; background: var(--color-brand); color: var(--color-text-primary); font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 0 0 8px 8px; }
.skip_link:focus { left: 16px; top: 0; width: auto; height: auto; overflow: visible; }
body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font);
  font-weight: 400;
  font-stretch: normal;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.header_transparent { padding-top: 0; }

.text-regular {
  font-weight: 400;
  font-stretch: normal;
}

.text-condensed {
  font-weight: 600;
  font-stretch: condensed;
}

img { max-width: 100%; height: auto; display: block; }

img[src$=".svg"] { object-fit: contain; }

.icon-img { display: block; object-fit: contain; flex-shrink: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.page { overflow-x: hidden; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.h0 {
  margin: 0;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 82px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
}

.h1 {
  margin: 0;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.h2 {
  margin: 0;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}

.h3 {
  margin: 0;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.h5 {
  margin: 0;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.body-16 {
  font-weight: 600;
  font-stretch: condensed;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.text-secondary { color: var(--color-text-secondary); }

.text-brand { color: var(--color-brand); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body.header_scrolled .header { background: #fff; border-bottom-color: rgba(31, 31, 31, 0.08); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 20px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__nav {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header__logo-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  line-height: 0;
}

.header__contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 316px;
  flex-shrink: 0;
}

.header__nav a:hover { color: var(--color-brand); }
.header__nav_item { position: relative; }

.header__logo {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}

.header__phone {
  width: auto;
  flex-shrink: 0;
  text-align: left;
  white-space: nowrap;
}

.header__phone-num {
  display: block;
  font-weight: 600;
  font-stretch: condensed;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header__phone-time {
  display: block;
  font-weight: 400;
  font-stretch: normal;
  font-size: var(--font-size-min);
  color: rgba(31, 31, 31, 0.6);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header__social {
  display: flex;
  gap: 8px;
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.1);
  transition: 0.2s;
}

.header__social-link:hover { background: rgba(31, 31, 31, 0.18); }

.header__social-link img { width: 20px; height: 20px; object-fit: contain; }

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--color-text-primary);
}

/* Кнопки и btn-ссылки: line-height 100% — жёстко (блок C) */
[class*="btn"] {
  line-height: 100% !important;
  top: auto;
}

.btn__label {
  position: relative;
  top: auto;
}
