@charset "UTF-8";
/* ==========================================================================
   base.css — сброс, шрифты, дизайн-токены, типографика
   Проект: ТрансКТП (вёрстка под CMS «Азот»)
   ========================================================================== */

/* --------------------------------------------------------------------------
   @font-face — TikTok Sans (variable, 300..900), локальные woff2
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/tiktok-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/tiktok-sans-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: 'TikTok Sans';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/tiktok-sans-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;
}
@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/tiktok-sans-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-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Токены
   -------------------------------------------------------------------------- */
:root {
  /* палитра */
  --c-primary:        #0038a1; /* основной синий: кнопки, заголовки блоков */
  --c-primary-hover:  #3d80ff;
  --c-accent:         #0194ff; /* яркий синий: CTA, ссылки в подвале */
  --c-accent-hover:   #0111ff;
  --c-accent-2:       #0099ff;
  --c-heading:        #00379e; /* синий заголовка первого экрана */
  --c-navy:           #053a76; /* фон подвала */
  --c-navy-deep:      #011e3f;
  --c-coral:          #ff8562; /* иконки мессенджеров */

  --c-text:           #000000;
  --c-text-soft:      #323232;
  --c-text-muted:     #888888;
  --c-text-dim:       #6f6f6f;
  --c-text-light:     #e2e2e2;
  --c-white:          #ffffff;

  --c-bg:             #ffffff;
  --c-bg-alt:         #f7f7f7;
  --c-bg-alt2:        #f9f9f9;
  --c-dark:           #212121;
  --c-border:         #bebebe;
  --c-border-soft:    #e6e6e6;
  --c-overlay:        rgba(16, 16, 16, .9);

  --c-error:          #ff0000;
  --c-success:        #62c584;

  /* типографика */
  --font-base: 'TikTok Sans', 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  --font-title: var(--font-base);

  --fs-h1:      48px;
  --fs-h2:      32px;
  --fs-h3:      24px;
  --fs-h4:      20px;
  --fs-lead:    20px;
  --fs-base:    16px;
  --fs-sm:      15px;
  --fs-xs:      14px;
  --fs-xxs:     12px;

  /* сетка */
  --container:      1200px;
  --gutter:         20px;
  --grid-gap:       40px;

  /* прочее */
  --radius:         10px;
  --radius-sm:      5px;
  --radius-pill:    30px;
  --header-h:       120px;
  --shadow-card:    0 4px 20px rgba(0, 0, 0, .08);
  --shadow-pop:     0 10px 40px rgba(0, 0, 0, .25);
  --tr:             .2s ease-in-out;
}

/* --------------------------------------------------------------------------
   Сброс
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr), background-color var(--tr), border-color var(--tr), opacity var(--tr);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }

table { border-collapse: collapse; border-spacing: 0; }

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  top: -100px; left: 20px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */
.h1, h1 {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-heading);
}

.h2, h2 {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.23;
  color: var(--c-text);
}

.h3, h3 {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-primary);
}

.h4, h4 {
  font-family: var(--font-title);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}

.text-lead   { font-size: var(--fs-lead); font-weight: 400; line-height: 1.4; }
.text-muted  { color: var(--c-text-muted); }
.text-accent { color: var(--c-accent); }
.text-center { text-align: center; }
.nowrap      { white-space: nowrap; }
