/* Шрифты лежат на нашем сервере (assets/fonts): Noto Serif Display и Onest, SIL OFL */
/* Noto Serif Display italic cyrillic-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Noto Serif Display italic cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Noto Serif Display italic latin-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Noto Serif Display italic latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-latin.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;
}
/* Noto Serif Display normal cyrillic-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Noto Serif Display normal cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Noto Serif Display normal latin-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Noto Serif Display normal latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-latin.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;
}
/* Noto Serif Display normal cyrillic-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Noto Serif Display normal cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Noto Serif Display normal latin-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Noto Serif Display normal latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-latin.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;
}
/* Onest normal cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Onest normal cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Onest normal latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Onest normal latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-normal-latin.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;
}
/* Onest normal cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Onest normal cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Onest normal latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Onest normal latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-normal-latin.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;
}
/* Onest normal cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Onest normal cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Onest normal latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Onest normal latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-normal-latin.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;
}
/* Onest normal cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Onest normal cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Onest normal latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Onest normal latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-normal-latin.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 {
  /* Светлые */
  --milk: #F8F3EA;      /* Молоко — основной фон */
  --paper: #FCF9F3;     /* Бумага — карточки */
  --linen: #EFE5D5;     /* Лён — второй фон */
  --sand: #E6D7C1;      /* Песок — линии, разделители */
  --blush: #F3E6DF;     /* Пудра — свадебное направление */

  /* Тёмные */
  --walnut: #2A201B;    /* Орех — текст и тёмные блоки */
  --walnut-2: #3D3029;
  --walnut-3: #1E1713;
  --taupe: #74635A;     /* Тауп — второстепенный текст */
  --forest: #1E3830;    /* Хвоя — национальное направление */
  --forest-2: #2A4B40;
  --forest-3: #13261F;
  --garnet: #6B2B2B;    /* Гранат — редкий акцент */

  /* Золото */
  --gold: #B8893F;      /* Золотная нить */
  --gold-2: #D9B771;    /* Блик */
  --gold-3: #ECD9A8;    /* Шёлк */
  --gold-ink: #7E5A22;  /* Золото для мелкого текста на светлом */

  --serif: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgba(42, 32, 27, .05), 0 30px 60px -36px rgba(42, 32, 27, .38);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--milk);
  color: var(--walnut);
  font: 400 17px/1.65 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-2); color: var(--walnut); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Бумажная фактура поверх всего сайта */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .12 0 0 0 0 .1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--walnut); color: var(--milk); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; font-weight: 500; }
p { margin: 0; }
em { font-style: italic; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 500; }
.accent, .gold-text { color: var(--gold); font-style: italic; }

.eyebrow { display: inline-block; font: 500 15px/1.4 var(--sans); color: var(--gold-ink); }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold-2); }
.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.7; color: var(--walnut-2); }
.muted { color: var(--taupe); }

