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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  background: var(--bg);
}

/* Якірні переходи не ховаються під sticky-навбаром */
[id] {
  scroll-margin-top: calc(var(--navbar-h, 60px) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.mobile-menu-open { overflow: hidden; }

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

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

ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(224, 90, 51, 0.55);
  margin-bottom: 14px;
}

.section-header .eyebrow {
  color: var(--accent);
}

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

/* Scrollbar — Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-card);
}

/* Scrollbar — Chrome / Edge / Safari */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}
