/* ШРИФТЫ НА СВОЁМ ДОМЕНЕ (ТЗ п.63).
   Было: две таблицы стилей с fonts.googleapis.com, обе блокируют отрисовку.
   Замер Lighthouse: каждая занимала ~390 мс, из-за них FCP уезжал на 2,9 с.
   Стало: файлы рядом с сайтом, сторонних запросов на первом экране нет.
   Побочно упрощается CSP — из политики уходят два внешних источника,
   и Google перестаёт получать IP каждого посетителя.
   Взяты только кириллица и латиница: греческого и вьетнамского на сайте нет. */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsK8ah8QA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsD8ah8QA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsK8ah8QA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsD8ah8QA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsK8ah8QA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsD8ah8QA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsK8ah8QA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsD8ah8QA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszacvGHE.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8Oacsz-cvGHE.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszWcvGHE.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszucvA.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszacvGHE.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8Oacsz-cvGHE.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszWcvGHE.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/XoH62YHtS7q969kXCjzlV0aSkS_o8OacszucvA.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;
}


/* ZOLO GROUP — стили внутренних страниц (кейсы и разделы).
   Отдельный файл, а не инлайн: страниц много, правка должна быть в одном месте (ТЗ п.26). */

:root{
  --bg:#0c1810; --bg2:#13241a;
  --gold:#e8c547; --cream:#f3efe2; --muted:#9eb3a4;
  --hair:rgba(243,239,226,.12);
  --r:3px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--bg); color:var(--cream);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
/* ТЗ п.25: картинки отдаются через <picture> + WebP-srcset.
   display:contents убирает бокс самого <picture>, чтобы <img> остался прямым
   участником родительской раскладки — иначе поедут grid и flex-контейнеры. */
picture{display:contents}

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

.skip-link{position:absolute;left:-9999px;top:0;z-index:1200;padding:12px 20px;background:var(--gold);color:#10200f;font-size:14px;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* ---------- шапка ---------- */
.ihead{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:18px clamp(16px,4vw,56px);
  background:rgba(12,24,16,.9);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hair);
}
.ilogo{font-family:'Inter Tight',sans-serif;font-weight:700;letter-spacing:.14em;font-size:17px}
.ilogo span{color:var(--gold);margin-left:6px}
.inav{display:flex;align-items:center;gap:clamp(12px,2vw,30px);flex-wrap:wrap}
.inav a{font-size:13px;letter-spacing:.06em;color:var(--muted);transition:color .3s}
.inav a:hover{color:var(--cream)}
.inav-cta{
  border:1px solid var(--gold);color:var(--gold)!important;
  padding:10px 20px;border-radius:var(--r);
  text-transform:uppercase;font-size:12px;letter-spacing:.09em;
  min-height:44px;display:inline-flex;align-items:center;
}
.inav-cta:hover{background:var(--gold);color:#10200f!important}

/* ---------- крошки ---------- */
.crumbs{
  max-width:1100px;margin:0 auto;
  padding:26px clamp(16px,4vw,56px) 0;
  font-size:13px;color:var(--muted);
}
.crumbs a:hover{color:var(--gold)}
.crumbs span[aria-hidden]{opacity:.45;margin:0 4px}

/* ---------- кейс ---------- */
.case{max-width:1100px;margin:0 auto;padding:clamp(26px,5vw,54px) clamp(16px,4vw,56px) clamp(60px,9vw,110px)}
.ctag{
  display:inline-block;font-size:12px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--gold);border:1px solid rgba(232,197,71,.32);
  padding:6px 14px;border-radius:var(--r);margin-bottom:22px;
}
.case h1{
  font-family:'Inter Tight',sans-serif;
  font-size:clamp(28px,4.6vw,58px);line-height:1.1;font-weight:600;letter-spacing:-.01em;
  max-width:20ch;
}
.cmeta{margin-top:14px;color:var(--muted);font-size:clamp(16px,1.3vw,17px)}  /* ТЗ п.29 */

