

/* Start:/bitrix/templates/landing_start/styles.css?17909772242642*/
/* ==========================================================================
   Столяркино — базовый сброс и типографика страницы
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--stlk-bg);
  color: var(--stlk-wood-700);
  font-family: var(--stlk-font-text);
  font-size: var(--stlk-fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--stlk-font-display);
  color: var(--stlk-wood-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

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

button { font-family: inherit; cursor: pointer; }

ul, ol { padding: 0; list-style: none; }

.stlk-container {
  width: 100%;
  max-width: var(--stlk-container);
  margin-inline: auto;
  padding-inline: var(--stlk-gutter);
}

.stlk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--stlk-fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--stlk-accent-dark);
  background: var(--stlk-yellow-light);
  padding: 6px 14px;
  border-radius: var(--stlk-radius-pill);
}

.stlk-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Утилита появления секций при скролле — управляется JS каждой секции
   через переключение .is-visible на [data-reveal]. Сама анимация
   объявлена тут, чтобы не дублировать keyframes в 13 файлах. */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--stlk-dur-slow) var(--stlk-ease-standard),
              transform var(--stlk-dur-slow) var(--stlk-ease-standard);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* End */


/* Start:/bitrix/templates/landing_start/template_styles.css?179150500919070*/
/* template_styles.css */

/* ==========================================================================
   Столяркино — глобальные дизайн-токены
   Аналог template.css в Bitrix: подключается один раз на странице,
   секции ссылаются на переменные, но не зависят от структуры файла.
   ========================================================================== */

:root {
  /* ---- Цвет: палитра по образцу stolyarkino.com/pushkino
     (тёплый крем/персик, тёмное дерево, оливковый CTA, охра как акцент) ---- */
  --stlk-bg: #FBF7F3;              /* тёплый крем — фон страницы */
  --stlk-bg-alt: #FDEBD9;          /* альтернативный фон секций */
  --stlk-surface: #FFFFFF;         /* карточки */
  --stlk-surface-tint: #FFFDF9;

  --stlk-wood-900: #271202;        /* самый тёмный — заголовки, текст */
  --stlk-wood-700: #4A3423;        /* основной текст */
  --stlk-wood-500: #7A5B3F;        /* вторичный текст */
  --stlk-wood-300: #C9AD8B;        /* линии, бордеры */
  --stlk-wood-100: #EADFC9;        /* лёгкие подложки */

  --stlk-accent: #647252;          /* оливковый — основной CTA (как на сайте-образце) */
  --stlk-accent-dark: #4F5C40;
  --stlk-accent-light: #D9CDA6;

  --stlk-yellow: #A9792E;          /* охра — акценты, бейджи, выделения в тексте */
  --stlk-yellow-light: #F3E4C6;

  --stlk-green: #4C7A57;           /* галочки, "в наличии", позитив */
  --stlk-green-light: #E1EEE2;

  --stlk-ink: #1C0F02;             /* почти чёрный, для текста на светлом */
  --stlk-white: #FFFFFF;

  /* ---- Типографика ---- */
  /* Montserrat — тот же шрифт, что на stolyarkino.com/pushkino. Подключается
     через Google Fonts в index.html; здесь достаточно системного фолбэка. */
  --stlk-font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --stlk-font-text: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --stlk-fs-h1: clamp(2rem, 5vw, 2.75rem);
  --stlk-fs-h2: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  --stlk-fs-h3: clamp(1rem, 2vw, 1.5rem);
  --stlk-fs-lead: clamp(1.0625rem, 0.6vw + 1rem, 1.25rem);
  --stlk-fs-body: 1rem;
  --stlk-fs-small: 0.875rem;

  /* ---- Форма/сетка ---- */
  /*--stlk-radius-s: 12px;
  --stlk-radius-m: 20px;
  --stlk-radius-l: 28px;*/

  --stlk-radius-s: 10px;
  --stlk-radius-m: 10px;
  --stlk-radius-l: 10px;
  --stlk-radius-pill: 999px;

  --stlk-container: 1400px;
  --stlk-gutter: clamp(20px, 5vw, 64px);
  --stlk-section-pad: clamp(28px, 4vw, 56px);

  /* ---- Тени ---- */
  --stlk-shadow-s: 0 2px 8px rgba(46, 32, 19, 0.08);
  --stlk-shadow-m: 0 12px 32px rgba(46, 32, 19, 0.12);
  --stlk-shadow-l: 0 24px 56px rgba(46, 32, 19, 0.18);

  /* ---- Движение: пружины в духе apple-design (переведено в cubic-bezier) ----
     Критически задемпфированная пружина (damping 1.0, response ~0.35с) —
     стандартный easing для входа элементов и hover-состояний.
     Для "моментум"-взаимодействий (флик/свайп) берём вариант с лёгким bounce. */
  --stlk-ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --stlk-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --stlk-dur-fast: 180ms;
  --stlk-dur-standard: 380ms;
  --stlk-dur-slow: 560ms;

  --header-top-h: 80px;
  --header-anchors-h: 30px;
  --header-bg: #fff;
  --header-fg: #1f2430;
  --header-muted: #6b7280;
  --header-accent: #e5533d;
  --header-accent-fg: #fff;
  --header-line: rgba(0, 0, 0, .08);
  --header-shadow: 0 4px 16px rgba(0, 0, 0, .10);
  --header-ease: .22s ease;

  /* выставляются скриптом */
  --header-total-h: 124px;
  --bx-panel-h: 0px;

}

