/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Sticky footer layout */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
}

/* Fonts */
@font-face {
  font-family: 'DINPro';
  src: url('../fonts/dinpro_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINPro';
  src: url('../fonts/dinpro.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINPro';
  src: url('../fonts/dinpro_medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINPro';
  src: url('../fonts/dinpro_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DINPro';
  src: url('../fonts/dinpro_black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Base */
:root {
  --font-primary: 'DINPro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  --color-bg: #ffffff;
  --color-text: #2F3030;
  --color-blue: #3A82C3;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

p {
  margin: 0;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  overflow-x: hidden;
}

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

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

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

/* Temporary test styles to verify font weights */
.test-font {
  padding: 24px;
  display: grid;
  gap: 8px;
}
.test-font .light { font-weight: 300; }
.test-font .regular { font-weight: 400; }
.test-font .medium { font-weight: 500; }
.test-font .bold { font-weight: 700; }
.test-font .black { font-weight: 900; }

/* Layout helpers */
.container-1435 {
  max-width: 1435px;
  margin-left: auto;
  margin-right: auto;
}

.container-1292 {
  max-width: 1292px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1450px) {
  .container-1435 {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
  }
  .container-1292 {
    max-width: 1190px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1200px) {
  .container-1435 {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  .container-1292 {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .container-1435 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  .container-1292 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .05s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
}

.btn--primary {
  background: #3A82C3;
  color: #fff;
}
.btn--primary:hover {
  background: #255fb6;
}
.btn--primary:active {
  transform: translateY(1px);
}

.btn--lg { 
  width: 276px;
  height: 48px;
  padding: 0 24px; 
  border-radius: 8px; 
}

@media (max-width: 768px) {
  .btn--lg {
    width: 100%;
  }
}

.btn--header {
    width: 216px;
    height: 48px;
}

.h52 {
  height: 52px;
}

.w187 {
  width: 187px;
}

@media screen and (max-width: 768px) {
  .w100mobile {
    width: 100%;
  }
}

.only-desktop {
  display: flex;
}

.only-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .only-desktop {
    display: none!important;
  }
  .only-mobile {
    display: flex!important;
  }
}

/* Block-specific styles moved to separate files: header.css and styles.css */

