/* ── PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 140px 0 110px;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,62,117,0.06) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 30%, rgba(90,144,184,0.04) 0%, transparent 45%),
              linear-gradient(160deg, var(--bg2) 0%, var(--bg) 100%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb1 { width: 400px; height: 400px; background: rgba(0,62,117,0.06); top: -80px; left: -80px; }
.orb2 { width: 300px; height: 300px; background: rgba(90,144,184,0.04); bottom: -60px; right: -60px; animation-delay: -4s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,62,117,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,62,117,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.5) 80%, transparent);
}
.page-hero-inner {
  position: relative; z-index: 2;
  width: 90%; max-width: 700px; margin: 0 auto;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 14px 0 20px; color: var(--text-dark);
}
.page-hero-sub { font-size: 16px; color: var(--muted); letter-spacing: 0.05em; }

/* ── SHARED CONTAINER ──────────────────────────────────── */
.container {
  width: 90%; max-width: 1100px; margin: 0 auto;
}

/* ── PRODUCT LIST HEADER ────────────────────────────────── */
.dl-list-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dl-back-btn {
  display: inline-flex; align-items: center;
  gap: 6px; padding: 8px 16px;
  background: transparent;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s, border-color 0.15s;
}
.dl-back-btn:hover { background: var(--primary-dim); border-color: var(--primary); }
.dl-list-title {
  font-size: 22px; font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

/* ── DOWNLOADS SECTION ─────────────────────────────────── */
.dl-section {
  padding: 80px 0 120px;
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
}

.dl-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-card {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,62,117,0.04);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.dl-card:hover {
  box-shadow: 0 8px 32px rgba(0,62,117,0.1);
  transform: translateY(-2px);
}

.dl-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg);
  cursor: pointer;
  user-select: none;
}
.dl-card-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--muted);
}
.dl-card-chevron svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.dl-card.open .dl-card-chevron { transform: rotate(180deg); }
.dl-card-img {
  width: 72px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.dl-card-info { flex: 1; min-width: 0; }
.dl-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.dl-card-tag {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.dl-file-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.dl-card.open .dl-file-list {
  max-height: 1200px;
  padding: 4px 0;
}
.dl-file-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.dl-file-item:last-child { border-bottom: none; }

.dl-file-info { display: flex; align-items: center; gap: 10px; }
.dl-file-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-file-icon svg { width: 16px; height: 16px; fill: var(--primary); }
.dl-file-label {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.dl-file-actions { display: flex; gap: 6px; padding-left: 44px; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  background: none;
  appearance: none;
  -webkit-appearance: none;
}
.dl-btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.dl-btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.dl-btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--glass-border);
}
.dl-btn-outline:hover { background: var(--primary-dim); border-color: var(--primary); }
.dl-btn svg { width: 12px; height: 12px; fill: currentColor; flex-shrink: 0; }

.dl-btn-contact {
  background: transparent;
  color: var(--accent);
  border-color: var(--glass-border);
}
.dl-btn-contact:hover { background: rgba(0,90,158,0.07); border-color: var(--accent); }

/* divider between doc files and software/support files */
.dl-section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 4px;
}
.dl-section-divider::before,
.dl-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}
.dl-section-divider span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* contact-type file item: slightly muted */
.dl-file-item--contact .dl-file-label { color: var(--muted); }
.dl-file-icon--mail { background: rgba(0,90,158,0.06); }
.dl-file-icon--mail svg { fill: var(--accent); }

@media (max-width: 768px) {
  .page-hero { padding: 80px 0 60px; }
  .dl-section { padding: 60px 0 80px; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-list-header { gap: 12px; margin-bottom: 24px; }
  .dl-list-title { font-size: 18px; }
}