.cblock{margin-top:clamp(38px,6vw,72px)}
.cblock h2{
  font-family:'Inter Tight',sans-serif;
  font-size:clamp(18px,2vw,26px);font-weight:600;
  padding-bottom:14px;border-bottom:1px solid var(--hair);margin-bottom:24px;
}
.clist{list-style:none;display:grid;gap:13px;max-width:74ch}
.clist li{position:relative;padding-left:26px;font-size:16px;color:rgba(243,239,226,.9)}  /* ТЗ п.29 */
.clist li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:8px;height:8px;transform:rotate(45deg);
  border:1px solid var(--gold);
}

.ctext{max-width:74ch;display:grid;gap:16px;color:rgba(243,239,226,.9)}
.ctext p{font-size:clamp(16px,1.2vw,17px)}   /* ТЗ п.29: базовый текст от 16px */

/* обязательный защитный текст о границах объёма работ (ТЗ 3.4, обязательный защитный текст) */
.scope-note{
  max-width:82ch;margin-top:28px;padding-top:16px;
  border-top:1px solid var(--hair);
  font-size:12.5px;line-height:1.65;color:var(--muted);
}

/* спецификация проекта — раскомментируется, когда заказчик передаст реестр (ТЗ п.70) */
.spec{display:grid;grid-template-columns:auto 1fr;gap:10px 28px;max-width:640px;margin-top:26px}
.spec dt{color:var(--muted);font-size:13px;letter-spacing:.05em}
.spec dd{font-size:15px}

.cimgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}
.cimgs figure{border:1px solid var(--hair);border-radius:var(--r);overflow:hidden;background:var(--bg2)}
.cimgs img{width:100%;aspect-ratio:16/10;object-fit:cover}
.cimgs figcaption{padding:12px 16px;font-size:12.5px;color:var(--muted)}

/* ---------- CTA кейса (ТЗ п.42) ---------- */
.ccta{
  margin-top:clamp(44px,7vw,86px);
  padding:clamp(28px,4vw,48px);
  border:1px solid rgba(232,197,71,.24);border-radius:var(--r);
  background:linear-gradient(180deg,rgba(232,197,71,.05),rgba(232,197,71,0));
  text-align:center;
}
.ccta h2{font-family:'Inter Tight',sans-serif;font-size:clamp(20px,2.4vw,30px);font-weight:600;margin-bottom:22px}
.btn-gold{
  background:var(--gold);color:#10200f;
  padding:16px 36px;border-radius:var(--r);
  font-weight:600;letter-spacing:.08em;font-size:13px;text-transform:uppercase;
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  transition:background .35s;
}
.btn-gold:hover{background:var(--cream)}

