/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: env(safe-area-inset-top, 0px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Defaults */
.section {
  padding: var(--section-padding);
}

/* Section Label (small text above heading) */
.section-label {
  font-size: 13px;
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  color: var(--color-gray-text);
  margin-bottom: 12px;
}

/* Section Title */
.section-title {
  font-size: 36px;
  line-height: 44px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #2a3547;
  transform: translateY(-2px);
}

.btn--red {
  background: var(--color-red);
}

.btn--red:hover {
  background: #c71f1b;
}

/* Utility */
.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  .section-title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 26px;
    line-height: 34px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 22px;
    line-height: 30px;
  }
}