@media (prefers-color-scheme: light) {
  /* Лендинг спроектирован как светлая, "дневная" мастерская — тёмная тема
     не предусмотрена продуктом, поэтому токены не переопределяются. */
}


/*====================NAVIGATION, TOP MENU=================*/


/** ====================================================================
*  ***********************HEADER2***************************************
*  =====================================================================*/

:root {
  --header-bg: #fff;
  --header-fg: #1f2430;
  --header-muted: #6b7280;
  --header-accent: #e5533d;
  --header-accent-fg: #fff;
  --header-line: rgba(0, 0, 0, .08);
  --header-shadow: 0 4px 16px rgba(0, 0, 0, .10);
  --header-ease: .22s ease;

  /* выставляются скриптом */
  --header-total-h: 124px;
  --bx-panel-h: 0px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
   --header-bg: #fff;
   --header-fg: #1f2430;
   --header-muted: #6b7280;
   --header-accent: #e5533d;
   --header-accent-fg: #fff;
   --header-line: rgba(0, 0, 0, .08);
   --header-shadow: 0 4px 16px rgba(0, 0, 0, .10);
   --header-ease: .22s ease;
  }
}

html {
  scroll-padding-top: calc(var(--header-total-h) + var(--bx-panel-h) + 8px);
}

.header {
  position: sticky;
  top: var(--bx-panel-h);
  z-index: 1000;
  background: var(--header-bg);
  color: var(--header-fg);
  transition: box-shadow var(--header-ease);
}

.header.is-scrolled {
  --header-top-h: 56px;
  box-shadow: var(--header-shadow);
}

.header a { color: inherit; text-decoration: none; }
.header ul { margin: 0; padding: 0; list-style: none; }

.header__container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- верхний ярус ---------- */
.header__top { border-bottom: 1px solid var(--header-line); }

.header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-top-h);
  transition: height var(--header-ease);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 20px;
}
.header__logo-img {
  height: calc(var(--header-top-h) - 28px);
  width: auto;
  transition: height var(--header-ease);
}
.header__logo-dot { color: var(--header-accent); }

.header__nav { min-width: 0; }
.header__menu { display: flex; gap: 24px; }
.header__menu a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--header-ease), border-color var(--header-ease);
}
.header__menu a:hover,
.header__menu a[aria-current="page"] { border-bottom-color: var(--header-accent); }

/* ---------- контакты ---------- */
.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.header__max { display: flex; }
.header__max img { display: block; }

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.header__phone-icon { flex-shrink: 0; }

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--header-accent);
  color: var(--header-accent-fg) !important;
  font-weight: 600;
  white-space: nowrap;
  transition: height var(--header-ease), padding var(--header-ease), filter var(--header-ease);
}
.header__cta:hover { filter: brightness(1.08); }
.header__cta-icon { display: none; }
.header.is-scrolled .header__cta { height: 38px; }