/* ---------- связанные проекты (ТЗ п.42) ---------- */
.rel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.rel-card{
  display:grid;gap:7px;padding:22px;
  border:1px solid var(--hair);border-radius:var(--r);
  background:var(--bg2);transition:border-color .35s,transform .35s;
}
.rel-card:hover{border-color:rgba(232,197,71,.45);transform:translateY(-3px)}
.rel-tag{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.rel-t{font-family:'Inter Tight',sans-serif;font-size:19px;font-weight:600}
.rel-m{font-size:13px;color:var(--muted)}

/* ---------- подвал ---------- */
.ifoot{
  border-top:1px solid var(--hair);
  padding:30px clamp(16px,4vw,56px);
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;
  font-size:13px;color:var(--muted);
}
.ifoot a:hover{color:var(--gold)}

/* ---------- 404 ---------- */
.nf{max-width:680px;margin:0 auto;padding:clamp(70px,14vh,150px) clamp(16px,4vw,56px);text-align:center}
.nf h1{font-family:'Inter Tight',sans-serif;font-size:clamp(40px,9vw,96px);line-height:1;color:var(--gold);margin-bottom:18px}
.nf p{color:var(--muted);margin-bottom:32px}

@media(max-width:640px){
  .ihead{flex-direction:column;align-items:flex-start;gap:14px}
  .inav{gap:14px}
  .case h1{max-width:none}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}


/* ===== БЕЙДЖ СТАДИИ ПРОЕКТА (ТЗ п.39, п.41) =====
   ТЗ п.39 задаёт единый словарь стадий, п.41 требует обозначать стадию
   «визуально и текстово». Механика готова целиком: подпись и цвет берутся
   из атрибута data-stage у <article class="case">.

   ЧТОБЫ ВКЛЮЧИТЬ на конкретном кейсе — вписать код стадии в data-stage:
       <article class="case" data-stage="build">
   Пустой data-stage="" ничего не рисует, поэтому неподтверждённые проекты
   остаются без бейджа, а не получают выдуманную стадию.

   Коды и подписи — дословно из словаря ТЗ, без сокращений и синонимов. */
.case[data-stage]:not([data-stage=""])::before{
  /* content здесь НЕ задаём. Этот селектор с :not() весит больше конкретных
     .case[data-stage="build"], и любое content отсюда перебивало бы их подписи —
     проверено в браузере: цвет менялся, а текст оставался пустым. */
  display:inline-flex;align-items:center;gap:8px;
  margin-bottom:14px;padding:7px 14px;border-radius:999px;
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  border:1px solid currentColor;
}
/* Ранние стадии — приглушённые, поздние — золотом. Так по одному взгляду видно,
   проект в работе или уже действует (ТЗ п.41 «обозначать визуально»). */
.case[data-stage="research"]::before {content:"Исследование";        color:var(--muted)}
.case[data-stage="concept"]::before  {content:"Концепция";           color:var(--muted)}
.case[data-stage="sketch"]::before   {content:"Эскизный проект";     color:var(--muted)}
.case[data-stage="docs"]::before     {content:"Рабочая документация";color:#c9b98a}
.case[data-stage="build"]::before    {content:"Строительство";       color:var(--gold)}
.case[data-stage="launched"]::before {content:"Запущен";             color:var(--gold)}
.case[data-stage="operating"]::before{content:"В управлении";        color:var(--gold)}

/* Подпись под визуалом (ТЗ п.45): проект, география, год, стадия, роль ZOLO. */
.fig-meta{display:block;margin-top:6px;font-size:12px;color:var(--muted);letter-spacing:.04em}

/* отступ вместо инлайн-стиля: CSP запрещает style="..." (ТЗ п.61) */
.ctext-gap{margin-top:18px}


/* ===== ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ (ТЗ п.54, п.55) =====
   ТЗ п.55 отдельно оговаривает: «Не делать язык только через cookie или жёсткий
   IP-редирект». Поэтому это обычные ссылки на /ru/, /kk/, /en/ — их видит
   поисковик, их можно скопировать и отправить, они работают без JavaScript. */
.lang-switch{display:inline-flex;align-items:center;gap:2px;flex-shrink:0}
.lang-switch a,.lang-switch .lang-cur{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;min-height:44px;padding:0 8px;
  font-size:12px;letter-spacing:.08em;line-height:1;
  border-radius:var(--r);transition:color .3s,background .3s}
.lang-switch a{color:var(--muted)}
.lang-switch a:hover{color:var(--gold)}
/* текущий язык — не ссылка: незачем вести на страницу, где человек уже находится */
.lang-switch .lang-cur{color:var(--gold);background:rgba(232,197,71,.1);font-weight:600}
@media(max-width:1200px){
  /* в бургер-меню переключатель разворачивается в строку по центру */
  .inav .lang-switch{position:fixed;left:50%;transform:translateX(-50%);
    bottom:max(96px,calc(env(safe-area-inset-bottom) + 96px));z-index:1002}
  nav:not(.open) .lang-switch{display:none}
}

/* ============================================================
   ПРАВОВАЯ СТРАНИЦА (privacy.html)
   Отдельного шаблона под сплошной текст в проекте не было: внутренние
   страницы построены на карточках и таблицах характеристик. Здесь нужен
   читаемый длинный текст, поэтому колонка ограничена ~68 знаками
   (ТЗ п.29: базовый текст от 16px).

   ШИРИНА ЗАДАНА В ПИКСЕЛЯХ, А НЕ В ch. Единица ch считается от СОБСТВЕННОГО
   кегля элемента: на заголовке в 44px «max-width:var(--legal-w)» давало около 1900px,
   то есть не ограничивало вообще, и h1 растягивался во всю ширину, пока
   абзацы стояли в колонке. Общая величина в px держит все элементы страницы
   на одной левой границе независимо от размера шрифта.
   ============================================================ */
:root{--legal-w:686px}   /* ≈68 знаков при базовых 16px */
.legal-draft{
  max-width:var(--legal-w);margin:26px auto 0;padding:14px 18px;
  border:1px solid var(--gold);border-left-width:3px;border-radius:var(--r);
  background:rgba(232,197,71,.08);
  font-size:14px;line-height:1.6;color:var(--cream)}
.legal-draft strong{color:var(--gold)}

#main>h1{
  max-width:var(--legal-w);margin:30px auto 0;
  font-family:'Inter Tight',sans-serif;font-weight:600;
  font-size:clamp(28px,4.2vw,44px);line-height:1.15;text-wrap:balance}
.legal-meta{
  max-width:var(--legal-w);margin:10px auto 0;
  font-size:13px;color:var(--muted)}

#main>h2{
  max-width:var(--legal-w);margin:38px auto 0;
  font-family:'Inter Tight',sans-serif;font-weight:600;
  font-size:clamp(19px,2.2vw,23px);line-height:1.25;color:var(--gold);
  text-wrap:balance}