/* ---------- Кнопки ---------- */
.btn {
  --btn-h: 56px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 600 15.5px/1.1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-gold {
  background: linear-gradient(135deg, #E9CD8E 0%, #D3AA5E 45%, #B8893F 100%);
  color: var(--walnut-3);
  box-shadow: 0 14px 30px -14px rgba(156, 111, 44, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { box-shadow: 0 20px 38px -14px rgba(156, 111, 44, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-dark { background: var(--walnut); color: var(--milk); box-shadow: 0 14px 30px -16px rgba(42, 32, 27, .7); }
.btn-dark svg { color: var(--gold-2); }
.btn-line { background: transparent; color: var(--walnut); box-shadow: inset 0 0 0 1.5px rgba(42, 32, 27, .28); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--walnut); }
.btn-line-light { background: transparent; color: var(--gold-3); box-shadow: inset 0 0 0 1.5px rgba(236, 217, 168, .4); }
.btn-line-light:hover { box-shadow: inset 0 0 0 1.5px var(--gold-3); }
.btn-sm { --btn-h: 46px; padding: 0 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--walnut);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Логотип ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; color: var(--gold); --mark-needle: var(--walnut); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font: 500 22px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { margin-top: 5px; font: 400 13px/1 var(--sans); color: var(--taupe); white-space: nowrap; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(248, 243, 234, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(42, 32, 27, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  padding: 6px 0;
  font: 500 15px/1 var(--sans);
  color: var(--walnut-2);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 7px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--walnut);
  color: var(--gold-3);
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); background: var(--forest); }
.icon-btn svg { width: 21px; height: 21px; }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  opacity: 0;
  transition: opacity .4s;
}
.is-scrolled .scroll-progress { opacity: 1; }

.burger { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1020px) {
  .nav, .header-phone { display: none; }
  .burger {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(42, 32, 27, .06);
    cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    content: "";
    display: block;
    width: 20px;
    height: 1.6px;
    border-radius: 2px;
    background: var(--walnut);
    transition: transform .45s var(--ease-out), opacity .3s;
  }
  .burger span { position: relative; }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after { position: absolute; top: 6px; width: 14px; }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger span::after { width: 20px; transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(217, 183, 113, .25), transparent 60%),
      var(--milk);
    clip-path: circle(0% at calc(100% - 40px) 38px);
    visibility: hidden;
    transition: clip-path .7s var(--ease-out), visibility 0s .7s;
    overflow-y: auto;
  }
  .menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .8s var(--ease-out); }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(42, 32, 27, .16);
    font: 400 clamp(30px, 8.4vw, 40px)/1.1 var(--serif);
    text-decoration: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s, transform .6s var(--ease-out);
  }
  .mobile-menu nav a small { font: 700 12px/1 var(--sans); color: var(--gold-ink); letter-spacing: .1em; }
  .menu-open .mobile-menu nav a { opacity: 1; transform: none; }
  .menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
  .menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
  .mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
  .mobile-menu-foot .btn { width: 100%; }
  .mobile-menu-foot p { margin-top: 8px; font-size: 14px; color: var(--taupe); text-align: center; }
}
@media (max-width: 420px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
  .header-actions .icon-btn.wa-head { display: none; }
}

/* ---------- Нить через всю страницу (десктоп) ---------- */
.page { position: relative; }
.page-thread {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  display: none;
}
.page-thread .t-path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; opacity: .75; }
.page-thread .t-needle { fill: none; stroke: var(--walnut-2); stroke-width: 1.4; stroke-linecap: round; }
.page-thread .t-eye { fill: var(--milk); stroke: var(--walnut-2); stroke-width: 1; }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  html.js .page-thread { display: block; }
}
.page > section, .page > .ticker { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) 0 clamp(56px, 9vh, 110px);
  background:
    radial-gradient(1000px 640px at 88% 18%, rgba(217, 183, 113, .22), transparent 62%),
    radial-gradient(800px 520px at -10% 100%, rgba(107, 43, 43, .07), transparent 60%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero-title { display: flex; flex-direction: column; gap: 22px; }
.hero-kicker { font: 500 18px/1.4 var(--sans); color: var(--gold-ink); }
.display {
  display: block;
  font: 400 clamp(50px, 7.4vw, 104px)/1 var(--serif);
  letter-spacing: -.03em;
}
.display em { font-weight: 400; }
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.display .line > span { display: inline-block; }
html.js .display .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease-out) forwards; }
html.js .display .line:nth-child(2) > span { animation-delay: .12s; }
html.js .display .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-lead { margin-top: 30px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--walnut-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }
html.js .fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease-out) forwards; animation-delay: var(--d, .4s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Сцена с аркой */
.stage { position: relative; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 4 / 5.25; }
.stage-orbit { position: absolute; inset: -7% -9%; width: 118%; height: 114%; overflow: visible; pointer-events: none; }
.stage-orbit .orb { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 7; opacity: .6; transform-origin: 50% 50%; animation: spin 80s linear infinite; }
.stage-orbit .orb-2 { stroke-dasharray: 1 10; opacity: .45; animation-duration: 120s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.arch {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 30px 30px;
  background-color: var(--blush);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .35), 0 50px 90px -46px rgba(42, 32, 27, .55);
  overflow: hidden;
  transition: background-color 1.1s var(--ease);
}
.arch::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border-radius: 999px 999px 20px 20px;
  border: 1px solid rgba(184, 137, 63, .5);
  pointer-events: none;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 45% at 50% 30%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(60% 30% at 50% 100%, rgba(42, 32, 27, .12), transparent 70%);
  pointer-events: none;
  transition: opacity 1s;
}
.stage[data-v="forest"] .arch { background-color: var(--forest); }
.stage[data-v="forest"] .arch::after { opacity: .25; }
.stage[data-v="sand"] .arch { background-color: #EADCC8; }
.stage-art {
  position: absolute;
  inset: 9% 10% 21%;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease-out);
}
.stage-art.is-active { opacity: 1; transform: none; }
.stage-art .art { width: 100%; height: 100%; }
.stage-cap {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--walnut);
  transition: color 1s;
}
.stage[data-v="forest"] .stage-cap { color: var(--gold-3); }
.stage-cap-text { font: 500 15px/1.2 var(--sans); min-height: 18px; }
.stage-dots { display: flex; gap: 8px; }
.stage-dots button {
  width: 26px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.stage-dots button::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .25;
}
.stage-dots button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.stage-dots button.is-active::after { animation: dotfill var(--slide, 5.5s) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.stage-needle {
  position: absolute;
  z-index: 4;
  top: 6%;
  right: -4%;
  width: 92px;
  height: 92px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(4deg); } }
