/* ============================================================
   ELHASSANE STUDIO - Home (formal workspace entry)
   ============================================================ */

.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.home-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 120%);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 40px);
  color: #fff;
  margin-bottom: clamp(24px, 3vw, 34px);
  border-top: 4px solid var(--brand-accent);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.home-banner-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--brand-accent-light);
  margin-bottom: 10px;
}

.home-banner-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-family: var(--font-english), var(--font-arabic), sans-serif;
}

.home-banner-sub {
  font-size: 15px;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.7;
}

.home-banner-hint {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.72);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.6;
}

.home-section {
  margin-bottom: clamp(24px, 3vw, 34px);
}

.home-section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.home-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.22s ease;
}

.home-quick:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.home-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}

.home-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.24s ease;
  text-align: center;
}

.home-tile:hover {
  border-color: #c7d2fe;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.home-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.home-tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.3;
}

.dark .home-tile,
.dark .home-quick {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

.dark .home-tile:hover,
.dark .home-quick:hover {
  border-color: #6366f1;
  color: #a5b4fc;
}

.dark .home-tile-icon {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.35);
}

.dark .home-tile-label {
  color: #e5e7eb;
}

.dark .home-section-title::after {
  background: #374151;
}