/* ---------- бургер ---------- */
.header__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.header__burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--header-ease), opacity var(--header-ease), top var(--header-ease);
}
.header__burger span:nth-child(1) { top: 14px; }
.header__burger span:nth-child(2) { top: 21px; }
.header__burger span:nth-child(3) { top: 28px; }
.header__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- нижний ярус: якоря ---------- */
.header__bottom { border-bottom: 1px solid var(--header-line); }
.header.no-anchors .header__bottom { display: none; }

.header__anchors-wrap { position: relative; }

/* градиенты по краям: есть, куда скроллить */
.header__anchors-wrap::before,
.header__anchors-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--header-ease);
}
.header__anchors-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--header-bg), color-mix(in srgb, var(--header-bg) 0%, transparent));
}
.header__anchors-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--header-bg), color-mix(in srgb, var(--header-bg) 0%, transparent));
}
.header__anchors-wrap.has-left::before,
.header__anchors-wrap.has-right::after { opacity: 1; }

/* один горизонтальный ряд, лишнее уходит в overflow */
.header__anchors {
  position: relative; /* для offsetLeft у ссылок */
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  height: var(--header-anchors-h);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;   /* не отдаём жест браузерному «назад» */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header__anchors::-webkit-scrollbar { display: none; }
.header__anchors li { flex: 0 0 auto; }

/* перетаскивание мышью */
.header__anchors-wrap.is-scrollable .header__anchors { cursor: grab; }
.header__anchors-wrap.is-dragging .header__anchors { cursor: grabbing; user-select: none; }
.header__anchors-wrap.is-dragging .header__anchors a { pointer-events: none; }
.header__anchors a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 14px;
  color: var(--header-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--header-ease), border-color var(--header-ease);
}
.header__anchors a:hover { color: var(--header-fg); }
.header__anchors a.is-active {
  color: var(--header-fg);
  border-bottom-color: var(--header-accent);
}

/* ---------- бургер-панель ---------- */
.header__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-top-h) - var(--bx-panel-h));
  overflow-y: auto;
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  border-top: 1px solid var(--header-line);
}
.header__panel[hidden] { display: none; }
.header__panel-section { padding: 16px 50px 8px 0; float:left; }
.header__panel-section[hidden] { display: none; }
.header__panel-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--header-muted);
}
.header__panel-list a {
  display: block;
  padding: 12px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--header-line);
}
.header__panel-list a.is-active { color: var(--header-accent); }

/* ---------- адаптив ---------- */

/* 1) меню и якоря -> бургер */
@media (max-width: 1250px) {
  .header__nav,
  .header__bottom { display: none; }
  .header__burger { display: block; }
  .header__phone-text {display:none; }

  .header__row { gap: 16px; }
}

@media (min-width: 1251){
  .header__phone-text {display:none;}
}

@media (min-width: 1101px) {
  .header__panel { display: none !important; }
}

/* 2) «Записаться» -> кнопка-иконка */
@media (max-width: 820px) {
  .header__cta {
    width: 44px;
    padding: 0;
  }
  .header.is-scrolled .header__cta { width: 38px; }
  .header__cta-icon { display: block; }
  .header__cta-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* 3) убираем номер, остаются иконки */
@media (max-width: 700px) {
  .header__contacts { gap: 12px; }
  .header__logo { font-size: 18px; }
  .header__phone-text {display:none;}
}

@media (prefers-reduced-motion: reduce) {
  .header, .header * { transition: none !important; }
}


/*.header__phone-text { display: none; }*/


/* ==========================================================================
   Секция 01 · Hero — тёмный full-bleed вариант
   ========================================================================== */

.stlk-hero {
  position: relative;
  overflow: hidden;
  color: var(--stlk-white);
  min-height: clamp(560px, 82vh, 800px);
  display: flex;
  align-items: center;
}

.stlk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stlk-hero__bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) saturate(1.05);
}

/* Тёмный градиент поверх фото — обязателен для контраста белого текста:
   слева/снизу, где стоит текст, подложка практически непрозрачная;
   к правому краю светлеет, чтобы кадр мастерской оставался узнаваемым.
   Проверено по WCAG (getComputedStyle + расчёт контраста) на белом тексте. */
.stlk-hero__bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(19, 10, 2, 0.94) 0%, rgba(19, 10, 2, 0.88) 38%, rgba(19, 10, 2, 0.5) 68%, rgba(19, 10, 2, 0.28) 100%),
    linear-gradient(0deg, rgba(19, 10, 2, 0.55) 0%, rgba(19, 10, 2, 0) 40%);
}