.stage-badge {
  position: absolute;
  z-index: 4;
  left: -6%;
  bottom: 18%;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--walnut);
  color: var(--gold-3);
  box-shadow: 0 20px 40px -18px rgba(42, 32, 27, .7);
}
.stage-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stage-badge text { font: 700 9.6px var(--sans); letter-spacing: .26em; text-transform: uppercase; fill: var(--gold-3); }
.stage-badge-core { width: 42px; height: 42px; color: var(--gold-2); --mark-needle: var(--gold-3); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 700 10.5px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
}
.scroll-hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 920px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .stage { max-width: 380px; }
  .scroll-hint { display: none; }
}
@media (max-width: 760px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-title { order: 1; }
  .hero .stage { order: 2; margin-top: 44px; margin-bottom: 18px; }
  .hero-lead { order: 3; margin-top: 40px; }
  .hero .hero-cta { order: 4; }
  .hero-trust { order: 5; }
}
@media (max-width: 560px) {
  .hero-kicker { font-size: 16px; }
  .display { font-size: clamp(44px, 12.6vw, 60px); }
  .hero-title { gap: 18px; }
  .hero-lead { margin-top: 22px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { gap: 10px 20px; margin-top: 28px; font-size: 14px; }
  .stage { max-width: 320px; }
  .stage-needle { width: 70px; height: 70px; right: -2%; }
  .stage-badge { width: 92px; height: 92px; left: -3%; }
  .stage-badge text { font-size: 9px; }
  .stage-badge-core { width: 34px; height: 34px; }
  .stage-cap { bottom: 22px; gap: 10px; }
  .stage-art { inset: 8% 12% 27%; }
  .stage-cap-text { font-size: 14px; }
}

/* ---------- Бегущая строка ---------- */
.ticker {
  background: var(--walnut);
  color: var(--gold-3);
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid rgba(217, 183, 113, .25);
}
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-item { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font: italic 500 clamp(22px, 2.4vw, 30px)/1 var(--serif); white-space: nowrap; }
.ticker-item::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(184, 137, 63, .18); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(84px, 11vw, 160px); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 64px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { margin-top: 18px; }
.section-head .lead { max-width: 30em; }
.section-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Появление при скролле */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- SVG-иллюстрации одежды ---------- */
.art { display: block; overflow: visible; }
.v-blush { --art-bg: #F3E6DF; --art-line: #3D3029; --art-gold: #B8893F; --art-f1: #FFFDF9; --art-f2: #F0E2D9; --art-f3: #E5D0C2; --art-dk: #3D3029; --art-tape: #E2C27D; }
.v-forest { --art-bg: #1E3830; --art-line: #D9B771; --art-gold: #ECD9A8; --art-f1: #132520; --art-f2: #EFE7D6; --art-f3: #284A3F; --art-dk: #2A201B; --art-tape: #E2C27D; }
.v-sand { --art-bg: #EADCC8; --art-line: #3D3029; --art-gold: #A8792F; --art-f1: #CDAB88; --art-f2: #FCF8F1; --art-f3: #B8916E; --art-dk: #3D3029; --art-tape: #E8CB86; }
.a-l { fill: none; stroke: var(--art-line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-t { fill: none; stroke: var(--art-line); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.a-g { fill: none; stroke: var(--art-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-st { fill: none; stroke: var(--art-gold); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2.4 3.4; }
.a-f1 { fill: var(--art-f1); }
.a-f2 { fill: var(--art-f2); }
.a-f3 { fill: var(--art-f3); }
.a-gf { fill: var(--art-gold); }
.a-dk { fill: var(--art-dk); }
.a-tape { fill: none; stroke: var(--art-tape); stroke-width: 6.5; stroke-linecap: butt; stroke-linejoin: round; }
.a-tick { fill: none; stroke: #3D3029; stroke-width: 3.6; stroke-dasharray: .8 3.4; opacity: .55; }
.a-shadow { fill: rgba(42, 32, 27, .1); }
.v-forest .a-shadow { fill: rgba(0, 0, 0, .25); }
.a-spark { fill: var(--art-gold); transform-box: fill-box; transform-origin: center; }

html.js .art .art-lines > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease) calc(var(--i, 0) * 40ms); }
html.js .art .art-fill { opacity: 0; transition: opacity 1.3s ease .8s; }
html.js .art .art-gold { opacity: 0; transition: opacity 1s ease 1.5s; }
html.js .is-in .art .art-lines > *, html.js .is-in.art .art-lines > * { stroke-dashoffset: 0; }
html.js .is-in .art .art-fill, html.js .is-in .art .art-gold { opacity: 1; }
.is-in .art .a-spark { animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(2s + var(--s, 0s)); }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.4); opacity: .4; } }
.no-tr, .no-tr * { transition: none !important; }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1400px; }
.svc-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  will-change: transform;
}
.svc-card:hover { box-shadow: 0 1px 0 rgba(42, 32, 27, .05), 0 40px 70px -36px rgba(42, 32, 27, .5); }
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
  mix-blend-mode: soft-light;
}
.svc-card:hover::after { opacity: 1; }
.svc-art {
  position: relative;
  aspect-ratio: 1 / 1.02;
  display: grid;
  place-items: center;
  background: var(--art-bg);
  overflow: hidden;
}
.svc-art::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 999px 999px 16px 16px;
  border: 1px solid rgba(184, 137, 63, .45);
  pointer-events: none;
}
.svc-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 35%, rgba(255, 255, 255, .45), transparent 70%);
  pointer-events: none;
}
.v-forest.svc-art::after { background: radial-gradient(60% 45% at 50% 35%, rgba(217, 183, 113, .14), transparent 70%); }
.svc-art .art { position: relative; z-index: 1; width: 74%; height: auto; transition: transform 1s var(--ease-out); }
.svc-card:hover .svc-art .art { transform: translateY(-8px) scale(1.035); }
.svc-num { position: absolute; z-index: 2; left: 28px; top: 26px; font: italic 500 22px/1 var(--serif); color: var(--gold-ink); }
.v-forest .svc-num { color: var(--gold-2); }
.svc-tag {
  position: absolute;
  z-index: 2;
  right: 22px;
  top: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  font: 700 11px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(252, 249, 243, .82);
  color: var(--walnut);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.v-forest .svc-tag { background: rgba(236, 217, 168, .14); color: var(--gold-3); }
.svc-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 30px clamp(22px, 2.2vw, 32px) 32px; }
.svc-body h3 a { text-decoration: none; }
.svc-body h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-body > p { color: var(--walnut-2); font-size: 16.5px; }
.check-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--walnut-2); }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 15px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 6px);
}
.svc-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: auto; padding-top: 14px; }
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: 1fr; gap: 22px; }
  .svc-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .svc-art { aspect-ratio: auto; min-height: 100%; }
  .svc-art .art { width: 70%; max-height: 420px; }
}
@media (max-width: 680px) {
  .svc-card { display: flex; }
  .svc-art { aspect-ratio: 1 / .92; min-height: 0; }
  .svc-art .art { width: 64%; }
}