#main>h3{
  max-width:var(--legal-w);margin:24px auto 0;
  font-weight:600;font-size:16.5px;line-height:1.35}
#main>p{max-width:var(--legal-w);margin:12px auto 0;font-size:16px;line-height:1.7}
#main>ul{max-width:var(--legal-w);margin:12px auto 0;padding-left:22px}
#main>ul li{margin-top:7px;font-size:16px;line-height:1.7}
#main>ul li::marker{color:var(--gold)}
#main>p a,#main>ul a{color:var(--gold);text-decoration:underline;
  text-underline-offset:3px;text-decoration-thickness:1px}
#main>p code,#main>ul code{
  padding:1px 5px;border-radius:var(--r);
  background:rgba(243,239,226,.08);
  font-family:ui-monospace,'SFMono-Regular',Menlo,monospace;font-size:.9em}

/* Незаполненные места. Намеренно кричащие: документ уйдёт юристу и вернётся,
   и ни одна плашка не должна доехать до публикации незамеченной. */
.todo{
  display:inline-block;padding:1px 7px;margin-right:6px;
  border-radius:var(--r);
  background:#e8c547;color:#10200f;
  font-size:11.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;vertical-align:baseline}
.todo-block{
  max-width:var(--legal-w);margin:12px auto 0;padding:13px 16px;
  border:1px dashed var(--gold);border-radius:var(--r);
  background:rgba(232,197,71,.06);
  font-size:14.5px;line-height:1.6;color:var(--muted)}
.todo-block strong{color:var(--cream)}

@media(max-width:760px){
  .legal-draft,#main>h1,#main>h2,#main>h3,#main>p,#main>ul,
  .legal-meta,.todo-block{padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right))}
  #main>ul{padding-left:38px}
}

/* ============================================================
   ЗАГОЛОВКИ ВНУТРЕННИХ СТРАНИЦ — MONTSERRAT EXTRABOLD
   Внутренние страницы подключают inner.css, а не main.css, поэтому
   объявления шрифта нужно повторить здесь. Иначе на главной заголовки
   были бы Montserrat, а на страницах кейсов, услуг и контактов —
   по-прежнему Inter Tight, и сайт разъехался бы по типографике.
   Файлы шрифта те же самые, повторно не скачиваются.
   ============================================================ */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;
  src:url(fonts/montserrat-800-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;
  src:url(fonts/montserrat-800-cyrillic-ext.woff2) format('woff2');
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;
  src:url(fonts/montserrat-800-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}

.case h1,.cblock h2,.ccta h2,.nf h1,#main>h1,#main>h2,#main>h3{
  font-family:'Montserrat','Inter Tight',sans-serif;font-weight:800}
/* .rel-t — подпись связанного кейса, 19px: оставляем 600, как мелкие
   плашки на главной. Логотип .ilogo тоже не трогаем. */
