/* ============================================================
   BASE.CSS — Reset, Global, Containers, Buttons
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ── Section label (overline) ──────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.section-label--light {
  color: var(--blue-light);
}

/* ── Section title ─────────────────────────────────────────── */
.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-title--white {
  color: var(--white);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: var(--shadow-md);
}

/* Secondary / Outline */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-mid);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Outline white (on dark bg) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Navy */
.btn-navy {
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-md);
}

/* Arrow icon inside buttons */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-base);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ── Tag pill ──────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ── Horizontal rule ───────────────────────────────────────── */
.hr {
  border: none;
  border-top: 1px solid var(--border);
}