/* ============================================
   LOCAL WEBFONTS
   ============================================ */
/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.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: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.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: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.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: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCQSmrfB.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: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxC0SmrfB.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCUSmrfB.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCoSmrfB.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCYSmrfB.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCcSmrfB.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: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlOxCkSmg.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wIaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wsaZfrc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wMaZfrc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wwaZfrc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wAaZfrc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wEaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wIaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wsaZfrc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wMaZfrc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wwaZfrc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wAaZfrc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wEaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wIaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wsaZfrc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wMaZfrc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wwaZfrc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wAaZfrc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3wEaZfrc.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.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;
}



/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --yellow: #FFC629;
  --yellow-dark: #E5B024;
  --dark-gray: #4A4A4A;
  --darker-gray: #2D2D2D;
  --chrome-start: #C0C0C0;
  --chrome-mid: #E8E8E8;
  --chrome-end: #A8A8A8;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #777777;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-padding: 80px 0;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; outline: none; }
img, video { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--darker-gray);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}
.section-title::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--yellow);
  border-radius: 2px;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 400;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: rgba(45, 45, 45, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 12px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--darker-gray);
  transition: color var(--transition);
}
.header.scrolled .header-logo { color: var(--white); }

.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-gray);
  transition: color var(--transition);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}
.header-nav a:hover::after { width: 100%; }
.header.scrolled .header-nav a { color: rgba(255,255,255,0.75); }
.header.scrolled .header-nav a:hover { color: var(--yellow); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--darker-gray);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .burger span { background: var(--white); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 45, 45, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   HERO (Full Width Animated Background)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
  padding: 80px 24px 40px;
}

/* Фоновые изображения на весь экран */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
/* Анимация перетекания друг в друга с максимальной прозрачностью 50% */
.img-1924 {
  background-image: url('images/1924nrg.png');
  animation: heroBgFade1 8s infinite ease-in-out;
}
.img-2026 {
  background-image: url('images/2026nrg.png');
  animation: heroBgFade2 8s infinite ease-in-out;
}

@keyframes heroBgFade1 {
  0%, 40% { opacity: 0.5; }
  50%, 90% { opacity: 0; }
  100% { opacity: 0.5; }
}
@keyframes heroBgFade2 {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 0.5; }
  100% { opacity: 0; }
}

/* Легкий градиент поверх фона, чтобы текст и логотип выглядели контрастнее */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,198,41,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Центральный статичный логотип */
.hero-logo {
  position: relative;
  z-index: 2;
  width: clamp(240px, 50vw, 550px);
  margin-bottom: 24px;
  opacity: 0;
  animation: scaleIn 1s ease 0.3s forwards;
}
.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--darker-gray);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

/* ============================================
   NEWS
   ============================================ */
.news-section {
  padding: var(--section-padding);
  background: var(--darker-gray);
  color: var(--white);
}
.news-section .section-title { color: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--yellow);
}
.news-card:hover { 
  background: rgba(255,255,255,0.08); 
  transform: translateY(-4px);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
}
.news-preview {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}
.news-link {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition);
}
.news-link:hover { gap: 12px; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline-section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}
.timeline-header { padding-left: 16px; margin-bottom: 40px; }
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  padding: 20px 16px 40px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.timeline-track::-webkit-scrollbar { display: none; }
.timeline-track:active { cursor: grabbing; }

.timeline-inner {
  display: flex;
  position: relative;
  min-width: max-content;
  padding: 80px 40px;
}
.timeline-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 1;
}
.timeline-item {
  position: relative;
  width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  z-index: 2;
}
.timeline-item:nth-child(odd) { padding-bottom: 120px; align-self: flex-start; }
.timeline-item:nth-child(even) { padding-top: 120px; align-self: flex-end; }

.timeline-dot {
  width: 20px; height: 20px;
  background: var(--yellow);
  border: 4px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(255,198,41,0.25);
  transition: transform var(--transition);
}
.timeline-item:hover .timeline-dot { transform: translate(-50%, -50%) scale(1.3); }

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.timeline-card {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--card-shadow);
  width: 250px;
  transition: transform var(--transition);
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.timeline-card-img {
  width: 100%; height: 140px;
  background: #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.timeline-card-img img { width: 100%; height: 100%; object-fit: cover; }
.timeline-card-text { font-size: 0.85rem; line-height: 1.5; color: var(--dark-gray); }

/* ============================================
   100 FACES (STRICT GRID)
   ============================================ */
.faces-section {
  padding: var(--section-padding);
  background: var(--white);
}
.faces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.face-cell {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition);
  height: 100%;
}
.face-cell:hover { transform: scale(1.05); z-index: 2; }
.face-photo {
  width: 100%;
  aspect-ratio: 1; 
  background: #333;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}
.face-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.face-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,198,41,0.9), rgba(255,198,41,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--darker-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.face-cell:hover .face-overlay { opacity: 1; }

.face-nameplate {
  flex-grow: 1;
  background: var(--darker-gray);
  color: var(--white);
  padding: 8px 4px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   MODALS (FACES & NEWS) & SHARE BUTTONS
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-backdrop.open { display: flex; opacity: 1; }

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.modal-backdrop.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark-gray);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}
.modal-close:hover { background: var(--yellow); }

.modal-photo {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.modal-photo video, .modal-photo img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain; 
}
.modal-body { padding: 24px; }
.modal-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.modal-role {
  font-size: 0.9rem;
  color: var(--yellow-dark);
  font-weight: 600;
  margin-bottom: 16px;
}
.modal-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-gray);
}
.modal-text ul { padding-left: 20px; margin: 10px 0; }

/* Блок "Поделиться" */
.modal-share {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
}
.modal-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.share-btn svg { width: 20px; height: 20px; fill: var(--white); }

/* Telegram */
.share-btn.tg { background: #2AABEE; }
.share-btn.tg:hover { background: #229ED9; transform: translateY(-3px); }

/* Max */
.share-btn.max { 
  background: #000000; 
  font-family: var(--font-heading); 
  font-weight: 700; 
  font-size: 14px; 
  letter-spacing: 0.05em;
}
.share-btn.max:hover { background: #333333; transform: translateY(-3px); }


/* ============================================
   PEOPLE (DYNASTIES)
   ============================================ */
.people-section {
  padding: var(--section-padding);
  background: var(--darker-gray);
  color: var(--white);
}
.people-section .section-title { color: var(--white); }

.dynasties {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dynasty-card {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  align-items: stretch;
}
.dynasty-photo {
  width: 320px;
  flex-shrink: 0;
  background: #333;
}
.dynasty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}
.dynasty-body { 
  padding: 32px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  flex-grow: 1;
}
.dynasty-family {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--yellow);
}
.dynasty-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.dynasty-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  padding-left: 16px;
  border-left: 3px solid var(--yellow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a1a1a;
  padding: 40px 0 24px;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--yellow); }
.footer-desc { font-size: 0.85rem; line-height: 1.5; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.85rem; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ============================================
   ANIMATIONS & RESPONSIVE
   ============================================ */
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dynasty-card { flex-direction: column; }
  .dynasty-photo { width: 100%; height: 260px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }
  .header-nav { display: none; }
  .burger { display: flex; }
  .faces-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline-item { width: 240px; min-width: 240px; }
  .dynasty-body { padding: 24px; }
}

@media (max-width: 480px) {
  .faces-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .hero { padding: 100px 16px 40px; }
  .news-card-img { height: 180px; }
}