/* ---------- Наследие / название ---------- */
.heritage { position: relative; background: var(--forest); color: #EAE1CE; overflow: hidden; }
.heritage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 15% 30%, rgba(217, 183, 113, .14), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(0, 0, 0, .25), transparent 60%);
  pointer-events: none;
}
.ornament-band { position: relative; height: 34px; color: var(--gold); opacity: .8; }
.ornament-band svg { width: 100%; height: 100%; }
.heritage-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.medallion { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1; }
.medallion svg { width: 100%; height: 100%; overflow: visible; }
.medallion .m-l { fill: none; stroke: var(--gold-2); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.medallion .m-t { fill: none; stroke: var(--gold-2); stroke-width: .7; opacity: .55; }
.medallion .m-st { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 5; }
.medallion .m-f { fill: var(--gold-2); }
.medallion .m-rot { transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.medallion .m-rot-r { transform-origin: 200px 200px; animation: spin 140s linear infinite reverse; }
html.js .medallion .m-draw > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease) calc(var(--i, 0) * 60ms); }
html.js .medallion.is-in .m-draw > * { stroke-dashoffset: 0; }
.medallion .medallion-mark { position: absolute; left: 37%; top: 37%; width: 26%; height: 26%; color: var(--gold-2); --mark-needle: var(--gold-3); }
.heritage h2 { color: #F4ECDB; margin-top: 18px; }
.heritage .lead { color: rgba(234, 225, 206, .86); margin-top: 26px; }
.heritage .lead + .lead { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(56px, 7vw, 96px); background: rgba(217, 183, 113, .22); border-radius: var(--r-md); overflow: hidden; position: relative; }
.value { padding: 32px clamp(20px, 2.6vw, 36px); background: var(--forest); }
.value-ico { width: 44px; height: 44px; color: var(--gold-2); margin-bottom: 18px; }
.value h3 { font-size: clamp(22px, 1.9vw, 26px); color: #F4ECDB; }
.value p { margin-top: 10px; font-size: 15.5px; color: rgba(234, 225, 206, .78); }
@media (max-width: 920px) {
  .heritage-grid { grid-template-columns: 1fr; }
  .medallion { max-width: 340px; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Процесс ---------- */
.steps { --gap: clamp(20px, 3vw, 40px); position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.steps-line {
  position: absolute;
  top: 38px;
  left: 39px;
  right: calc((100% - 3 * var(--gap)) / 4 - 39px);
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
html.js .steps-line { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease) .3s; }
html.js .is-in .steps-line { clip-path: inset(0 0 0 0); }
.step { position: relative; z-index: 1; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .55), 0 0 0 8px var(--milk);
  font: 400 26px/1 var(--serif);
  color: var(--gold-ink);
}
.step-num::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(184, 137, 63, .5); }
.step h3 { font-size: clamp(23px, 2vw, 27px); }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--walnut-2); max-width: 22em; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps-line { display: none; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 22px; }
  .step::before { content: ""; position: absolute; left: 31px; top: 70px; bottom: -30px; width: 1px; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 11px); }
  .step:last-child::before { display: none; }
  .step-num { width: 64px; height: 64px; margin: 0; font-size: 22px; grid-row: span 2; }
  .step h3 { padding-top: 12px; }
}

