/* ══════════════════════════════════════════
   BASE — Reset, Typography, Container
   ══════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary-900);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Section ── */
.section {
  padding: var(--space-3xl) 0;
}

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary-500);
  background: rgba(44,111,184,0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-900);
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-sec);
}

.catalog-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* ── Links in content ── */
.section a:not(.btn):not(.tag):not(.card-link):not(.nav-link):not(.badge) {
  color: var(--color-primary-500);
  font-weight: 600;
  transition: color var(--duration-fast) ease;
}

.section a:not(.btn):not(.tag):not(.card-link):not(.nav-link):not(.badge):hover {
  color: var(--color-primary);
}
