/* ══════════════════════════════════════════════════════
   CABIDOTS TECHNOLOGIES — css/base.css
   Reset, base typography, global utilities
   ══════════════════════════════════════════════════════ */

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.72;
  color: var(--text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.2; font-family: var(--font-display); }

/* ── Section eyebrow ────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section-eyebrow.light { color: var(--amber); }
.section-eyebrow.light::before { background: var(--amber); }

/* ── Section titles ─────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.section-title.light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

.section-header {
  margin-bottom: 56px;
}

.body-text {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-1); }
::-webkit-scrollbar-thumb {
  background: var(--navy-mid);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── Selection ─────────────────────────────────────── */
::selection {
  background: rgba(224,77,0,0.2);
  color: var(--navy-dark);
}