/* ---------- География ---------- */
.geo { background: var(--linen); overflow: hidden; }
.geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.geo h2 { margin-top: 18px; }
.geo .lead { margin-top: 24px; }
.geo .lead + .lead { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  color: var(--walnut-2);
  box-shadow: inset 0 0 0 1px rgba(42, 32, 27, .08);
}
.chips li.is-home { background: var(--walnut); color: var(--gold-3); box-shadow: none; }
.map-card { position: relative; padding: clamp(16px, 2vw, 26px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.map-card svg { width: 100%; height: auto; overflow: visible; }
.map .mt { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-dasharray: 3 5; }
html.js .map .mt { stroke-dasharray: 3 5; stroke-dashoffset: 300; opacity: 0; transition: opacity .6s, stroke-dashoffset 2.6s var(--ease); transition-delay: calc(.3s + var(--i, 0) * .15s); }
html.js .is-in .map .mt { stroke-dashoffset: 0; opacity: 1; }
.map .mountains { fill: none; stroke: var(--walnut-2); stroke-width: 1.1; stroke-linejoin: round; opacity: .35; }
.map .mountains-fill { fill: var(--linen); opacity: .7; }
.map .river { fill: none; stroke: #9DB2AA; stroke-width: 1.2; opacity: .6; }
.map .dot { fill: var(--walnut-2); }
.map .home { fill: var(--gold); }
.map .pulse { fill: none; stroke: var(--gold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.map .pulse-2 { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map text { font: 500 12.5px var(--sans); fill: var(--walnut-2); }
.map .home-label { font: 500 18px var(--serif); fill: var(--walnut); }
.map .map-note { font: 700 9px var(--sans); letter-spacing: .2em; fill: var(--taupe); }
@media (max-width: 920px) { .geo-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin-inline: auto; border-top: 1px solid rgba(42, 32, 27, .12); }
.faq-item { border-bottom: 1px solid rgba(42, 32, 27, .12); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font: 500 clamp(19px, 1.8vw, 23px)/1.3 var(--serif);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .6); transition: background-color .3s, transform .5s var(--ease-out); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--walnut); transform: translate(-50%, -50%); transition: transform .45s var(--ease-out); }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--gold-3); transform: rotate(180deg); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item summary:hover .faq-ico { background: rgba(236, 217, 168, .5); }
.faq-a { padding: 0 64px 28px 0; color: var(--walnut-2); font-size: 16.5px; }
.faq-a p + p { margin-top: 10px; }
.faq-item[open] .faq-a { animation: fadeUp .5s var(--ease-out); }
@media (max-width: 560px) { .faq-a { padding-right: 0; } .faq-item summary { padding: 22px 0; } }

/* ---------- Контакты ---------- */
.contact { padding-bottom: clamp(60px, 8vw, 110px); }
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(217, 183, 113, .2), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(107, 43, 43, .35), transparent 60%),
    var(--walnut);
  color: #EFE6D6;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: clamp(16px, 2.4vw, 30px);
  border: 1px dashed rgba(217, 183, 113, .32);
  pointer-events: none;
}
.contact h2 { color: #F7F0E2; margin-top: 18px; }
.contact .lead { color: rgba(239, 230, 214, .82); margin-top: 20px; }
.contact-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-list .ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(236, 217, 168, .1); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(236, 217, 168, .25); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; margin-bottom: 2px; font-size: 14px; color: rgba(236, 217, 168, .72); }
.contact-list a, .contact-list span.v { font: 500 clamp(19px, 1.8vw, 22px)/1.3 var(--sans); color: #F7F0E2; text-decoration: none; }
.contact-list .phone-big { font: 600 clamp(26px, 2.6vw, 34px)/1.15 var(--sans); letter-spacing: .01em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.contact-list a:hover { color: var(--gold-2); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.order-form {
  position: relative;
  align-self: start;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--walnut);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.order-form h3 { font-size: clamp(24px, 2.2vw, 30px); }
.order-form > p { margin-top: 8px; font-size: 15px; color: var(--taupe); }
.field { display: grid; gap: 8px; margin-top: 24px; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--walnut-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--milk);
  box-shadow: inset 0 0 0 1px rgba(42, 32, 27, .12);
  font-size: 16px;
  transition: box-shadow .25s, background-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237E5A22' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.chip-select legend { margin-bottom: 10px; padding: 0; font-size: 14.5px; font-weight: 500; color: var(--walnut-2); }
.chip-select label { position: relative; cursor: pointer; }
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select span {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--milk);
  box-shadow: inset 0 0 0 1px rgba(42, 32, 27, .14);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.chip-select input:checked + span { background: var(--walnut); color: var(--gold-3); box-shadow: none; }
.chip-select input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.order-form .btn { width: 100%; margin-top: 22px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--taupe); text-align: center; }

.map-embed {
  position: relative;
  margin-top: clamp(16px, 2vw, 24px);
  height: clamp(320px, 42vw, 460px);
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: var(--linen);
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.85); }
.map-embed-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(42, 32, 27, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(42, 32, 27, .05) 39px 40px),
    var(--linen);
  font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif);
}
.map-embed-btn small { font: 600 14px var(--sans); color: var(--taupe); }
.map-embed-btn .pin { width: 54px; height: 54px; margin-inline: auto; color: var(--gold); animation: float 4s ease-in-out infinite; }
@media (max-width: 920px) { .contact-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .contact-btns .btn { flex: 1 1 100%; }
  .contact-panel::before { inset: 8px; }
}

