/* components.css */

/* =========================
   NAVIGATION
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(237, 242, 246, .92);

  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);

  margin: auto;

  padding: 18px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-weight: 760;

  letter-spacing: -0.04em;

  color: var(--heading);
}

.brand::before {
  display: none;
  content: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  color: var(--muted);

  font-size: .92rem;
}

.nav-links a {
  transition:
    color .18s ease,
    opacity .18s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 13px 18px;

  border-radius: var(--radius-sm);

  border: 1px solid var(--line);

  font-size: .94rem;
  font-weight: 700;

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);

  color: white;

  border-color: var(--accent);
}

.btn-primary:hover {
  background: #2f5472;
}

.btn-secondary {
  background: #f9fbfc;

  color: var(--heading);
}

.btn-secondary:hover {
  background: white;
}

.nav-cta {
  background: var(--accent);

  color: white !important;

  padding: 9px 14px;

  border-radius: var(--radius-sm);

  font-weight: 650;
}

/* =========================
   LABELS
========================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  color: var(--accent);

  font-size: .78rem;
  font-weight: 760;

  letter-spacing: .12em;
  text-transform: uppercase;

  font-family: var(--font-mono);
}

.section-label::before {
  content: "";

  width: 28px;
  height: 1px;

  background: var(--brand-gradient);
}

/* =========================
   TAGS
========================= */

.eyebrow,
.micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eyebrow {
  margin-bottom: 22px;
}

.micro-tags {
  margin-top: 22px;
}

.eyebrow span,
.micro-tag {
  display: inline-block;

  padding: 6px 10px;

  border-radius: 6px;

  background: var(--warm);

  color: white;

  font-size: .72rem;
  font-weight: 750;

  line-height: 1.2;

  text-transform: uppercase;
  letter-spacing: .08em;

  font-family: var(--font-mono);
}

/* =========================
   CARDS
========================= */

.card {
  position: relative;

  overflow: hidden;

  padding: 24px;

  border-radius: 0 0 var(--radius-sm) var(--radius-sm);

  background: #f8fafb;

  transition:
    transform .18s ease,
    background .18s ease;
}

.card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: var(--brand-gradient);
}

.card:hover {
  transform: translateY(-2px);

  background: #fbfcfd;
}

.card-number {
  margin-bottom: 18px;

  color: var(--accent);

  font-size: .78rem;
  font-weight: 800;

  letter-spacing: .12em;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  line-height: 1.18;
}

/* =========================
   INFO BOX
========================= */

.info-box {
  position: relative;

  overflow: hidden;

  padding: 30px;

  border: 1px solid var(--line);
  border-left: 0;

  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

  background: #edf3f7;

  box-shadow: var(--shadow-card);
}

.info-box::before {
  content: "";

  position: absolute;

  inset: 0 auto 0 0;

  width: 4px;

  background: var(--brand-gradient-vertical);
}

/* =========================
   ICONS
========================= */

.icon-line {
  margin-bottom: 14px;

  color: var(--warm);

  font-size: 1.05rem;
}

/* =========================
   INSIGHTS / BLOG
========================= */

.insight-card {
  position: relative;

  overflow: hidden;

  border: 1px solid var(--line);

  background: #f9fbfc;

  border-radius: var(--radius-sm);
}

.insight-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: var(--brand-gradient);
}

.insight-img {
  width: 100%;

  aspect-ratio: 16 / 10;

  object-fit: cover;

  background: var(--surface-soft);
}

.insight-body {
  padding: 24px;
}

.insight-category {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--warm);

  font-size: .72rem;
  font-weight: 800;

  letter-spacing: .08em;
  text-transform: uppercase;

  font-family: var(--font-mono);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {

  .nav-links {
    display: none;
  }

}