.stlk-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--stlk-section-pad);
}

.stlk-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 760px;
}

.stlk-hero__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--stlk-white);
  backdrop-filter: blur(10px);
}

.stlk-hero__title {
  font-size: var(--stlk-fs-h1);
  color: var(--stlk-white);
  letter-spacing: -0.03em;
}

.stlk-hero__lead {
  font-size: var(--stlk-fs-lead);
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
}

.stlk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.stlk-hero__secondary-icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--stlk-dur-standard) var(--stlk-ease-standard);
}
.stlk-hero__secondary:hover .stlk-hero__secondary-icon { transform: translateY(3px); }

.stlk-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
  width: 100%;
}

.stlk-hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--stlk-radius-m);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.stlk-hero__stat-icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--stlk-yellow);
}
.stlk-hero__stat-icon svg { width: 100%; height: 100%; }

.stlk-hero__stat dt {
  font-family: var(--stlk-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--stlk-white);
  white-space: nowrap;
}
.stlk-hero__stat dd {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}


/* ==========================================================================
   Секция 02 · Что мы делаем
   ========================================================================== */

.stlk-about {
  padding-block: var(--stlk-section-pad);
  background: linear-gradient(160deg, var(--stlk-bg) 0%, color-mix(in srgb, var(--stlk-bg) 90%, var(--stlk-wood-300)) 100%);
}

.stlk-about__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.stlk-about__intro { position: sticky; top: 32px; }

.stlk-about__title {
  font-size: var(--stlk-fs-h2);
  margin-top: 16px;
}

.stlk-about__lead {
  margin-top: 16px;
  color: var(--stlk-wood-500);
  font-size: var(--stlk-fs-lead);
  max-width: 42ch;
}

.stlk-about__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: item;
}

.stlk-about__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 8px;
  border-bottom: 1px solid var(--stlk-wood-300);
  transition: transform var(--stlk-dur-standard) var(--stlk-ease-standard);
}
.stlk-about__item:first-child { padding-top: 4px; }
.stlk-about__item:last-child { border-bottom: none; }

.stlk-about__item:hover { transform: translateX(6px); }

.stlk-about__num {
  font-family: var(--stlk-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--stlk-accent);
  background: var(--stlk-yellow-light);
  width: 56px;
  height: 56px;
  border-radius: var(--stlk-radius-m);
  display: grid;
  place-items: center;
  flex: none;
}

.stlk-about__body h3 {
  font-size: var(--stlk-fs-h3);
  margin-bottom: 8px;
}

.stlk-about__body p {
  color: var(--stlk-wood-500);
  max-width: 52ch;
}

@media (max-width: 860px) {
  .stlk-about__inner { grid-template-columns: 1fr; }
  .stlk-about__intro { position: static; }
}

@media (max-width: 480px) {
  .stlk-about__item { grid-template-columns: auto 1fr; gap: 14px; padding-block: 20px; }
  .stlk-about__num { width: 44px; height: 44px; font-size: 1.125rem; border-radius: var(--stlk-radius-s); }
}



@media (max-width: 720px) {
  .stlk-hero { min-height: 0; }
  .stlk-hero__bg-photo { object-position: center 40%; }
  .header__max {display:none;}
  .stlk-hero__bg-scrim {
    background:
      linear-gradient(180deg, rgba(19, 10, 2, 0.9) 0%, rgba(19, 10, 2, 0.94) 55%, rgba(19, 10, 2, 0.98) 100%);
  }
  .stlk-hero__inner { padding-block: calc(var(--stlk-section-pad) * 0.7) calc(var(--stlk-section-pad) * 0.5); }
  .stlk-hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .stlk-hero__actions .stlk-cta { width: 100%; }
  .stlk-hero__stats { gap: 10px; }
  .stlk-hero__stat { flex: 1 1 calc(50% - 10px); padding: 12px 14px; }
}

@media (max-width: 420px) {
  .stlk-hero__br { display: none; }
}

/* End */
/* /bitrix/templates/landing_start/styles.css?17909772242642 */
/* /bitrix/templates/landing_start/template_styles.css?179150500919070 */