/* ---------- Подвал ---------- */
.site-footer { position: relative; z-index: 1; padding: clamp(56px, 7vw, 90px) 0 calc(30px + env(safe-area-inset-bottom)); background: var(--walnut-3); color: rgba(239, 230, 214, .72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #F4ECDB; }
.site-footer .brand-mark { color: var(--gold-2); --mark-needle: var(--gold-3); }
.site-footer .brand-sub { color: rgba(236, 217, 168, .6); }
.site-footer h4 { margin-bottom: 16px; font: 400 20px/1.2 var(--serif); color: var(--gold-2); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold-3); }
.footer-about { margin-top: 20px; max-width: 26em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px dashed rgba(236, 217, 168, .2); font-size: 13px; color: rgba(239, 230, 214, .5); }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Мобильная панель связи ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(42, 32, 27, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(140%);
    transition: transform .6s var(--ease-out);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { --btn-h: 50px; padding: 0 14px; font-size: 14.5px; }
  .dock .btn-line-light { color: var(--gold-3); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .menu-open .dock { transform: translateY(140%); }
}

/* ==========================================================================
   Страницы услуг
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(24px, 5vw, 56px)) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(217, 183, 113, .2), transparent 60%);
  overflow: hidden;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 clamp(26px, 4vw, 44px); padding: 0; list-style: none; font-size: 14.5px; color: var(--taupe); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--walnut); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -.025em; }
.page-hero .lead { margin-top: 26px; max-width: 34em; }
.page-hero .hero-cta { margin-top: 32px; }
.page-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 30px 30px;
  background: var(--art-bg);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .35), 0 50px 90px -46px rgba(42, 32, 27, .55);
}
.page-art::before { content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 20px 20px; border: 1px solid rgba(184, 137, 63, .5); }
.page-art .art { width: 72%; height: auto; }
@media (max-width: 920px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-art { max-width: 340px; }
}
@media (max-width: 560px) { .page-hero .hero-cta .btn { flex: 1 1 100%; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.feature {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.feature .value-ico { color: var(--gold); }
.feature h3 { font-size: clamp(22px, 1.9vw, 26px); }
.feature p { margin-top: 10px; font-size: 15.5px; color: var(--walnut-2); }
@media (max-width: 920px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.prose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.prose h3 { margin-top: 36px; font-size: clamp(23px, 2vw, 28px); }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-top: 16px; color: var(--walnut-2); font-size: 17px; }
.prose ul { margin: 16px 0 0; }
.prose .check-list { font-size: 16.5px; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
@media (max-width: 920px) { .prose-grid { grid-template-columns: 1fr; } .sticky-col { position: static; } }

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 64px);
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(217, 183, 113, .22), transparent 60%),
    var(--walnut);
  color: #F4ECDB;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 12px; border-radius: clamp(16px, 2.4vw, 30px); border: 1px dashed rgba(217, 183, 113, .32); pointer-events: none; }
.cta-band h2 { font-size: clamp(32px, 4vw, 54px); max-width: 14em; }
.cta-band p { margin-top: 12px; color: rgba(239, 230, 214, .8); }
.cta-band .hero-cta { margin: 0; position: relative; }
.v-forest-page .cta-band { background: radial-gradient(600px 400px at 100% 0%, rgba(217, 183, 113, .2), transparent 60%), var(--forest); }
@media (max-width: 560px) { .cta-band .hero-cta .btn { flex: 1 1 100%; } }

.other-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .5s var(--ease-out);
}
.other-card:hover { transform: translateY(-4px); }
.other-card .thumb { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: var(--art-bg); }
.other-card .thumb .art { width: 66%; }
.other-card h3 { font-size: clamp(21px, 1.9vw, 25px); }
.other-card p { margin-top: 6px; font-size: 14.5px; color: var(--taupe); }
@media (max-width: 760px) { .other-svc { grid-template-columns: 1fr; } .other-card { grid-template-columns: 96px 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf h1 { font-size: clamp(90px, 18vw, 200px); }
.nf p { margin: 14px auto 30px; max-width: 26em; }

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